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

Unified Diff: services/ui/ime/ime_server_impl.cc

Issue 2230393002: IME for Mus: Make InputMethodMus use the IME Mojo API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update mash_browser_tests_manifest. Created 4 years, 4 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
« no previous file with comments | « services/ui/ime/ime_server_impl.h ('k') | services/ui/ime/ime_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ime/ime_server_impl.cc
diff --git a/services/ui/ime/ime_server_impl.cc b/services/ui/ime/ime_server_impl.cc
index b295f4010b2f64519f58eb1ab9546bb22c1dc170..c5895a2d024ce282575118b12dc25a909cf8c996 100644
--- a/services/ui/ime/ime_server_impl.cc
+++ b/services/ui/ime/ime_server_impl.cc
@@ -4,6 +4,7 @@
#include "services/ui/ime/ime_server_impl.h"
+#include "services/shell/public/cpp/connector.h"
#include "services/ui/ime/ime_registrar_impl.h"
namespace ui {
@@ -12,6 +13,12 @@ IMEServerImpl::IMEServerImpl() : current_id_(0) {}
IMEServerImpl::~IMEServerImpl() {}
+void IMEServerImpl::Init(shell::Connector* connector) {
+ // TODO(moshayedi): crbug.com/641041. Look up the driver from the mojo:catalog
+ // service.
+ connector->Connect("mojo:test_ime_driver");
+}
+
void IMEServerImpl::AddBinding(mojom::IMEServerRequest request) {
bindings_.AddBinding(this, std::move(request));
}
« no previous file with comments | « services/ui/ime/ime_server_impl.h ('k') | services/ui/ime/ime_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698