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

Unified Diff: chrome/browser/about_flags.cc

Issue 704883002: Exclude spellcheck related code properly on android/ios which doesn't have spellchecker (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « build/common.gypi ('k') | chrome/browser/policy/configuration_policy_handler_list_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 317fc15bdf69d8be674e59fe23488cc9d2042071..6f7cd2d30ec589a9a8935ee67ff738f2df6d4e0a 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -871,6 +871,7 @@ const Experiment kExperiments[] = {
kOsDesktop,
SINGLE_VALUE_TYPE(switches::kSilentDebuggerExtensionAPI)
},
+#if defined(ENABLE_SPELLCHECK)
{
"spellcheck-autocorrect",
IDS_FLAGS_SPELLCHECK_AUTOCORRECT,
@@ -878,6 +879,7 @@ const Experiment kExperiments[] = {
kOsWin | kOsLinux | kOsCrOS,
SINGLE_VALUE_TYPE(switches::kEnableSpellingAutoCorrect)
},
+#endif
{
"enable-scroll-prediction",
IDS_FLAGS_ENABLE_SCROLL_PREDICTION_NAME,
@@ -1438,6 +1440,7 @@ const Experiment kExperiments[] = {
MULTI_VALUE_TYPE(kTabCaptureDownscaleQualityChoices)
},
#endif
+#if defined(ENABLE_SPELLCHECK)
{
"enable-spelling-feedback-field-trial",
IDS_FLAGS_ENABLE_SPELLING_FEEDBACK_FIELD_TRIAL_NAME,
@@ -1445,6 +1448,7 @@ const Experiment kExperiments[] = {
kOsAll,
SINGLE_VALUE_TYPE(switches::kEnableSpellingFeedbackFieldTrial)
},
+#endif
{
"enable-webgl-draft-extensions",
IDS_FLAGS_ENABLE_WEBGL_DRAFT_EXTENSIONS_NAME,
« no previous file with comments | « build/common.gypi ('k') | chrome/browser/policy/configuration_policy_handler_list_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698