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

Unified Diff: chrome/browser/ui/webui/options/language_options_handler_common.cc

Issue 1156473007: Enables the user to select multiple languages for spellchecking (UI) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nits and rebased. Created 5 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/language_options_handler_common.cc
diff --git a/chrome/browser/ui/webui/options/language_options_handler_common.cc b/chrome/browser/ui/webui/options/language_options_handler_common.cc
index 5553930994ed094f585f6b3136a0e51c25befc78..27eabbb5f57efb4ccc7603ed65d41d3444ef7300 100644
--- a/chrome/browser/ui/webui/options/language_options_handler_common.cc
+++ b/chrome/browser/ui/webui/options/language_options_handler_common.cc
@@ -132,6 +132,10 @@ void LanguageOptionsHandlerCommon::GetLocalizedValues(
localized_strings->SetBoolean("enableSpellingAutoCorrect",
enable_spelling_auto_correct);
+ localized_strings->SetBoolean(
+ "enableMultilingualSpellChecker",
+ chrome::spellcheck_common::IsMultilingualSpellcheckEnabled());
+
Profile* profile = Profile::FromWebUI(web_ui());
PrefService* prefs = profile->GetPrefs();
std::string default_target_language =

Powered by Google App Engine
This is Rietveld 408576698