DescriptionReduce CPU usage for input method switching.
- Move GetNumActiveInputMethods call from input_method_menu_button.cc to input_method_library.cc so that the IBus function is called only once even when multiple Chrome windows are available.
- Improved InputMethodMenu::InputMethodChanged so that only the first input method button would update Preferences.
- Remove ImePropertiesChanged callback. It's obsolete.
BUG=chromium-os:8553
TEST=manually.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67973
Patch Set 1 #Patch Set 2 : review #Patch Set 3 : Removed IsFirstObserver based on a discussion with satoru #Patch Set 4 : rebase #
Total comments: 10
Patch Set 5 : review fix #
Total comments: 4
Patch Set 6 : review fix #Messages
Total messages: 6 (0 generated)
|