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 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1127 // "--prerender=auto". | 1127 // "--prerender=auto". |
1128 // auto: Allow field trial selection in both prerender and prefetch. | 1128 // auto: Allow field trial selection in both prerender and prefetch. |
1129 const char kPrerenderModeSwitchValueAuto[] = "auto"; | 1129 const char kPrerenderModeSwitchValueAuto[] = "auto"; |
1130 // disabled: No prerendering or prefetching. | 1130 // disabled: No prerendering or prefetching. |
1131 const char kPrerenderModeSwitchValueDisabled[] = "disabled"; | 1131 const char kPrerenderModeSwitchValueDisabled[] = "disabled"; |
1132 // enabled: Both prerendering and prefetching. | 1132 // enabled: Both prerendering and prefetching. |
1133 const char kPrerenderModeSwitchValueEnabled[] = "enabled"; | 1133 const char kPrerenderModeSwitchValueEnabled[] = "enabled"; |
1134 // prefetch_only: No prerendering, but enables prefetching. | 1134 // prefetch_only: No prerendering, but enables prefetching. |
1135 const char kPrerenderModeSwitchValuePrefetchOnly[] = "prefetch_only"; | 1135 const char kPrerenderModeSwitchValuePrefetchOnly[] = "prefetch_only"; |
1136 | 1136 |
| 1137 #if defined(OS_WIN) |
1137 // Enable conversion from vector to raster for any page. | 1138 // Enable conversion from vector to raster for any page. |
1138 const char kPrintRaster[] = "print-raster"; | 1139 const char kPrintRaster[] = "print-raster"; |
| 1140 #endif |
1139 | 1141 |
1140 // Use IPv6 only for privet HTTP. | 1142 // Use IPv6 only for privet HTTP. |
1141 const char kPrivetIPv6Only[] = "privet-ipv6-only"; | 1143 const char kPrivetIPv6Only[] = "privet-ipv6-only"; |
1142 | 1144 |
1143 // Outputs the product version information and quit. Used as an internal api to | 1145 // Outputs the product version information and quit. Used as an internal api to |
1144 // detect the installed version of Chrome on Linux. | 1146 // detect the installed version of Chrome on Linux. |
1145 const char kProductVersion[] = "product-version"; | 1147 const char kProductVersion[] = "product-version"; |
1146 | 1148 |
1147 // Selects directory of profile to associate with the first browser launched. | 1149 // Selects directory of profile to associate with the first browser launched. |
1148 const char kProfileDirectory[] = "profile-directory"; | 1150 const char kProfileDirectory[] = "profile-directory"; |
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1641 | 1643 |
1642 // ----------------------------------------------------------------------------- | 1644 // ----------------------------------------------------------------------------- |
1643 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1645 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1644 // | 1646 // |
1645 // You were going to just dump your switches here, weren't you? Instead, please | 1647 // You were going to just dump your switches here, weren't you? Instead, please |
1646 // put them in alphabetical order above, or in order inside the appropriate | 1648 // put them in alphabetical order above, or in order inside the appropriate |
1647 // ifdef at the bottom. The order should match the header. | 1649 // ifdef at the bottom. The order should match the header. |
1648 // ----------------------------------------------------------------------------- | 1650 // ----------------------------------------------------------------------------- |
1649 | 1651 |
1650 } // namespace switches | 1652 } // namespace switches |
OLD | NEW |