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

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: rebase + --no-find-copies 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
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/chrome_content_browser_client.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 636457819df4d695daec3b5c24845e499658847b..80be2c4dda58cea8542419471b2074a4c6bc0425 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"
@@ -830,7 +831,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,
@@ -1220,7 +1221,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,
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698