diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-12 09:17:16 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-12 09:17:16 +0000 |
commit | cc04a159cd1ef9daa7f35257372f1f432ffd2162 (patch) | |
tree | 3d9e97736c91ab527f8e687e6215f42b1a04780a /chrome/browser/ui/libgtk2ui/gtk2_ui.cc | |
parent | 5bcc8054cad35c87a449e9eb9c9401155dcbde00 (diff) | |
download | chromium_src-cc04a159cd1ef9daa7f35257372f1f432ffd2162.zip chromium_src-cc04a159cd1ef9daa7f35257372f1f432ffd2162.tar.gz chromium_src-cc04a159cd1ef9daa7f35257372f1f432ffd2162.tar.bz2 |
Linux Aura: Notify the window manager when a new browser instance opens in an existing window.
BUG=326033
TEST=manual, see bug.
Review URL: https://codereview.chromium.org/153203003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250656 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/libgtk2ui/gtk2_ui.cc')
-rw-r--r-- | chrome/browser/ui/libgtk2ui/gtk2_ui.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/ui/libgtk2ui/gtk2_ui.cc b/chrome/browser/ui/libgtk2ui/gtk2_ui.cc index 43e3ca2..c84955e 100644 --- a/chrome/browser/ui/libgtk2ui/gtk2_ui.cc +++ b/chrome/browser/ui/libgtk2ui/gtk2_ui.cc @@ -661,6 +661,12 @@ bool Gtk2UI::UnityIsRunning() { return unity::IsRunning(); } +void Gtk2UI::NotifyWindowManagerStartupComplete() { + // TODO(port) Implement this using _NET_STARTUP_INFO_BEGIN/_NET_STARTUP_INFO + // from http://standards.freedesktop.org/startup-notification-spec/ instead. + gdk_notify_startup_complete(); +} + void Gtk2UI::GetScrollbarColors(GdkColor* thumb_active_color, GdkColor* thumb_inactive_color, GdkColor* track_color) { |