OLD | NEW |
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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
(...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
990 const char kWindowWorkspace[] = "window-workspace"; | 990 const char kWindowWorkspace[] = "window-workspace"; |
991 | 991 |
992 // Uses WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is to | 992 // Uses WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is to |
993 // use Chromium's network stack to fetch, and V8 to evaluate. | 993 // use Chromium's network stack to fetch, and V8 to evaluate. |
994 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; | 994 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; |
995 | 995 |
996 // Specifies which category option was clicked in the Windows Jumplist that | 996 // Specifies which category option was clicked in the Windows Jumplist that |
997 // resulted in a browser startup. | 997 // resulted in a browser startup. |
998 const char kWinJumplistAction[] = "win-jumplist-action"; | 998 const char kWinJumplistAction[] = "win-jumplist-action"; |
999 | 999 |
1000 #if defined(ENABLE_SPELLCHECK) | |
1001 #if defined(OS_ANDROID) | |
1002 // Enables use of the Android spellchecker. | |
1003 const char kEnableAndroidSpellChecker[] = "enable-android-spellchecker"; | |
1004 #endif // defined(OS_ANDROID) | |
1005 | |
1006 // Enables participation in the field trial for user feedback to spelling | |
1007 // service. | |
1008 const char kEnableSpellingFeedbackFieldTrial[] = | |
1009 "enable-spelling-feedback-field-trial"; | |
1010 | |
1011 // Specifies the number of seconds between sending batches of feedback to | |
1012 // spelling service. The default is 30 minutes. The minimum is 5 seconds. This | |
1013 // switch is for temporary testing only. | |
1014 // TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by | |
1015 // August 2013. | |
1016 const char kSpellingServiceFeedbackIntervalSeconds[] = | |
1017 "spelling-service-feedback-interval-seconds"; | |
1018 | |
1019 // Specifies the URL where spelling service feedback data will be sent instead | |
1020 // of the default URL. This switch is for temporary testing only. | |
1021 // TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by | |
1022 // August 2013. | |
1023 const char kSpellingServiceFeedbackUrl[] = "spelling-service-feedback-url"; | |
1024 #endif // defined(ENABLE_SPELLCHECK) | |
1025 | |
1026 #if defined(GOOGLE_CHROME_BUILD) | 1000 #if defined(GOOGLE_CHROME_BUILD) |
1027 // Shows a Google icon next to context menu items powered by Google services. | 1001 // Shows a Google icon next to context menu items powered by Google services. |
1028 const char kEnableGoogleBrandedContextMenu[] = | 1002 const char kEnableGoogleBrandedContextMenu[] = |
1029 "enable-google-branded-context-menu"; | 1003 "enable-google-branded-context-menu"; |
1030 #endif // defined(GOOGLE_CHROME_BUILD) | 1004 #endif // defined(GOOGLE_CHROME_BUILD) |
1031 | 1005 |
1032 #if !defined(GOOGLE_CHROME_BUILD) | 1006 #if !defined(GOOGLE_CHROME_BUILD) |
1033 // Enables a live-reload for local NTP resources. This only works when Chrome | 1007 // Enables a live-reload for local NTP resources. This only works when Chrome |
1034 // is running from a Chrome source directory. | 1008 // is running from a Chrome source directory. |
1035 const char kLocalNtpReload[] = "local-ntp-reload"; | 1009 const char kLocalNtpReload[] = "local-ntp-reload"; |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1337 | 1311 |
1338 // ----------------------------------------------------------------------------- | 1312 // ----------------------------------------------------------------------------- |
1339 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1313 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1340 // | 1314 // |
1341 // You were going to just dump your switches here, weren't you? Instead, please | 1315 // You were going to just dump your switches here, weren't you? Instead, please |
1342 // put them in alphabetical order above, or in order inside the appropriate | 1316 // put them in alphabetical order above, or in order inside the appropriate |
1343 // ifdef at the bottom. The order should match the header. | 1317 // ifdef at the bottom. The order should match the header. |
1344 // ----------------------------------------------------------------------------- | 1318 // ----------------------------------------------------------------------------- |
1345 | 1319 |
1346 } // namespace switches | 1320 } // namespace switches |
OLD | NEW |