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 /ui/views/linux_ui | |
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 'ui/views/linux_ui')
-rw-r--r-- | ui/views/linux_ui/linux_ui.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/views/linux_ui/linux_ui.h b/ui/views/linux_ui/linux_ui.h index ef5a332..7e73e45 100644 --- a/ui/views/linux_ui/linux_ui.h +++ b/ui/views/linux_ui/linux_ui.h @@ -5,6 +5,8 @@ #ifndef UI_VIEWS_LINUX_UI_LINUX_UI_H_ #define UI_VIEWS_LINUX_UI_LINUX_UI_H_ +#include <string> + #include "third_party/skia/include/core/SkColor.h" #include "ui/base/ime/linux/linux_input_method_context_factory.h" #include "ui/gfx/linux_font_delegate.h" @@ -118,6 +120,12 @@ class VIEWS_EXPORT LinuxUI : public ui::LinuxInputMethodContextFactory, // Determines whether the user's window manager is Unity. virtual bool UnityIsRunning() = 0; + + // Notifies the window manager that start up has completed. + // Normally Chromium opens a new window on startup and GTK does this + // automatically. In case Chromium does not open a new window on startup, + // e.g. an existing browser window already exists, this should be called. + virtual void NotifyWindowManagerStartupComplete() = 0; }; } // namespace views |