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

Unified Diff: chrome/browser/chromeos/cros/input_method_library.cc

Issue 3080027: Explicitly set the input method on IME connected, even if it's the hardware layout. (Closed)
Patch Set: Code Review Created 10 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/cros/input_method_library.cc
diff --git a/chrome/browser/chromeos/cros/input_method_library.cc b/chrome/browser/chromeos/cros/input_method_library.cc
index 29818e9a1c942e5717f8c9bf0376ebf6ba5fd1f5..97dd5a8ea26264d9a2313f35ac66088a0e3371c9 100644
--- a/chrome/browser/chromeos/cros/input_method_library.cc
+++ b/chrome/browser/chromeos/cros/input_method_library.cc
@@ -271,11 +271,7 @@ void InputMethodLibraryImpl::ConnectionChangeHandler(void* object,
input_method_library->pending_config_requests_.insert(
input_method_library->current_config_values_.begin(),
input_method_library->current_config_values_.end());
- // When the IME process starts up, the hardware layout will be the current
- // method. If this is not correct, we'll need to explicitly change it.
- if (input_method_library->active_input_method_ != kHardwareKeyboardLayout) {
- input_method_library->need_input_method_set_ = true;
- }
+ input_method_library->need_input_method_set_ = true;
input_method_library->FlushImeConfig();
} else {
// Stop attempting to resend config data, since it will continue to fail.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698