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

Unified Diff: chrome/browser/about_flags.cc

Issue 2166683003: Componentize spellcheck [1]: create component and move switches there. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 f03eb3a133ba8a28c53682fc43de45fd7a13f20d..9af600e8e89966d558d14f2b07e8fd66bcd03f36 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -53,6 +53,7 @@
#include "components/search/search_switches.h"
#include "components/security_state/switches.h"
#include "components/signin/core/common/signin_switches.h"
+#include "components/spellcheck/common/spellcheck_switches.h"
#include "components/ssl_config/ssl_config_switches.h"
#include "components/sync_driver/sync_driver_switches.h"
#include "components/tracing/common/tracing_switches.h"
@@ -825,7 +826,7 @@ const FeatureEntry kFeatureEntries[] = {
#if defined(ENABLE_SPELLCHECK) && defined(OS_ANDROID)
{"enable-android-spellchecker", IDS_OPTIONS_ENABLE_SPELLCHECK,
IDS_OPTIONS_ENABLE_ANDROID_SPELLCHECKER_DESCRIPTION, kOsAndroid,
- SINGLE_VALUE_TYPE(switches::kEnableAndroidSpellChecker)},
+ SINGLE_VALUE_TYPE(spellcheck::switches::kEnableAndroidSpellChecker)},
#endif
{"enable-scroll-prediction", IDS_FLAGS_SCROLL_PREDICTION_NAME,
IDS_FLAGS_SCROLL_PREDICTION_DESCRIPTION, kOsDesktop,
@@ -1212,7 +1213,8 @@ const FeatureEntry kFeatureEntries[] = {
{"enable-spelling-feedback-field-trial",
IDS_FLAGS_SPELLING_FEEDBACK_FIELD_TRIAL_NAME,
IDS_FLAGS_SPELLING_FEEDBACK_FIELD_TRIAL_DESCRIPTION, kOsAll,
- SINGLE_VALUE_TYPE(switches::kEnableSpellingFeedbackFieldTrial)},
+ SINGLE_VALUE_TYPE(
+ spellcheck::switches::kEnableSpellingFeedbackFieldTrial)},
#endif
{"enable-webgl-draft-extensions", IDS_FLAGS_WEBGL_DRAFT_EXTENSIONS_NAME,
IDS_FLAGS_WEBGL_DRAFT_EXTENSIONS_DESCRIPTION, kOsAll,

Powered by Google App Engine
This is Rietveld 408576698