| 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 | 9 |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 625 // Order of the listed sub-arguments does not matter. | 625 // Order of the listed sub-arguments does not matter. |
| 626 const char kEnableWatchdog[] = "enable-watchdog"; | 626 const char kEnableWatchdog[] = "enable-watchdog"; |
| 627 | 627 |
| 628 // Enable Website Settings. The Website Settings UI will replace the Page Info | 628 // Enable Website Settings. The Website Settings UI will replace the Page Info |
| 629 // Bubble. | 629 // Bubble. |
| 630 const char kEnableWebsiteSettings[] = "enable-website-settings"; | 630 const char kEnableWebsiteSettings[] = "enable-website-settings"; |
| 631 | 631 |
| 632 // Uses WebSocket over SPDY. | 632 // Uses WebSocket over SPDY. |
| 633 const char kEnableWebSocketOverSpdy[] = "enable-websocket-over-spdy"; | 633 const char kEnableWebSocketOverSpdy[] = "enable-websocket-over-spdy"; |
| 634 | 634 |
| 635 // Enables the web store link experiment. | |
| 636 const char kEnableWebStoreLink[] = "enable-webstore-link"; | |
| 637 | |
| 638 // Enables experimental features for Spellchecker. Right now, the first | 635 // Enables experimental features for Spellchecker. Right now, the first |
| 639 // experimental feature is auto spell correct, which corrects words which are | 636 // experimental feature is auto spell correct, which corrects words which are |
| 640 // misspelled by typing the word with two consecutive letters swapped. The | 637 // misspelled by typing the word with two consecutive letters swapped. The |
| 641 // features that will be added next are: | 638 // features that will be added next are: |
| 642 // | 639 // |
| 643 // 1 - Allow multiple spellcheckers to work simultaneously. | 640 // 1 - Allow multiple spellcheckers to work simultaneously. |
| 644 // 2 - Allow automatic detection of spell check language. | 641 // 2 - Allow automatic detection of spell check language. |
| 645 // TODO(sidchat): Implement the above features to work under this flag. | 642 // TODO(sidchat): Implement the above features to work under this flag. |
| 646 const char kExperimentalSpellcheckerFeatures[] = | 643 const char kExperimentalSpellcheckerFeatures[] = |
| 647 "experimental-spellchecker-features"; | 644 "experimental-spellchecker-features"; |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 906 const char kNoServiceAutorun[] = "no-service-autorun"; | 903 const char kNoServiceAutorun[] = "no-service-autorun"; |
| 907 | 904 |
| 908 // Does not automatically open a browser window on startup (used when | 905 // Does not automatically open a browser window on startup (used when |
| 909 // launching Chrome for the purpose of hosting background apps). | 906 // launching Chrome for the purpose of hosting background apps). |
| 910 const char kNoStartupWindow[] = "no-startup-window"; | 907 const char kNoStartupWindow[] = "no-startup-window"; |
| 911 | 908 |
| 912 // Shows a desktop notification that the cloud print token has expired and that | 909 // Shows a desktop notification that the cloud print token has expired and that |
| 913 // user needs to re-authenticate. | 910 // user needs to re-authenticate. |
| 914 const char kNotifyCloudPrintTokenExpired[] = "notify-cp-token-expired"; | 911 const char kNotifyCloudPrintTokenExpired[] = "notify-cp-token-expired"; |
| 915 | 912 |
| 916 // Shows a [+] at the end of apps pages on the NTP. | |
| 917 const char kNtpAppInstallHint[] = "ntp-app-install-hint"; | |
| 918 | |
| 919 // Specifies the maximum number of threads to use for running the Proxy | 913 // Specifies the maximum number of threads to use for running the Proxy |
| 920 // Autoconfig (PAC) script. | 914 // Autoconfig (PAC) script. |
| 921 const char kNumPacThreads[] = "num-pac-threads"; | 915 const char kNumPacThreads[] = "num-pac-threads"; |
| 922 | 916 |
| 923 // Controls whether the omnibox's HistoryQuickProvider is allowed to | 917 // Controls whether the omnibox's HistoryQuickProvider is allowed to |
| 924 // inline suggestions. | 918 // inline suggestions. |
| 925 const char kOmniboxInlineHistoryQuickProvider[] = | 919 const char kOmniboxInlineHistoryQuickProvider[] = |
| 926 "omnibox-inline-history-quick-provider-allowed"; | 920 "omnibox-inline-history-quick-provider-allowed"; |
| 927 // The values the kOmniboxInlineHistoryQuickProvider switch may have, as in | 921 // The values the kOmniboxInlineHistoryQuickProvider switch may have, as in |
| 928 // "--omnibox-inline-history-quick-provider-allowed=1" | 922 // "--omnibox-inline-history-quick-provider-allowed=1" |
| (...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1429 | 1423 |
| 1430 // ----------------------------------------------------------------------------- | 1424 // ----------------------------------------------------------------------------- |
| 1431 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1425 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1432 // | 1426 // |
| 1433 // You were going to just dump your switches here, weren't you? Instead, please | 1427 // You were going to just dump your switches here, weren't you? Instead, please |
| 1434 // put them in alphabetical order above, or in order inside the appropriate | 1428 // put them in alphabetical order above, or in order inside the appropriate |
| 1435 // ifdef at the bottom. The order should match the header. | 1429 // ifdef at the bottom. The order should match the header. |
| 1436 // ----------------------------------------------------------------------------- | 1430 // ----------------------------------------------------------------------------- |
| 1437 | 1431 |
| 1438 } // namespace switches | 1432 } // namespace switches |
| OLD | NEW |