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

Unified Diff: mojo/examples/demo_launcher/demo_launcher.cc

Issue 328873002: Renames view manager Connect methods to Embed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mispelling Created 6 years, 6 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/examples/demo_launcher/demo_launcher.cc
diff --git a/mojo/examples/demo_launcher/demo_launcher.cc b/mojo/examples/demo_launcher/demo_launcher.cc
index def2e4d457819c81916928e731eddb97cbc658f1..134038ac9ab49234dfaedeb29bf2d3999ff339d6 100644
--- a/mojo/examples/demo_launcher/demo_launcher.cc
+++ b/mojo/examples/demo_launcher/demo_launcher.cc
@@ -21,9 +21,9 @@ class DemoLauncher : public Application {
virtual void Initialize() MOJO_OVERRIDE {
ConnectTo<view_manager::IViewManagerInit>("mojo:mojo_view_manager",
&view_manager_init_);
- view_manager_init_->Connect("mojo:mojo_window_manager",
- base::Bind(&DemoLauncher::OnConnect,
- base::Unretained(this)));
+ view_manager_init_->EmbedRoot("mojo:mojo_window_manager",
+ base::Bind(&DemoLauncher::OnConnect,
+ base::Unretained(this)));
}
void OnConnect(bool success) {}
« no previous file with comments | « mojo/examples/aura_demo/view_manager_init.cc ('k') | mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698