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

Unified Diff: ash/mus/accelerators/accelerator_controller_delegate_mus.cc

Issue 2390013002: Rename mojo: to service: (Closed)
Patch Set: . Created 4 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: ash/mus/accelerators/accelerator_controller_delegate_mus.cc
diff --git a/ash/mus/accelerators/accelerator_controller_delegate_mus.cc b/ash/mus/accelerators/accelerator_controller_delegate_mus.cc
index 07227db57530023f7379a3b0865d47255efe1f67..28e9d97dab94243246238ee4bf0d1015dd0a2b7a 100644
--- a/ash/mus/accelerators/accelerator_controller_delegate_mus.cc
+++ b/ash/mus/accelerators/accelerator_controller_delegate_mus.cc
@@ -53,7 +53,7 @@ bool AcceleratorControllerDelegateMus::HandlesAction(AcceleratorAction action) {
#if defined(OS_CHROMEOS)
case DEV_ADD_REMOVE_DISPLAY: {
display::mojom::DisplayControllerPtr display_controller;
- connector_->ConnectToInterface("mojo:ui", &display_controller);
+ connector_->ConnectToInterface("service:ui", &display_controller);
display_controller->ToggleVirtualDisplay();
return true;
}
@@ -71,7 +71,7 @@ bool AcceleratorControllerDelegateMus::HandlesAction(AcceleratorAction action) {
return false;
case TOUCH_HUD_PROJECTION_TOGGLE: {
mash::mojom::LaunchablePtr launchable;
- connector_->ConnectToInterface("mojo:touch_hud", &launchable);
+ connector_->ConnectToInterface("service:touch_hud", &launchable);
launchable->Launch(mash::mojom::kWindow,
mash::mojom::LaunchMode::DEFAULT);
return true;
« no previous file with comments | « ash/common/system/tray/system_tray_controller.cc ('k') | ash/mus/accelerators/accelerator_registrar_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698