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

Unified Diff: mojo/examples/aura_demo/view_manager_init.cc

Issue 405163002: Add EmbedRoot to ViewManagerService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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
« no previous file with comments | « no previous file | mojo/examples/demo_launcher/demo_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/aura_demo/view_manager_init.cc
diff --git a/mojo/examples/aura_demo/view_manager_init.cc b/mojo/examples/aura_demo/view_manager_init.cc
index 41301932ba4b7c8eb968f9771a53791b75207cd5..d6414cb79ce6aabb360e8befdc37468a9a48faa0 100644
--- a/mojo/examples/aura_demo/view_manager_init.cc
+++ b/mojo/examples/aura_demo/view_manager_init.cc
@@ -20,9 +20,9 @@ class ViewManagerInit : public ApplicationDelegate {
virtual void Initialize(ApplicationImpl* app) MOJO_OVERRIDE {
app->ConnectToService("mojo:mojo_view_manager", &view_manager_init_);
- view_manager_init_->EmbedRoot("mojo:mojo_aura_demo",
- base::Bind(&ViewManagerInit::DidConnect,
- base::Unretained(this)));
+ view_manager_init_->Embed("mojo:mojo_aura_demo",
+ base::Bind(&ViewManagerInit::DidConnect,
+ base::Unretained(this)));
}
private:
« no previous file with comments | « no previous file | mojo/examples/demo_launcher/demo_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698