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

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: 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 unified diff | Download patch
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 972 matching lines...) Expand 10 before | Expand all | Expand 10 after
983 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; 983 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled";
984 984
985 // Speculative resource prefetching will only learn about resources that need to 985 // Speculative resource prefetching will only learn about resources that need to
986 // be prefetched but will not prefetch them. 986 // be prefetched but will not prefetch them.
987 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; 987 const char kSpeculativeResourcePrefetchingLearning[] = "learning";
988 988
989 // Speculative resource prefetching is enabled. 989 // Speculative resource prefetching is enabled.
990 const char kSpeculativeResourcePrefetchingEnabled[] = "enabled"; 990 const char kSpeculativeResourcePrefetchingEnabled[] = "enabled";
991 991
992 #if defined(ENABLE_SPELLCHECK) 992 #if defined(ENABLE_SPELLCHECK)
993 #if defined(OS_ANDROID)
994 // Enables use of the Android spellchecker.
995 const char kEnableAndroidSpellChecker[] = "enable-android-spellchecker";
996 #endif
997
993 // Enables the multilingual spellchecker. 998 // Enables the multilingual spellchecker.
994 const char kEnableMultilingualSpellChecker[] = 999 const char kEnableMultilingualSpellChecker[] =
995 "enable-multilingual-spellchecker"; 1000 "enable-multilingual-spellchecker";
996 1001
997 // Enables auto correction for misspelled words. 1002 // Enables auto correction for misspelled words.
998 const char kEnableSpellingAutoCorrect[] = "enable-spelling-auto-correct"; 1003 const char kEnableSpellingAutoCorrect[] = "enable-spelling-auto-correct";
999 1004
1000 // Enables participation in the field trial for user feedback to spelling 1005 // Enables participation in the field trial for user feedback to spelling
1001 // service. 1006 // service.
1002 const char kEnableSpellingFeedbackFieldTrial[] = 1007 const char kEnableSpellingFeedbackFieldTrial[] =
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
1379 1384
1380 // ----------------------------------------------------------------------------- 1385 // -----------------------------------------------------------------------------
1381 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1386 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1382 // 1387 //
1383 // You were going to just dump your switches here, weren't you? Instead, please 1388 // You were going to just dump your switches here, weren't you? Instead, please
1384 // put them in alphabetical order above, or in order inside the appropriate 1389 // put them in alphabetical order above, or in order inside the appropriate
1385 // ifdef at the bottom. The order should match the header. 1390 // ifdef at the bottom. The order should match the header.
1386 // ----------------------------------------------------------------------------- 1391 // -----------------------------------------------------------------------------
1387 1392
1388 } // namespace switches 1393 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698