diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-15 18:44:51 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-15 18:44:51 +0000 |
commit | f941f47a837bc6d98937acc6a13603bb7c06d286 (patch) | |
tree | 50585ebe530e0a03029c84654a77658d43e27f52 /ui/aura/window_observer.h | |
parent | 6c32a71b9847fddb0946677ee926f88fd340691c (diff) | |
download | chromium_src-f941f47a837bc6d98937acc6a13603bb7c06d286.zip chromium_src-f941f47a837bc6d98937acc6a13603bb7c06d286.tar.gz chromium_src-f941f47a837bc6d98937acc6a13603bb7c06d286.tar.bz2 |
Wires keeping the launcher up to date with the browser. I also needed GetBrowserViewForNativeWindow, so I had to wire up ViewProps for it to work correctly.
BUG=97262
TEST=none
R=ben@chromium.org
Review URL: http://codereview.chromium.org/8289022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105677 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/window_observer.h')
-rw-r--r-- | ui/aura/window_observer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/aura/window_observer.h b/ui/aura/window_observer.h index fd71a5f..224f0d0 100644 --- a/ui/aura/window_observer.h +++ b/ui/aura/window_observer.h @@ -20,6 +20,11 @@ class AURA_EXPORT WindowObserver { // Invoked prior to removing |window|. virtual void OnWillRemoveWindow(Window* window) {} + // Invoked when the SetVisible() is invoked on a window. |visible| is the + // value supplied to SetVisible(). If |visible| is true, window->IsVisible() + // may still return false. See description in Window::IsVisible() for details. + virtual void OnWindowVisibilityChanged(Window* window, bool visibile) {} + protected: virtual ~WindowObserver() {} }; |