| 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 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; | 417 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; |
| 418 | 418 |
| 419 // Allows disabling of translate from the command line to assist with automated | 419 // Allows disabling of translate from the command line to assist with automated |
| 420 // browser testing (e.g. Selenium/WebDriver). Normal browser users should | 420 // browser testing (e.g. Selenium/WebDriver). Normal browser users should |
| 421 // disable translate with the preference. | 421 // disable translate with the preference. |
| 422 const char kDisableTranslate[] = "disable-translate"; | 422 const char kDisableTranslate[] = "disable-translate"; |
| 423 | 423 |
| 424 // Disables the backend service for web resources. | 424 // Disables the backend service for web resources. |
| 425 const char kDisableWebResources[] = "disable-web-resources"; | 425 const char kDisableWebResources[] = "disable-web-resources"; |
| 426 | 426 |
| 427 // Disables the website settings UI. |
| 428 const char kDisableWebsiteSettings[] = "disable-website-settings"; |
| 429 |
| 427 // Some tests seem to require the application to close when the last | 430 // Some tests seem to require the application to close when the last |
| 428 // browser window is closed. Thus, we need a switch to force this behavior | 431 // browser window is closed. Thus, we need a switch to force this behavior |
| 429 // for ChromeOS Aura, disable "zero window mode". | 432 // for ChromeOS Aura, disable "zero window mode". |
| 430 // TODO(pkotwicz): Investigate if this bug can be removed. | 433 // TODO(pkotwicz): Investigate if this bug can be removed. |
| 431 // (http://crbug.com/119175) | 434 // (http://crbug.com/119175) |
| 432 extern const char kDisableZeroBrowsersOpenForTests[] = | 435 extern const char kDisableZeroBrowsersOpenForTests[] = |
| 433 "disable-zero-browsers-open-for-tests"; | 436 "disable-zero-browsers-open-for-tests"; |
| 434 | 437 |
| 435 // Use a specific disk cache location, rather than one derived from the | 438 // Use a specific disk cache location, rather than one derived from the |
| 436 // UserDatadir. | 439 // UserDatadir. |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 658 const char kEnableTextServiceFramework[] = "enable-text-service-framework"; | 661 const char kEnableTextServiceFramework[] = "enable-text-service-framework"; |
| 659 | 662 |
| 660 // Spawns threads to watch for excessive delays in specified message loops. | 663 // Spawns threads to watch for excessive delays in specified message loops. |
| 661 // User should set breakpoints on Alarm() to examine problematic thread. | 664 // User should set breakpoints on Alarm() to examine problematic thread. |
| 662 // | 665 // |
| 663 // Usage: -enable-watchdog=[ui][io] | 666 // Usage: -enable-watchdog=[ui][io] |
| 664 // | 667 // |
| 665 // Order of the listed sub-arguments does not matter. | 668 // Order of the listed sub-arguments does not matter. |
| 666 const char kEnableWatchdog[] = "enable-watchdog"; | 669 const char kEnableWatchdog[] = "enable-watchdog"; |
| 667 | 670 |
| 668 // Enable Website Settings. The Website Settings UI will replace the Page Info | |
| 669 // Bubble. | |
| 670 const char kEnableWebsiteSettings[] = "enable-website-settings"; | |
| 671 | |
| 672 // Uses WebSocket over SPDY. | 671 // Uses WebSocket over SPDY. |
| 673 const char kEnableWebSocketOverSpdy[] = "enable-websocket-over-spdy"; | 672 const char kEnableWebSocketOverSpdy[] = "enable-websocket-over-spdy"; |
| 674 | 673 |
| 675 // Enables experimental features for Spellchecker. Right now, the first | 674 // Enables experimental features for Spellchecker. Right now, the first |
| 676 // experimental feature is auto spell correct, which corrects words which are | 675 // experimental feature is auto spell correct, which corrects words which are |
| 677 // misspelled by typing the word with two consecutive letters swapped. The | 676 // misspelled by typing the word with two consecutive letters swapped. The |
| 678 // features that will be added next are: | 677 // features that will be added next are: |
| 679 // | 678 // |
| 680 // 1 - Allow multiple spellcheckers to work simultaneously. | 679 // 1 - Allow multiple spellcheckers to work simultaneously. |
| 681 // 2 - Allow automatic detection of spell check language. | 680 // 2 - Allow automatic detection of spell check language. |
| (...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1614 | 1613 |
| 1615 // ----------------------------------------------------------------------------- | 1614 // ----------------------------------------------------------------------------- |
| 1616 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1615 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1617 // | 1616 // |
| 1618 // You were going to just dump your switches here, weren't you? Instead, please | 1617 // You were going to just dump your switches here, weren't you? Instead, please |
| 1619 // put them in alphabetical order above, or in order inside the appropriate | 1618 // put them in alphabetical order above, or in order inside the appropriate |
| 1620 // ifdef at the bottom. The order should match the header. | 1619 // ifdef at the bottom. The order should match the header. |
| 1621 // ----------------------------------------------------------------------------- | 1620 // ----------------------------------------------------------------------------- |
| 1622 | 1621 |
| 1623 } // namespace switches | 1622 } // namespace switches |
| OLD | NEW |