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

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

Issue 15912004: Add private API to notify end of initialization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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_ibus.cc
diff --git a/chrome/browser/chromeos/input_method/input_method_engine_ibus.cc b/chrome/browser/chromeos/input_method/input_method_engine_ibus.cc
index 9ab9cea1be5c5b3adeb6c1365178a4c61d84b7db..d1311ee9a812d7ef045ba8cb660dab38d605c564 100644
--- a/chrome/browser/chromeos/input_method/input_method_engine_ibus.cc
+++ b/chrome/browser/chromeos/input_method/input_method_engine_ibus.cc
@@ -118,6 +118,13 @@ void InputMethodEngineIBus::Initialize(
RegisterComponent();
}
+void InputMethodEngineIBus::StartIme() {
+ input_method::InputMethodManager* manager =
+ input_method::InputMethodManager::Get();
+ if (manager && ibus_id_ == manager->GetCurrentInputMethod().id())
+ Enable();
+}
+
bool InputMethodEngineIBus::SetComposition(
int context_id,
const char* text,

Powered by Google App Engine
This is Rietveld 408576698