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

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: Reverted from using any #if defines to exclude Mac compiles. 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/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 1f94e3b872f6d46208238d7c29648e60c7e7fe97..a73f4c70b46bfbe07a3c0d0e246dc98027df02ca 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1999,9 +1999,19 @@ const Experiment kExperiments[] = {
kOsAll,
SINGLE_VALUE_TYPE(switches::kEnableWebVR)},
#endif
- // 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.
+#if defined(ENABLE_SPELLCHECK) && \
+ (defined(OS_LINUX) || defined(OS_WIN) || defined(OS_CHROMEOS))
+ {
+ "enable-multilingual-spellchecker",
please use gerrit instead 2015/06/23 21:56:01 previous entry is clang-formatted. Maybe clang-for
Julius 2015/06/24 21:17:59 It reformats the whole file but I've reformatted m
+ IDS_FLAGS_ENABLE_MULTILINGUAL_SPELLCHECKER_NAME,
+ IDS_FLAGS_ENABLE_MULTILINGUAL_SPELLCHECKER_DESCRIPTION,
+ kOsWin | kOsLinux | kOsCrOS,
+ SINGLE_VALUE_TYPE(switches::kEnableMultilingualSpellChecker)
+ },
+#endif
+ // NOTE: Adding new command-line switches requires adding corresponding
please use gerrit instead 2015/06/23 21:56:00 I think the original comment had 4 spaces. Let's n
Julius 2015/06/24 21:17:59 Done.
+ // entries to enum "LoginCustomFlags" in histograms.xml. See note in
+ // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
};
const Experiment* experiments = kExperiments;

Powered by Google App Engine
This is Rietveld 408576698