From b95e72678f32d52db1c9fbc696fd4f3df825f060 Mon Sep 17 00:00:00 2001 From: "nona@chromium.org" Date: Mon, 13 May 2013 12:37:28 +0000 Subject: [PATCH] Call OnConnect function of ComponetnExtensionIME. Without this, component extension IME won't be enabled. This regression is introduced by http://crrev.com/199110. BUG=None TEST=Manually checked Review URL: https://chromiumcodereview.appspot.com/14683007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199707 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/chromeos/input_method/input_method_manager_impl.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/chrome/browser/chromeos/input_method/input_method_manager_impl.cc b/chrome/browser/chromeos/input_method/input_method_manager_impl.cc index bb4bd35be0a8..a87ce494112e 100644 --- a/chrome/browser/chromeos/input_method/input_method_manager_impl.cc +++ b/chrome/browser/chromeos/input_method/input_method_manager_impl.cc @@ -673,8 +673,11 @@ void InputMethodManagerImpl::OnConnected() { extra_input_method_instances_.begin(); ite != extra_input_method_instances_.end(); ite++) { - if (Contains(enabled_extension_imes_, ite->first)) + if (Contains(enabled_extension_imes_, ite->first) || + (component_extension_ime_manager_->IsInitialized() && + component_extension_ime_manager_->IsWhitelisted(ite->first))) { ite->second->OnConnected(); + } } const bool is_xkb_layout = -- 2.11.4.GIT