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

Unified Diff: ui/views/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/views/mus/clipboard_mus.cc ('k') | ui/views/mus/screen_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/input_method_mus.cc
diff --git a/ui/views/mus/input_method_mus.cc b/ui/views/mus/input_method_mus.cc
index cf1359b1102f783b1250997cef0974ae6cf53362..d21c7807989cc2a3fecef48d1b12855a4ffe8094 100644
--- a/ui/views/mus/input_method_mus.cc
+++ b/ui/views/mus/input_method_mus.cc
@@ -7,6 +7,7 @@
#include <utility>
#include "services/ui/public/cpp/window.h"
+#include "services/ui/public/interfaces/constants.mojom.h"
#include "services/ui/public/interfaces/ime.mojom.h"
#include "ui/base/ime/text_input_client.h"
#include "ui/events/event.h"
@@ -30,7 +31,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/views/mus/clipboard_mus.cc ('k') | ui/views/mus/screen_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698