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

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

Issue 10907196: Add the ability to filter out extension IMEs from the language settings page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mock input manager Created 8 years, 3 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
Index: chrome/browser/chromeos/input_method/input_method_manager_impl.h
diff --git a/chrome/browser/chromeos/input_method/input_method_manager_impl.h b/chrome/browser/chromeos/input_method/input_method_manager_impl.h
index d86f6aeaba025d72776c4b36f74d851f82dd8472..21cf4759b1664f344a3dd332710aca3556ce5da9 100644
--- a/chrome/browser/chromeos/input_method/input_method_manager_impl.h
+++ b/chrome/browser/chromeos/input_method/input_method_manager_impl.h
@@ -58,6 +58,9 @@ class InputMethodManagerImpl : public InputMethodManager,
const std::string& language,
InputMethodEngine* instance) OVERRIDE;
virtual void RemoveInputMethodExtension(const std::string& id) OVERRIDE;
+ virtual void GetInputMethodExtensions(
+ InputMethodDescriptors* result) OVERRIDE;
+ virtual void SetFilteredExtensionImes(std::vector<std::string>* ids) OVERRIDE;
virtual bool SwitchToNextInputMethod() OVERRIDE;
virtual bool SwitchToPreviousInputMethod() OVERRIDE;
virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) OVERRIDE;
@@ -143,6 +146,9 @@ class InputMethodManagerImpl : public InputMethodManager,
// The active input method ids cache.
std::vector<std::string> active_input_method_ids_;
+ // The list of IMEs that are filtered from the IME list.
+ std::vector<std::string> filtered_extension_imes_;
+
// For screen locker. When the screen is locked, |previous_input_method_|,
// |current_input_method_|, and |active_input_method_ids_| above are copied
// to these "saved" variables.

Powered by Google App Engine
This is Rietveld 408576698