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

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

Issue 277563006: Introduces another change id to hierarchy mutations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge 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
Index: mojo/services/view_manager/view_manager_connection.h
diff --git a/mojo/services/view_manager/view_manager_connection.h b/mojo/services/view_manager/view_manager_connection.h
index 2ccbe8e7f31ae5e9dbc4230c5877a984b05be078..f7062bc1e77211fb631867dc778d2b16268e8a11 100644
--- a/mojo/services/view_manager/view_manager_connection.h
+++ b/mojo/services/view_manager/view_manager_connection.h
@@ -54,12 +54,15 @@ class MOJO_VIEW_MANAGER_EXPORT ViewManagerConnection
void NotifyNodeHierarchyChanged(const NodeId& node,
const NodeId& new_parent,
const NodeId& old_parent,
- TransportChangeId change_id);
+ TransportChangeId server_change_id,
+ TransportChangeId client_change_id);
void NotifyNodeViewReplaced(const NodeId& node,
const ViewId& new_view_id,
const ViewId& old_view_id,
- TransportChangeId change_id);
- void NotifyNodeDeleted(const NodeId& node, TransportChangeId change_id);
+ TransportChangeId client_change_id);
+ void NotifyNodeDeleted(const NodeId& node,
+ TransportChangeId server_change_id,
+ TransportChangeId client_change_id);
private:
typedef std::map<TransportConnectionSpecificNodeId, Node*> NodeMap;
@@ -91,11 +94,13 @@ class MOJO_VIEW_MANAGER_EXPORT ViewManagerConnection
const Callback<void(bool)>& callback) OVERRIDE;
virtual void AddNode(TransportNodeId parent_id,
TransportNodeId child_id,
- TransportChangeId change_id,
+ TransportChangeId server_change_id,
+ TransportChangeId client_change_id,
const Callback<void(bool)>& callback) OVERRIDE;
virtual void RemoveNodeFromParent(
TransportNodeId node_id,
- TransportChangeId change_id,
+ TransportChangeId server_change_id,
+ TransportChangeId client_change_id,
const Callback<void(bool)>& callback) OVERRIDE;
virtual void GetNodeTree(
TransportNodeId node_id,
« no previous file with comments | « mojo/services/view_manager/root_node_manager.cc ('k') | mojo/services/view_manager/view_manager_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698