Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 752 // These are the values the switch may have, as in "--prerender=auto". | 752 // These are the values the switch may have, as in "--prerender=auto". |
| 753 // auto: Allow field trial selection in both prerender and prefetch. | 753 // auto: Allow field trial selection in both prerender and prefetch. |
| 754 const char kPrerenderSwitchValueAuto[] = "auto"; | 754 const char kPrerenderSwitchValueAuto[] = "auto"; |
| 755 // disabled: No prerendering or prefetching. | 755 // disabled: No prerendering or prefetching. |
| 756 const char kPrerenderSwitchValueDisabled[] = "disabled"; | 756 const char kPrerenderSwitchValueDisabled[] = "disabled"; |
| 757 // enabled: Both prerendering and prefetching. | 757 // enabled: Both prerendering and prefetching. |
| 758 const char kPrerenderSwitchValueEnabled[] = "enabled"; | 758 const char kPrerenderSwitchValueEnabled[] = "enabled"; |
| 759 // prefetch_only: No prerendering, but enable prefetching. | 759 // prefetch_only: No prerendering, but enable prefetching. |
| 760 const char kPrerenderSwitchValuePrefetchOnly[] = "prefetch_only"; | 760 const char kPrerenderSwitchValuePrefetchOnly[] = "prefetch_only"; |
| 761 | 761 |
| 762 // Trigger prerendering of pages from suggestions in the omnibox. Only has an | |
| 763 // effect when Instant is either disabled or restricted to search, and when | |
| 764 // prerender is enabled. | |
| 765 const char kPrerenderFromOmnibox[] = "prerender-from-omnibox"; | |
|
sky
2011/06/20 18:15:54
Need sorted.
dominich
2011/06/20 18:40:00
Done.
| |
| 766 | |
| 762 // Prints the pages on the screen. | 767 // Prints the pages on the screen. |
| 763 const char kPrint[] = "print"; | 768 const char kPrint[] = "print"; |
| 764 | 769 |
| 765 // Output the product version information and quit. Used as an internal api to | 770 // Output the product version information and quit. Used as an internal api to |
| 766 // detect the installed version of Chrome on Linux. | 771 // detect the installed version of Chrome on Linux. |
| 767 const char kProductVersion[] = "product-version"; | 772 const char kProductVersion[] = "product-version"; |
| 768 | 773 |
| 769 // Starts the sampling based profiler for the browser process at | 774 // Starts the sampling based profiler for the browser process at |
| 770 // startup. This will only work if chrome has been built with | 775 // startup. This will only work if chrome has been built with |
| 771 // the gyp variable profiling=1. The output will go to the value | 776 // the gyp variable profiling=1. The output will go to the value |
| (...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1146 | 1151 |
| 1147 // ----------------------------------------------------------------------------- | 1152 // ----------------------------------------------------------------------------- |
| 1148 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1153 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1149 // | 1154 // |
| 1150 // You were going to just dump your switches here, weren't you? Instead, | 1155 // You were going to just dump your switches here, weren't you? Instead, |
| 1151 // please put them in alphabetical order above, or in order inside the | 1156 // please put them in alphabetical order above, or in order inside the |
| 1152 // appropriate ifdef at the bottom. The order should match the header. | 1157 // appropriate ifdef at the bottom. The order should match the header. |
| 1153 // ----------------------------------------------------------------------------- | 1158 // ----------------------------------------------------------------------------- |
| 1154 | 1159 |
| 1155 } // namespace switches | 1160 } // namespace switches |
| OLD | NEW |