diff options
author | rlp@chromium.org <rlp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-23 17:46:52 +0000 |
---|---|---|
committer | rlp@chromium.org <rlp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-23 17:46:52 +0000 |
commit | 57890244aebba4344fed6003d512af6f694783a3 (patch) | |
tree | f08f526c2f2da1f1e07eba03ae449ca2ada97b3e /chrome/browser/about_flags.cc | |
parent | 7bbf488fd1462aa5ee53078bea08a0255a1797ca (diff) | |
download | chromium_src-57890244aebba4344fed6003d512af6f694783a3.zip chromium_src-57890244aebba4344fed6003d512af6f694783a3.tar.gz chromium_src-57890244aebba4344fed6003d512af6f694783a3.tar.bz2 |
Cleaning up the command line flags for spellcheck.
Also cleaning up the logic of how it determines what is and isn't turned on.
New flags:
kUseSpellingService -- uses the spelling service
kEnableSpellingAutoCorrect -- autocorrect words
kForceSyncSpellCheck -- from before. But now used hopefully more clearly.
Also re-enabling some of the tests.
BUG=154924
Review URL: https://chromiumcodereview.appspot.com/11139007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163590 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/about_flags.cc')
-rw-r--r-- | chrome/browser/about_flags.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc index e3bfdab..c9d4c5a 100644 --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc @@ -704,15 +704,13 @@ const Experiment kExperiments[] = { kOsAll, SINGLE_VALUE_TYPE(switches::kEnableSuggestionsTabPage) }, -#if defined(GOOGLE_CHROME_BUILD) { - "disable-asynchronous-spellchecking", - IDS_FLAGS_DISABLE_ASYNCHRONOUS_SPELLCHECKING, - IDS_FLAGS_DISABLE_ASYNCHRONOUS_SPELLCHECKING_DESCRIPTION, + "force-sync-spellcheck", + IDS_FLAGS_FORCE_SYNC_SPELLCHECK, + IDS_FLAGS_FORCE_SYNC_SPELLCHECK_DESCRIPTION, kOsWin | kOsLinux | kOsCrOS, - SINGLE_VALUE_TYPE(switches::kDisableAsynchronousSpellChecking) + SINGLE_VALUE_TYPE(switches::kForceSyncSpellCheck) }, -#endif { "touch-optimized-ui", IDS_FLAGS_TOUCH_OPTIMIZED_UI_NAME, |