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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/aura/window_observer.h b/ui/aura/window_observer.h
index 4d048c0..5e1e988 100644
--- a/ui/aura/window_observer.h
+++ b/ui/aura/window_observer.h
@@ -20,6 +20,10 @@ class AURA_EXPORT WindowObserver {
// Invoked prior to removing |window|.
virtual void OnWillRemoveWindow(Window* window) {}
+ // Invoked when |SetProperty| or |SetIntProperty| is called on |window|.
+ // |old| is the old property value.
+ virtual void OnPropertyChanged(Window* window, const char* key, void* old) {}
+
// 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.