Index: mojo/services/view_manager/connection_manager.h |
diff --git a/mojo/services/view_manager/connection_manager.h b/mojo/services/view_manager/connection_manager.h |
index 08202083b8535c45bd1743b8bb2424117165b9d8..a482db4a353ce40e69b40af5b14229fc39233007 100644 |
--- a/mojo/services/view_manager/connection_manager.h |
+++ b/mojo/services/view_manager/connection_manager.h |
@@ -125,6 +125,9 @@ class MOJO_VIEW_MANAGER_EXPORT ConnectionManager : public ServerViewDelegate { |
void ProcessViewBoundsChanged(const ServerView* view, |
const gfx::Rect& old_bounds, |
const gfx::Rect& new_bounds); |
+ void ProcessWillChangeViewHierarchy(const ServerView* view, |
+ const ServerView* new_parent, |
+ const ServerView* old_parent); |
void ProcessViewHierarchyChanged(const ServerView* view, |
const ServerView* new_parent, |
const ServerView* old_parent); |
@@ -167,6 +170,9 @@ class MOJO_VIEW_MANAGER_EXPORT ConnectionManager : public ServerViewDelegate { |
// Overridden from ServerViewDelegate: |
virtual void OnViewDestroyed(const ServerView* view) OVERRIDE; |
+ virtual void OnWillChangeViewHierarchy(const ServerView* view, |
+ const ServerView* new_parent, |
+ const ServerView* old_parent) OVERRIDE; |
virtual void OnViewHierarchyChanged(const ServerView* view, |
const ServerView* new_parent, |
const ServerView* old_parent) OVERRIDE; |
@@ -174,6 +180,7 @@ class MOJO_VIEW_MANAGER_EXPORT ConnectionManager : public ServerViewDelegate { |
const gfx::Rect& old_bounds, |
const gfx::Rect& new_bounds) OVERRIDE; |
virtual void OnViewBitmapChanged(const ServerView* view) OVERRIDE; |
+ virtual void OnWillChangeViewVisibility(const ServerView* view) OVERRIDE; |
Context context_; |