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

Unified Diff: chrome/browser/chromeos/login/keyboard_switch_menu.h

Issue 4162002: Reduce CPU usage for input method switching. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 10 years, 1 month 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/login/keyboard_switch_menu.h
diff --git a/chrome/browser/chromeos/login/keyboard_switch_menu.h b/chrome/browser/chromeos/login/keyboard_switch_menu.h
index 64bd2aa8fe9969a1dff6be61f8773b4d810ff883..e1476f60e296cb0a69e0e2680e459609887fe191 100644
--- a/chrome/browser/chromeos/login/keyboard_switch_menu.h
+++ b/chrome/browser/chromeos/login/keyboard_switch_menu.h
@@ -23,8 +23,10 @@ class KeyboardSwitchMenu : public InputMethodMenu {
virtual ~KeyboardSwitchMenu() {}
// InputMethodMenu::InputMethodMenuHost implementation.
- virtual void UpdateUI(
- const std::wstring& name, const std::wstring& tooltip);
+ virtual void UpdateUI(const std::string& id,
+ const std::wstring& name,
+ const std::wstring& tooltip,
+ size_t num_active_input_methods);
virtual bool ShouldSupportConfigUI() { return false; }
virtual void OpenConfigUI() {}

Powered by Google App Engine
This is Rietveld 408576698