Chromium Code Reviews| 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 683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 694 const char kEnableNpnHttpOnly[] = "enable-npn-http"; | 694 const char kEnableNpnHttpOnly[] = "enable-npn-http"; |
| 695 | 695 |
| 696 // Enable auto-reload of error pages if offline. | 696 // Enable auto-reload of error pages if offline. |
| 697 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; | 697 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; |
| 698 | 698 |
| 699 // Enables omnibox auto-completion when IME is active. The auto-completion for | 699 // Enables omnibox auto-completion when IME is active. The auto-completion for |
| 700 // IME is shown in the same style as the normal(non-IME) auto-completion. | 700 // IME is shown in the same style as the normal(non-IME) auto-completion. |
| 701 const char kEnableOmniboxAutoCompletionForIme[] = | 701 const char kEnableOmniboxAutoCompletionForIme[] = |
| 702 "enable-omnibox-auto-completion-for-ime"; | 702 "enable-omnibox-auto-completion-for-ime"; |
| 703 | 703 |
| 704 // Enables the origin chip. | 704 // Controls which branch of the origin chip experiment is enabled. The first |
| 705 const char kEnableOriginChip[] = "enable-origin-chip"; | 705 // flag (enable-origin-chip) is equivalent to the third |
|
Greg Billock
2014/01/10 18:39:00
Would it be easier to keep just one flag name and
Justin Donnelly
2014/01/10 20:11:31
That would be nicer, yes, but this is necessary to
| |
| 706 // (enable-origin-chip-right-of-location-bar) and exists for backwards | |
| 707 // compatability with an earlier version of the experiment. | |
| 708 const char kEnableOriginChip[] = "enable-origin-chip"; | |
| 709 const char kEnableOriginChipLeftOfLocationBar[] = | |
| 710 "enable-origin-chip-left-of-location-bar"; | |
| 711 const char kEnableOriginChipRightOfLocationBar[] = | |
| 712 "enable-origin-chip-right-of-location-bar"; | |
| 713 const char kEnableOriginChipLeftOfMenu[] = | |
| 714 "enable-origin-chip-left-of-menu"; | |
| 706 | 715 |
| 707 // Enables panels (always on-top docked pop-up windows). | 716 // Enables panels (always on-top docked pop-up windows). |
| 708 const char kEnablePanels[] = "enable-panels"; | 717 const char kEnablePanels[] = "enable-panels"; |
| 709 | 718 |
| 710 // Enables showing unregistered printers in print preview | 719 // Enables showing unregistered printers in print preview |
| 711 const char kEnablePrintPreviewRegisterPromos[] = | 720 const char kEnablePrintPreviewRegisterPromos[] = |
| 712 "enable-print-preview-register-promos"; | 721 "enable-print-preview-register-promos"; |
| 713 | 722 |
| 714 // Enables tracking of tasks in profiler for viewing via about:profiler. | 723 // Enables tracking of tasks in profiler for viewing via about:profiler. |
| 715 // To predominantly disable tracking (profiling), use the command line switch: | 724 // To predominantly disable tracking (profiling), use the command line switch: |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 736 | 745 |
| 737 // Controls the support for SDCH filtering (dictionary based expansion of | 746 // Controls the support for SDCH filtering (dictionary based expansion of |
| 738 // content). By default SDCH filtering is enabled. To disable SDCH filtering, | 747 // content). By default SDCH filtering is enabled. To disable SDCH filtering, |
| 739 // use "--enable-sdch=0" as command line argument. SDCH is currently only | 748 // use "--enable-sdch=0" as command line argument. SDCH is currently only |
| 740 // supported server-side for searches on google.com. | 749 // supported server-side for searches on google.com. |
| 741 const char kEnableSdch[] = "enable-sdch"; | 750 const char kEnableSdch[] = "enable-sdch"; |
| 742 | 751 |
| 743 // Controls which branch of the "search button in omnibox" experiment is | 752 // Controls which branch of the "search button in omnibox" experiment is |
| 744 // enabled. | 753 // enabled. |
| 745 const char kEnableSearchButtonInOmniboxAlways[] = | 754 const char kEnableSearchButtonInOmniboxAlways[] = |
| 746 "enable-search-button-in-omnibox-always"; | 755 "enable-search-button-in-omnibox-always"; |
| 747 const char kEnableSearchButtonInOmniboxForStr[] = | 756 const char kEnableSearchButtonInOmniboxForStr[] = |
| 748 "enable-search-button-in-omnibox-for-str"; | 757 "enable-search-button-in-omnibox-for-str"; |
| 749 const char kEnableSearchButtonInOmniboxForStrOrIip[] = | 758 const char kEnableSearchButtonInOmniboxForStrOrIip[] = |
| 750 "enable-search-button-in-omnibox-for-str-or-iip"; | 759 "enable-search-button-in-omnibox-for-str-or-iip"; |
| 751 | 760 |
| 752 // Enables support of sticky keys. | 761 // Enables support of sticky keys. |
| 753 const char kEnableStickyKeys[] = "enable-sticky-keys"; | 762 const char kEnableStickyKeys[] = "enable-sticky-keys"; |
| 754 | 763 |
| 755 // Enable SPDY/2. This is a temporary testing flag. See | 764 // Enable SPDY/2. This is a temporary testing flag. See |
| 756 // http://crbug.com/303957 . | 765 // http://crbug.com/303957 . |
| 757 const char kEnableSpdy2[] = "enable-spdy2"; | 766 const char kEnableSpdy2[] = "enable-spdy2"; |
| 758 | 767 |
| 759 // Enable SPDY/4 alpha 2. This is a temporary testing flag. | 768 // Enable SPDY/4 alpha 2. This is a temporary testing flag. |
| 760 const char kEnableSpdy4a2[] = "enable-spdy4a2"; | 769 const char kEnableSpdy4a2[] = "enable-spdy4a2"; |
| (...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1665 | 1674 |
| 1666 // ----------------------------------------------------------------------------- | 1675 // ----------------------------------------------------------------------------- |
| 1667 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1676 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1668 // | 1677 // |
| 1669 // You were going to just dump your switches here, weren't you? Instead, please | 1678 // You were going to just dump your switches here, weren't you? Instead, please |
| 1670 // put them in alphabetical order above, or in order inside the appropriate | 1679 // put them in alphabetical order above, or in order inside the appropriate |
| 1671 // ifdef at the bottom. The order should match the header. | 1680 // ifdef at the bottom. The order should match the header. |
| 1672 // ----------------------------------------------------------------------------- | 1681 // ----------------------------------------------------------------------------- |
| 1673 | 1682 |
| 1674 } // namespace switches | 1683 } // namespace switches |
| OLD | NEW |