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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/aura/window_observer.h b/ui/aura/window_observer.h
index f3ecabc..4d048c0 100644
--- a/ui/aura/window_observer.h
+++ b/ui/aura/window_observer.h
@@ -25,6 +25,9 @@ class AURA_EXPORT WindowObserver {
// may still return false. See description in Window::IsVisible() for details.
virtual void OnWindowVisibilityChanged(Window* window, bool visible) {}
+ // Invoked when the Window has been destroyed (i.e. from its destructor).
+ virtual void OnWindowDestroyed(Window* window) {}
+
protected:
virtual ~WindowObserver() {}
};