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

Unified Diff: chrome/browser/about_flags.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: Created 5 years, 7 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/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 73103c715b8157cb7c8492125309d334a1f36479..11a3ade9b3dae7b5ddbb7c1d3da2be3a7849ee77 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2289,6 +2289,7 @@ const Experiment kExperiments[] = {
switches::kSyncServiceURL,
"https://chrome-sync.sandbox.google.com/chrome-sync/alpha")
},
+
{
"enable-child-account-detection",
IDS_FLAGS_CHILD_ACCOUNT_DETECTION_NAME,
@@ -2411,6 +2412,20 @@ const Experiment kExperiments[] = {
kOsAll,
SINGLE_VALUE_TYPE(switches::kEmphasizeTitlesInOmniboxDropdown)
},
+
+#if defined(ENABLE_SPELLCHECK) && \
+ (defined(OS_LINUX) || defined(OS_WIN) || defined(OS_CHROMEOS))
+ {
+ "enable-multilingual-spellchecker",
+ IDS_FLAGS_ENABLE_MULTILINGUAL_SPELLCHECKER_NAME,
+ IDS_FLAGS_ENABLE_MULTILINGUAL_SPELLCHECKER_DESCRIPTION,
+ kOsWin | kOsLinux | kOsCrOS,
+ SINGLE_VALUE_TYPE(switches::kEnableMultilingualSpellChecker)
+ },
+#endif // defined(ENABLE_SPELLCHECK) && (defined(OS_LINUX) || defined(OS_WIN)
+ // || defined(OS_CHROMEOS))
+
+
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms.xml. See note in
// histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.

Powered by Google App Engine
This is Rietveld 408576698