summaryrefslogtreecommitdiffstats
path: root/ui/aura/window_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/aura/window_delegate.h')
-rw-r--r--ui/aura/window_delegate.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/aura/window_delegate.h b/ui/aura/window_delegate.h
index 6247b89..c3b79e2 100644
--- a/ui/aura/window_delegate.h
+++ b/ui/aura/window_delegate.h
@@ -75,7 +75,10 @@ class AURA_EXPORT WindowDelegate {
// The delegate can use this as an opportunity to delete itself if necessary.
virtual void OnWindowDestroyed() = 0;
- // Called when the visibility of a Window changed.
+ // Called when the visibility of a Window changes. See description in
+ // WindowObserver::OnWindowDestroyed() for details.
+ // TODO: this should be renamed to OnWindowTargetVisibilityChanged() to
+ // match when it's sent.
virtual void OnWindowVisibilityChanged(bool visible) = 0;
protected: