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

Unified Diff: ui/v2/public/view_observer.h

Issue 25757007: V2: Implement reparenting, bounds and visibility change notifications, and write more tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 2 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
Index: ui/v2/public/view_observer.h
diff --git a/ui/v2/public/view_observer.h b/ui/v2/public/view_observer.h
index 9fcceb08c59e96fa9c76843c373103ae2bb55bad..cb26b4b37bb42ece88b934b6c911c5641810f22d 100644
--- a/ui/v2/public/view_observer.h
+++ b/ui/v2/public/view_observer.h
@@ -52,14 +52,14 @@ class V2_EXPORT ViewObserver {
// Disposition.
- virtual void OnViewDestroying() {}
- virtual void OnViewDestroyed() {}
+ virtual void OnViewDestroy(View* view, DispositionChangePhase phase) {}
- virtual void OnViewBoundsChanged(const gfx::Rect& old_bounds,
+ virtual void OnViewBoundsChanged(View* view,
+ const gfx::Rect& old_bounds,
const gfx::Rect& new_bounds) {}
- virtual void OnViewVisibilityChanging() {}
- virtual void OnViewVisibilityChanged() {}
+ virtual void OnViewVisibilityChange(View* view,
+ DispositionChangePhase phase) {}
protected:
virtual ~ViewObserver() {}
« no previous file with comments | « ui/v2/public/view.h ('k') | ui/v2/src/layout.cc » ('j') | ui/v2/src/view_private.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698