Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(580)

Unified Diff: ui/aura/window_observer.h

Issue 558203002: Propagate window transformed notification to child hierarchy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a comment Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/window.cc ('k') | ui/aura/window_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_observer.h
diff --git a/ui/aura/window_observer.h b/ui/aura/window_observer.h
index 9aaeca8f9578f5ef79ee651c7d256676ebf1a692..38e4170abd05a644f6aed1045f48dc0928e9eea9 100644
--- a/ui/aura/window_observer.h
+++ b/ui/aura/window_observer.h
@@ -82,6 +82,11 @@ class AURA_EXPORT WindowObserver {
virtual void OnWindowTransforming(Window* window) {}
virtual void OnWindowTransformed(Window* window) {}
+ // Invoked when SetTransform() is invoked on an |ancestor| of the |window|
+ // being observed. Note that this will also be invoked on the |ancestor|
+ // observers.
+ virtual void OnAncestorWindowTransformed(Window* window, Window* ancestor) {}
sky 2014/09/10 15:13:27 Can you swap the order of these and rename ancesto
mohsen 2014/09/10 15:48:59 Done.
+
// Invoked when |window|'s position among its siblings in the stacking order
// has changed.
virtual void OnWindowStackingChanged(Window* window) {}
« no previous file with comments | « ui/aura/window.cc ('k') | ui/aura/window_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698