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

Unified Diff: mash/session/session.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: Rebased. 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
Index: mash/session/session.cc
diff --git a/mash/session/session.cc b/mash/session/session.cc
index ff3753606d5111d3037afc00f6b15ad4721faeda..1c0e3761f5637fbe6eb42818307fd8d137ad9d25 100644
--- a/mash/session/session.cc
+++ b/mash/session/session.cc
@@ -31,6 +31,7 @@ void Session::OnStart(const shell::Identity& identity) {
StartAppDriver();
StartWindowManager();
StartQuickLaunch();
+ StartIMEDriver();
// Launch a chrome window for dev convience; don't do this in the long term.
connector()->Connect("exe:chrome");
}
@@ -109,6 +110,12 @@ void Session::StartQuickLaunch() {
base::Unretained(this)));
}
+void Session::StartIMEDriver() {
+ StartRestartableService(
sky 2016/08/18 23:43:07 Do we really need the Ime service to be restartabl
Hadi 2016/08/25 18:06:06 Based on our internal discussion, moved starting o
+ "mojo:test_ime_driver",
sky 2016/08/18 23:43:07 Why are we starting a test driver?
Hadi 2016/08/25 18:06:06 Based on our internal discussion, InputMethodMus a
+ base::Bind(&Session::StartIMEDriver, base::Unretained(this)));
+}
+
void Session::StartScreenlock() {
StartRestartableService(
"mojo:screenlock",

Powered by Google App Engine
This is Rietveld 408576698