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

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

Issue 1523593002: Add an option in language settings for activating the IME menu. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add enable-ime-menu flag Created 4 years, 12 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.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc
index 3a05c24ea120ecebbdaf5bf074011f297aa6dacf..cfd131fd9360fca8db36f5a824ee3b9f0b7c6e73 100644
--- a/chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc
@@ -84,6 +84,13 @@ void CrosLanguageOptionsHandler::GetLocalizedValues(
localized_strings->SetString("noInputMethods",
l10n_util::GetStringUTF16(
IDS_OPTIONS_SETTINGS_LANGUAGES_NO_INPUT_METHODS));
+ localized_strings->SetString(
+ "activateImeMenu", l10n_util::GetStringUTF16(
michaelpg 2016/01/04 16:37:36 nit: use consistent formatting with the above line
Azure Wei 2016/01/05 06:48:03 Done.
+ IDS_OPTIONS_SETTINGS_LANGUAGES_ACTIVATE_IME_MENU));
+ localized_strings->SetString(
+ "activateImeMenuDesc",
+ l10n_util::GetStringUTF16(
+ IDS_OPTIONS_SETTINGS_LANGUAGES_ACTIVATE_IME_MENU_DESCRIPTION));
// GetSupportedInputMethods() never returns NULL.
localized_strings->Set("languageList", GetAcceptLanguageList().release());

Powered by Google App Engine
This is Rietveld 408576698