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

Unified Diff: chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.h

Issue 325633003: Add confirmation dialog when enabling a 3rd party IME. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits. Created 6 years, 6 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 70f77b2d839b84610bb0d84b02fe1f38bf3ef034..33f86871df23e8145ab5339695ae2762119ea4c8 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
@@ -71,7 +71,7 @@ class CrosLanguageOptionsHandler
// The return value will look like:
// [{'id': '_ext_ime_nejguenhnsnjnwychcnsdsdjketest',
// 'displayName': 'Sample IME'}, ...]
- static base::ListValue* ConvertInputMethodDescriptosToIMEList(
+ static base::ListValue* ConvertInputMethodDescriptorsToIMEList(
const input_method::InputMethodDescriptors& descriptors);
private:
@@ -110,6 +110,10 @@ class CrosLanguageOptionsHandler
// OptionsPageUIHandler implementation.
virtual void InitializePage() OVERRIDE;
+ // Adds the name of the extension that provides the IME to each entry in the
+ // |list| of extension IMEs.
+ void AddImeProvider(base::ListValue* list);
+
// True if the component extension list was appended into input method list.
bool composition_extension_appended_;

Powered by Google App Engine
This is Rietveld 408576698