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

Side by Side Diff: chrome/common/chrome_switches.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: Re-disabled the spellchecker for Android, will turn on when this switch is first used. 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 968 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; 979 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled";
980 980
981 // Speculative resource prefetching will only learn about resources that need to 981 // Speculative resource prefetching will only learn about resources that need to
982 // be prefetched but will not prefetch them. 982 // be prefetched but will not prefetch them.
983 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; 983 const char kSpeculativeResourcePrefetchingLearning[] = "learning";
984 984
985 // Speculative resource prefetching is enabled. 985 // Speculative resource prefetching is enabled.
986 const char kSpeculativeResourcePrefetchingEnabled[] = "enabled"; 986 const char kSpeculativeResourcePrefetchingEnabled[] = "enabled";
987 987
988 #if defined(ENABLE_SPELLCHECK) 988 #if defined(ENABLE_SPELLCHECK)
989 #if defined(OS_ANDROID)
990 // Enables use of the Android spellchecker.
991 const char kEnableAndroidSpellchecker[] = "enable-android-spellchecker";
992 #endif
993
989 // Enables the multilingual spellchecker. 994 // Enables the multilingual spellchecker.
990 const char kEnableMultilingualSpellChecker[] = 995 const char kEnableMultilingualSpellChecker[] =
991 "enable-multilingual-spellchecker"; 996 "enable-multilingual-spellchecker";
992 997
993 // Enables auto correction for misspelled words. 998 // Enables auto correction for misspelled words.
994 const char kEnableSpellingAutoCorrect[] = "enable-spelling-auto-correct"; 999 const char kEnableSpellingAutoCorrect[] = "enable-spelling-auto-correct";
995 1000
996 // Enables participation in the field trial for user feedback to spelling 1001 // Enables participation in the field trial for user feedback to spelling
997 // service. 1002 // service.
998 const char kEnableSpellingFeedbackFieldTrial[] = 1003 const char kEnableSpellingFeedbackFieldTrial[] =
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
1375 1380
1376 // ----------------------------------------------------------------------------- 1381 // -----------------------------------------------------------------------------
1377 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1382 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1378 // 1383 //
1379 // You were going to just dump your switches here, weren't you? Instead, please 1384 // You were going to just dump your switches here, weren't you? Instead, please
1380 // put them in alphabetical order above, or in order inside the appropriate 1385 // put them in alphabetical order above, or in order inside the appropriate
1381 // ifdef at the bottom. The order should match the header. 1386 // ifdef at the bottom. The order should match the header.
1382 // ----------------------------------------------------------------------------- 1387 // -----------------------------------------------------------------------------
1383 1388
1384 } // namespace switches 1389 } // namespace switches
OLDNEW
« chrome/common/chrome_switches.h ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698