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

Unified Diff: mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h

Issue 294833002: Mojo: more idiomatic C++ bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/public/cpp/view_manager/lib/view_manager_synchronizer.h
diff --git a/mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h b/mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h
index 73a75ae7a7e5b88d48a375391040312d33d9b5b4..8e286b10be5209a36698e21e7a10a92884661555 100644
--- a/mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h
+++ b/mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h
@@ -69,18 +69,18 @@ class ViewManagerSynchronizer : public IViewManagerClient {
virtual void OnViewManagerConnectionEstablished(
TransportConnectionId connection_id,
TransportChangeId next_server_change_id,
- const mojo::Array<INode>& nodes) OVERRIDE;
+ mojo::Array<INodePtr> nodes) OVERRIDE;
virtual void OnServerChangeIdAdvanced(
uint32_t next_server_change_id) OVERRIDE;
virtual void OnNodeBoundsChanged(uint32 node_id,
- const Rect& old_bounds,
- const Rect& new_bounds) OVERRIDE;
+ RectPtr old_bounds,
+ RectPtr new_bounds) OVERRIDE;
virtual void OnNodeHierarchyChanged(
uint32 node_id,
uint32 new_parent_id,
uint32 old_parent_id,
TransportChangeId server_change_id,
- const mojo::Array<INode>& nodes) OVERRIDE;
+ mojo::Array<INodePtr> nodes) OVERRIDE;
virtual void OnNodeDeleted(TransportNodeId node_id,
TransportChangeId server_change_id) OVERRIDE;
virtual void OnNodeViewReplaced(uint32_t node,

Powered by Google App Engine
This is Rietveld 408576698