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 6679b587b585e7ee94a2b4cd2f762fc3db7d809d..911f8fde97b5f4c8d0121abc465322ae7113e86c 100644 |
--- a/chrome/browser/chromeos/input_method/input_method_manager_impl.cc |
+++ b/chrome/browser/chromeos/input_method/input_method_manager_impl.cc |
@@ -754,10 +754,16 @@ void InputMethodManagerImpl::SetState( |
// indicator is used by only keyboard layout input methods. |
MaybeInitializeCandidateWindowController(); |
- if (need_update_current_input_method) |
+ if (need_update_current_input_method) { |
ChangeInputMethodInternal(state_->current_input_method, |
false /* show_message */, |
true /* notify_menu */); |
+ } else { |
+ // Update input method indicators (e.g. "US", "DV") in Chrome windows. |
+ FOR_EACH_OBSERVER(InputMethodManager::Observer, |
+ observers_, |
+ InputMethodChanged(this, false /* show_message */)); |
+ } |
} |
} |