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

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

Issue 396703002: Makes Embed() take a single node (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 6 years, 5 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/root_node_manager.h
diff --git a/mojo/services/view_manager/root_node_manager.h b/mojo/services/view_manager/root_node_manager.h
index b2f21a74bcfeba931b37a9dd020c143500dc7534..62932abf2e607b30f371fcfc5f16ed62b06f8ffe 100644
--- a/mojo/services/view_manager/root_node_manager.h
+++ b/mojo/services/view_manager/root_node_manager.h
@@ -101,10 +101,10 @@ class MOJO_VIEW_MANAGER_EXPORT RootNodeManager
void EmbedRoot(const std::string& url);
// See description of ViewManagerService::Embed() for details. This assumes
- // |node_ids| has been validated.
+ // |transport_node_id| is valid.
void Embed(ConnectionSpecificId creator_id,
const String& url,
- const Array<Id>& node_ids);
+ Id transport_node_id);
// Returns the connection by id.
ViewManagerServiceImpl* GetConnection(ConnectionSpecificId connection_id);
@@ -185,8 +185,8 @@ class MOJO_VIEW_MANAGER_EXPORT RootNodeManager
// Implementation of the two embed variants.
ViewManagerServiceImpl* EmbedImpl(ConnectionSpecificId creator_id,
- const String& url,
- const Array<Id>& node_ids);
+ const String& url,
+ const NodeId& root_id);
// Overridden from NodeDelegate:
virtual void OnNodeDestroyed(const Node* node) OVERRIDE;
« no previous file with comments | « mojo/services/public/interfaces/view_manager/view_manager.mojom ('k') | mojo/services/view_manager/root_node_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698