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

Unified Diff: chrome/browser/about_flags.cc

Issue 1216073013: Patch 1: Added a Chrome flag to enable Android spellchecker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor style change to stay consistent with existing Chrome and Android code. Created 5 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/app/generated_resources.grd ('k') | chrome/common/chrome_switches.h » ('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 cb078a0f4206d5516af0cc221ffa88b3e2f066e8..a5ad30470bcc5a02d6659831c48fe39bb2dd292c 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -811,6 +811,13 @@ const Experiment kExperiments[] = {
kOsDesktop,
SINGLE_VALUE_TYPE(switches::kSilentDebuggerExtensionAPI)},
#if defined(ENABLE_SPELLCHECK)
+#if defined(OS_ANDROID)
+ {"enable-android-spellchecker",
+ IDS_OPTIONS_ENABLE_SPELLCHECK,
+ IDS_OPTIONS_ENABLE_ANDROID_SPELLCHECKER_DESCRIPTION,
+ kOsAndroid,
+ SINGLE_VALUE_TYPE(switches::kEnableAndroidSpellChecker)},
+#endif
{"spellcheck-autocorrect",
IDS_FLAGS_SPELLCHECK_AUTOCORRECT,
IDS_FLAGS_SPELLCHECK_AUTOCORRECT_DESCRIPTION,
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698