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

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: fix windows bustage 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 71200d05c09e8c1d247d9e3c7c2f65d1f585e8c8..d29409cf981f6b20a6d358d16487a204c89af013 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