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