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

Unified Diff: ui/aura/mus/input_method_mus.cc

Issue 2503063003: Add service name constant for UI service. (Closed)
Patch Set: . Created 4 years, 1 month 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 | « ui/aura/mus/gpu_service.cc ('k') | ui/aura/mus/window_tree_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/input_method_mus.cc
diff --git a/ui/aura/mus/input_method_mus.cc b/ui/aura/mus/input_method_mus.cc
index 9df87c5c84f44afb8e3dde8459fadb2e2e66c6d0..4904357244760e1ea76b8a646ee6ff19e4c3d039 100644
--- a/ui/aura/mus/input_method_mus.cc
+++ b/ui/aura/mus/input_method_mus.cc
@@ -6,6 +6,7 @@
#include <utility>
+#include "services/ui/public/interfaces/constants.mojom.h"
#include "services/ui/public/interfaces/ime.mojom.h"
#include "services/ui/public/interfaces/window_tree_constants.mojom.h"
#include "ui/aura/mus/text_input_client_impl.h"
@@ -32,7 +33,7 @@ InputMethodMus::InputMethodMus(ui::internal::InputMethodDelegate* delegate,
InputMethodMus::~InputMethodMus() {}
void InputMethodMus::Init(service_manager::Connector* connector) {
- connector->ConnectToInterface("ui", &ime_server_);
+ connector->ConnectToInterface(ui::mojom::kServiceName, &ime_server_);
}
void InputMethodMus::DispatchKeyEvent(
« no previous file with comments | « ui/aura/mus/gpu_service.cc ('k') | ui/aura/mus/window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698