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

Unified Diff: mojo/services/view_manager/root_node_manager.h

Issue 284113008: Cleanup of ViewManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge to trunk Created 6 years, 7 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 | « mojo/services/view_manager/node_delegate.h ('k') | mojo/services/view_manager/root_node_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/view_manager/root_node_manager.h
diff --git a/mojo/services/view_manager/root_node_manager.h b/mojo/services/view_manager/root_node_manager.h
index 321faf752bc85534877b8f5b687cdb095354da51..75ad4e0ba31afee4172c6356a4fd4834d836b622 100644
--- a/mojo/services/view_manager/root_node_manager.h
+++ b/mojo/services/view_manager/root_node_manager.h
@@ -82,12 +82,12 @@ class MOJO_VIEW_MANAGER_EXPORT RootNodeManager : public NodeDelegate {
// These functions trivially delegate to all ViewManagerConnections, which in
// term notify their clients.
- void ProcessNodeHierarchyChanged(const NodeId& node,
- const NodeId& new_parent,
- const NodeId& old_parent);
- void ProcessNodeViewReplaced(const NodeId& node,
- const ViewId& new_view_id,
- const ViewId& old_view_id);
+ void ProcessNodeHierarchyChanged(const Node* node,
+ const Node* new_parent,
+ const Node* old_parent);
+ void ProcessNodeViewReplaced(const Node* node,
+ const View* new_view_id,
+ const View* old_view_id);
void ProcessNodeDeleted(const NodeId& node);
void ProcessViewDeleted(const ViewId& view);
@@ -117,12 +117,12 @@ class MOJO_VIEW_MANAGER_EXPORT RootNodeManager : public NodeDelegate {
}
// Overriden from NodeDelegate:
- virtual void OnNodeHierarchyChanged(const NodeId& node,
- const NodeId& new_parent,
- const NodeId& old_parent) OVERRIDE;
- virtual void OnNodeViewReplaced(const NodeId& node,
- const ViewId& new_view_id,
- const ViewId& old_view_id) OVERRIDE;
+ virtual void OnNodeHierarchyChanged(const Node* node,
+ const Node* new_parent,
+ const Node* old_parent) OVERRIDE;
+ virtual void OnNodeViewReplaced(const Node* node,
+ const View* new_view,
+ const View* old_view) OVERRIDE;
Context context_;
« no previous file with comments | « mojo/services/view_manager/node_delegate.h ('k') | mojo/services/view_manager/root_node_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698