summaryrefslogtreecommitdiffstats
path: root/ui/aura/window_observer.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/aura/window_observer.h')
-rw-r--r--ui/aura/window_observer.h5
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() {}
};