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

Unified Diff: mojo/services/view_manager/node_delegate.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.cc ('k') | mojo/services/view_manager/root_node_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/view_manager/node_delegate.h
diff --git a/mojo/services/view_manager/node_delegate.h b/mojo/services/view_manager/node_delegate.h
index 8550e1de49fb092554c071c610bca972474ba626..1079dd88cacf9b99fe567c928f9e4eecdf516dd3 100644
--- a/mojo/services/view_manager/node_delegate.h
+++ b/mojo/services/view_manager/node_delegate.h
@@ -11,20 +11,20 @@ namespace mojo {
namespace view_manager {
namespace service {
-struct NodeId;
-struct ViewId;
+class Node;
+class View;
class MOJO_VIEW_MANAGER_EXPORT NodeDelegate {
public:
// Invoked when the hierarchy has changed.
- virtual void OnNodeHierarchyChanged(const NodeId& node,
- const NodeId& new_parent,
- const NodeId& old_parent) = 0;
+ virtual void OnNodeHierarchyChanged(const Node* node,
+ const Node* new_parent,
+ const Node* old_parent) = 0;
// Invoked when the View associated with a node changes.
- virtual void OnNodeViewReplaced(const NodeId& node,
- const ViewId& new_view_id,
- const ViewId& old_view_id) = 0;
+ virtual void OnNodeViewReplaced(const Node* node,
+ const View* new_view,
+ const View* old_view) = 0;
protected:
virtual ~NodeDelegate() {}
« no previous file with comments | « mojo/services/view_manager/node.cc ('k') | mojo/services/view_manager/root_node_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698