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

Unified Diff: chrome/browser/chromeos/input_method/input_method_engine.cc

Issue 9999018: chrome/browser/chromeos/input_method/ refactoring [part 6 of 6] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, remove preferences.h and language_preference.* from this CL Created 8 years, 8 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: chrome/browser/chromeos/input_method/input_method_engine.cc
diff --git a/chrome/browser/chromeos/input_method/input_method_engine.cc b/chrome/browser/chromeos/input_method/input_method_engine.cc
index 028328f5a981daf9137e413f9f93c6f33a473669..cfba7914312ebeba1af714ad6accb5a444a60b0a 100644
--- a/chrome/browser/chromeos/input_method/input_method_engine.cc
+++ b/chrome/browser/chromeos/input_method/input_method_engine.cc
@@ -54,7 +54,9 @@ class InputMethodEngineImpl
context_id_(-1) {}
~InputMethodEngineImpl() {
- input_method::InputMethodManager::GetInstance()->RemoveActiveIme(ibus_id_);
+ input_method::InputMethodManager* manager =
+ input_method::InputMethodManager::GetInstance();
+ manager->RemoveInputMethodExtension(ibus_id_);
}
bool Init(InputMethodEngine::Observer* observer,
@@ -179,7 +181,7 @@ bool InputMethodEngineImpl::Init(InputMethodEngine::Observer* observer,
observer_ = observer;
engine_id_ = engine_id;
- manager->AddActiveIme(ibus_id_, engine_name, layouts, language);
+ manager->AddInputMethodExtension(ibus_id_, engine_name, layouts, language);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698