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

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

Issue 668483002: Change mojo URLs from mojo://mojo_foo to mojo://foo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 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/window_manager/window_manager.cc
diff --git a/mojo/examples/window_manager/window_manager.cc b/mojo/examples/window_manager/window_manager.cc
index 057ba6767c9221a1d2a64ebce83d3747dc15db88..e2bb237e57a44bc6b8e330f036c5669f919d9459 100644
--- a/mojo/examples/window_manager/window_manager.cc
+++ b/mojo/examples/window_manager/window_manager.cc
@@ -160,8 +160,8 @@ class KeyboardManager : public KeyboardClient,
view_ = View::Create(view_manager);
view_->SetBounds(bounds);
parent->AddChild(view_);
- view_->Embed("mojo:mojo_keyboard");
- application->ConnectToService("mojo:mojo_keyboard", &keyboard_service_);
+ view_->Embed("mojo:keyboard");
+ application->ConnectToService("mojo:keyboard", &keyboard_service_);
keyboard_service_.set_client(this);
parent->AddObserver(this);
}
@@ -490,7 +490,7 @@ class WindowManager
bounds.Inset(kBorderInset, kBorderInset);
bounds.set_height(kTextfieldHeight);
launcher_ui_ = CreateWindow(bounds);
- launcher_ui_->Embed("mojo:mojo_browser");
+ launcher_ui_->Embed("mojo:browser");
return launcher_ui_->view()->id();
}

Powered by Google App Engine
This is Rietveld 408576698