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

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: serialization 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 93303369fb0178b757351520c3682f3357f3bfcc..809311fd2ecfd9b30386591f2f8b6b22a5787037 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 OnConnectionEstablished(
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