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, |