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 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
690 const char kEnableNpnHttpOnly[] = "enable-npn-http"; | 690 const char kEnableNpnHttpOnly[] = "enable-npn-http"; |
691 | 691 |
692 // Enable auto-reload of error pages if offline. | 692 // Enable auto-reload of error pages if offline. |
693 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; | 693 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; |
694 | 694 |
695 // Enables omnibox auto-completion when IME is active. The auto-completion for | 695 // Enables omnibox auto-completion when IME is active. The auto-completion for |
696 // IME is shown in the same style as the normal(non-IME) auto-completion. | 696 // IME is shown in the same style as the normal(non-IME) auto-completion. |
697 const char kEnableOmniboxAutoCompletionForIme[] = | 697 const char kEnableOmniboxAutoCompletionForIme[] = |
698 "enable-omnibox-auto-completion-for-ime"; | 698 "enable-omnibox-auto-completion-for-ime"; |
699 | 699 |
700 // Enables the origin chip. | 700 // Controls which branch of the origin chip experiment is enabled. The first |
701 const char kEnableOriginChip[] = "enable-origin-chip"; | 701 // flag (enable-origin-chip) is equivalent to the third |
| 702 // (enable-origin-chip-trailing-location-bar) and exists for backwards |
| 703 // compatability with an earlier version of the experiment. |
| 704 // |
| 705 // We're using independent flags here (as opposed to a common flag with |
| 706 // different values) to be able to enable/disable the entire experience |
| 707 // associated with this feature server-side from the FieldTrial (the complete |
| 708 // experience includes other flag changes as well). It is not currently possible |
| 709 // to do that with "flag=value" flags. |
| 710 const char kEnableOriginChip[] = "enable-origin-chip"; |
| 711 const char kEnableOriginChipLeadingLocationBar[] = |
| 712 "enable-origin-chip-leading-location-bar"; |
| 713 const char kEnableOriginChipTrailingLocationBar[] = |
| 714 "enable-origin-chip-trailing-location-bar"; |
| 715 const char kEnableOriginChipLeadingMenuButton[] = |
| 716 "enable-origin-chip-leading-menu-button"; |
702 | 717 |
703 // Enables panels (always on-top docked pop-up windows). | 718 // Enables panels (always on-top docked pop-up windows). |
704 const char kEnablePanels[] = "enable-panels"; | 719 const char kEnablePanels[] = "enable-panels"; |
705 | 720 |
706 // Enables showing unregistered printers in print preview | 721 // Enables showing unregistered printers in print preview |
707 const char kEnablePrintPreviewRegisterPromos[] = | 722 const char kEnablePrintPreviewRegisterPromos[] = |
708 "enable-print-preview-register-promos"; | 723 "enable-print-preview-register-promos"; |
709 | 724 |
710 // Enable Privet storage. | 725 // Enable Privet storage. |
711 const char kEnablePrivetStorage[] = "enable-privet-storage"; | 726 const char kEnablePrivetStorage[] = "enable-privet-storage"; |
(...skipping 22 matching lines...) Expand all Loading... |
734 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble"; | 749 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble"; |
735 | 750 |
736 // Controls the support for SDCH filtering (dictionary based expansion of | 751 // Controls the support for SDCH filtering (dictionary based expansion of |
737 // content). By default SDCH filtering is enabled. To disable SDCH filtering, | 752 // content). By default SDCH filtering is enabled. To disable SDCH filtering, |
738 // use "--enable-sdch=0" as command line argument. SDCH is currently only | 753 // use "--enable-sdch=0" as command line argument. SDCH is currently only |
739 // supported server-side for searches on google.com. | 754 // supported server-side for searches on google.com. |
740 const char kEnableSdch[] = "enable-sdch"; | 755 const char kEnableSdch[] = "enable-sdch"; |
741 | 756 |
742 // Controls which branch of the "search button in omnibox" experiment is | 757 // Controls which branch of the "search button in omnibox" experiment is |
743 // enabled. | 758 // enabled. |
| 759 // |
| 760 // We're using independent flags here (as opposed to a common flag with |
| 761 // different values) to be able to enable/disable the entire experience |
| 762 // associated with this feature server-side from the FieldTrial (the complete |
| 763 // experience includes other flag changes as well). It is not currently possible |
| 764 // to do that with "flag=value" flags. |
744 const char kEnableSearchButtonInOmniboxAlways[] = | 765 const char kEnableSearchButtonInOmniboxAlways[] = |
745 "enable-search-button-in-omnibox-always"; | 766 "enable-search-button-in-omnibox-always"; |
746 const char kEnableSearchButtonInOmniboxForStr[] = | 767 const char kEnableSearchButtonInOmniboxForStr[] = |
747 "enable-search-button-in-omnibox-for-str"; | 768 "enable-search-button-in-omnibox-for-str"; |
748 const char kEnableSearchButtonInOmniboxForStrOrIip[] = | 769 const char kEnableSearchButtonInOmniboxForStrOrIip[] = |
749 "enable-search-button-in-omnibox-for-str-or-iip"; | 770 "enable-search-button-in-omnibox-for-str-or-iip"; |
750 | 771 |
751 // Enables support of sticky keys. | 772 // Enables support of sticky keys. |
752 const char kEnableStickyKeys[] = "enable-sticky-keys"; | 773 const char kEnableStickyKeys[] = "enable-sticky-keys"; |
753 | 774 |
754 // Enable SPDY/2. This is a temporary testing flag. See | 775 // Enable SPDY/2. This is a temporary testing flag. See |
755 // http://crbug.com/303957 . | 776 // http://crbug.com/303957 . |
756 const char kEnableSpdy2[] = "enable-spdy2"; | 777 const char kEnableSpdy2[] = "enable-spdy2"; |
757 | 778 |
758 // Enable SPDY/4 alpha 2. This is a temporary testing flag. | 779 // Enable SPDY/4 alpha 2. This is a temporary testing flag. |
759 const char kEnableSpdy4a2[] = "enable-spdy4a2"; | 780 const char kEnableSpdy4a2[] = "enable-spdy4a2"; |
(...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1664 | 1685 |
1665 // ----------------------------------------------------------------------------- | 1686 // ----------------------------------------------------------------------------- |
1666 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1687 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1667 // | 1688 // |
1668 // You were going to just dump your switches here, weren't you? Instead, please | 1689 // You were going to just dump your switches here, weren't you? Instead, please |
1669 // put them in alphabetical order above, or in order inside the appropriate | 1690 // put them in alphabetical order above, or in order inside the appropriate |
1670 // ifdef at the bottom. The order should match the header. | 1691 // ifdef at the bottom. The order should match the header. |
1671 // ----------------------------------------------------------------------------- | 1692 // ----------------------------------------------------------------------------- |
1672 | 1693 |
1673 } // namespace switches | 1694 } // namespace switches |
OLD | NEW |