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

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

Issue 2603663002: Make IME extensions decide when to show the keyboard. (Closed)
Patch Set: Created 4 years 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_manager_impl.cc
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 db90c650dee9c0f54c6248a54a2df3896327268d..310b1f337529dbdeafc401ea4ca8bd46e5fb414e 100644
--- a/chrome/browser/chromeos/input_method/input_method_manager_impl.cc
+++ b/chrome/browser/chromeos/input_method/input_method_manager_impl.cc
@@ -1253,6 +1253,11 @@ void InputMethodManagerImpl::OverrideKeyboardUrlRef(const std::string& keyset) {
GURL::Replacements replacements;
replacements.SetRefStr(overridden_ref);
keyboard::SetOverrideContentUrl(url.ReplaceComponents(replacements));
+
+ keyboard::KeyboardController* keyboard_controller =
+ keyboard::KeyboardController::GetInstance();
+ if (keyboard_controller)
+ keyboard_controller->Reload();
}
bool InputMethodManagerImpl::IsEmojiHandwritingVoiceOnImeMenuEnabled() {

Powered by Google App Engine
This is Rietveld 408576698