| 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 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 // Runs the Native Client inside the renderer process and enables GPU plugin | 669 // Runs the Native Client inside the renderer process and enables GPU plugin |
| 670 // (internally adds lEnableGpuPlugin to the command line). | 670 // (internally adds lEnableGpuPlugin to the command line). |
| 671 const char kEnableNaCl[] = "enable-nacl"; | 671 const char kEnableNaCl[] = "enable-nacl"; |
| 672 | 672 |
| 673 // Enables the network-related benchmarking extensions. | 673 // Enables the network-related benchmarking extensions. |
| 674 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; | 674 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; |
| 675 | 675 |
| 676 // Enables |NetworkTimeService| to convert local time to network time. | 676 // Enables |NetworkTimeService| to convert local time to network time. |
| 677 const char kEnableNetworkTime[] = "enable-network-time"; | 677 const char kEnableNetworkTime[] = "enable-network-time"; |
| 678 | 678 |
| 679 // Enables NPN and SPDY. In case server supports SPDY, browser will use SPDY. | |
| 680 const char kEnableNpn[] = "enable-npn"; | |
| 681 | |
| 682 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. | 679 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. |
| 683 // HTTP is still used for all requests. | 680 // HTTP is still used for all requests. |
| 684 const char kEnableNpnHttpOnly[] = "enable-npn-http"; | 681 const char kEnableNpnHttpOnly[] = "enable-npn-http"; |
| 685 | 682 |
| 686 // Enables omnibox auto-completion when IME is active. The auto-completion for | 683 // Enables omnibox auto-completion when IME is active. The auto-completion for |
| 687 // IME is shown in the same style as the normal(non-IME) auto-completion. | 684 // IME is shown in the same style as the normal(non-IME) auto-completion. |
| 688 const char kEnableOmniboxAutoCompletionForIme[] = | 685 const char kEnableOmniboxAutoCompletionForIme[] = |
| 689 "enable-omnibox-auto-completion-for-ime"; | 686 "enable-omnibox-auto-completion-for-ime"; |
| 690 | 687 |
| 691 // Enables panels (always on-top docked pop-up windows). | 688 // Enables panels (always on-top docked pop-up windows). |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 733 // use "--enable-sdch=0" as command line argument. SDCH is currently only | 730 // use "--enable-sdch=0" as command line argument. SDCH is currently only |
| 734 // supported server-side for searches on google.com. | 731 // supported server-side for searches on google.com. |
| 735 const char kEnableSdch[] = "enable-sdch"; | 732 const char kEnableSdch[] = "enable-sdch"; |
| 736 | 733 |
| 737 // Enables support of sticky keys. | 734 // Enables support of sticky keys. |
| 738 const char kEnableStickyKeys[] = "enable-sticky-keys"; | 735 const char kEnableStickyKeys[] = "enable-sticky-keys"; |
| 739 | 736 |
| 740 // Disables support of sticky keys. | 737 // Disables support of sticky keys. |
| 741 const char kDisableStickyKeys[] = "disable-sticky-keys"; | 738 const char kDisableStickyKeys[] = "disable-sticky-keys"; |
| 742 | 739 |
| 740 // Enable SPDY/2. This is a temporary testing flag. See |
| 741 // http://crbug.com/303957 . |
| 742 const char kEnableSpdy2[] = "enable-spdy2"; |
| 743 |
| 743 // Disable SPDY/3.1. This is a temporary testing flag. | 744 // Disable SPDY/3.1. This is a temporary testing flag. |
| 744 const char kDisableSpdy31[] = "disable-spdy31"; | 745 const char kDisableSpdy31[] = "disable-spdy31"; |
| 745 | 746 |
| 746 // Enable SPDY/4 alpha 2. This is a temporary testing flag. | 747 // Enable SPDY/4 alpha 2. This is a temporary testing flag. |
| 747 const char kEnableSpdy4a2[] = "enable-spdy4a2"; | 748 const char kEnableSpdy4a2[] = "enable-spdy4a2"; |
| 748 | 749 |
| 749 // Enable SPDY CREDENTIAL frame support. This is a temporary testing flag. | 750 // Enable SPDY CREDENTIAL frame support. This is a temporary testing flag. |
| 750 const char kEnableSpdyCredentialFrames[] = "enable-spdy-credential-frames"; | 751 const char kEnableSpdyCredentialFrames[] = "enable-spdy-credential-frames"; |
| 751 | 752 |
| 752 // Enables auto correction for misspelled words. | 753 // Enables auto correction for misspelled words. |
| (...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1659 | 1660 |
| 1660 // ----------------------------------------------------------------------------- | 1661 // ----------------------------------------------------------------------------- |
| 1661 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1662 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1662 // | 1663 // |
| 1663 // You were going to just dump your switches here, weren't you? Instead, please | 1664 // You were going to just dump your switches here, weren't you? Instead, please |
| 1664 // put them in alphabetical order above, or in order inside the appropriate | 1665 // put them in alphabetical order above, or in order inside the appropriate |
| 1665 // ifdef at the bottom. The order should match the header. | 1666 // ifdef at the bottom. The order should match the header. |
| 1666 // ----------------------------------------------------------------------------- | 1667 // ----------------------------------------------------------------------------- |
| 1667 | 1668 |
| 1668 } // namespace switches | 1669 } // namespace switches |
| OLD | NEW |