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

Unified Diff: chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.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/ui/webui/options/chromeos/cros_language_options_handler.h
diff --git a/chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.h b/chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.h
index 328f5c128c81537dff2433e2c468c67fffc1c170..698df74469d6fa6917ebbb011e8b85ce9829108c 100644
--- a/chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.h
+++ b/chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.h
@@ -46,6 +46,12 @@ class CrosLanguageOptionsHandler
static base::ListValue* GetLanguageList(
const input_method::InputMethodDescriptors& descriptors);
+ // Gets the list of input methods that are implemented in an extension.
+ // The return value will look like:
+ // [{'id': '_ext_ime_nejguenhnsnjnwychcnsdsdjketest',
+ // 'displayName': 'Sample IME'}, ...]
+ static base::ListValue* GetExtensionImeList();
+
private:
// LanguageOptionsHandlerCommon implementation.
virtual string16 GetProductName() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698