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 1048 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1059 // "--prerender=auto". | 1059 // "--prerender=auto". |
| 1060 // auto: Allow field trial selection in both prerender and prefetch. | 1060 // auto: Allow field trial selection in both prerender and prefetch. |
| 1061 const char kPrerenderModeSwitchValueAuto[] = "auto"; | 1061 const char kPrerenderModeSwitchValueAuto[] = "auto"; |
| 1062 // disabled: No prerendering or prefetching. | 1062 // disabled: No prerendering or prefetching. |
| 1063 const char kPrerenderModeSwitchValueDisabled[] = "disabled"; | 1063 const char kPrerenderModeSwitchValueDisabled[] = "disabled"; |
| 1064 // enabled: Both prerendering and prefetching. | 1064 // enabled: Both prerendering and prefetching. |
| 1065 const char kPrerenderModeSwitchValueEnabled[] = "enabled"; | 1065 const char kPrerenderModeSwitchValueEnabled[] = "enabled"; |
| 1066 // prefetch_only: No prerendering, but enables prefetching. | 1066 // prefetch_only: No prerendering, but enables prefetching. |
| 1067 const char kPrerenderModeSwitchValuePrefetchOnly[] = "prefetch_only"; | 1067 const char kPrerenderModeSwitchValuePrefetchOnly[] = "prefetch_only"; |
| 1068 | 1068 |
| 1069 // Enable conversion from vector to raster for any page. | |
|
Albert Bodenhamer
2012/08/20 18:18:10
I think we should probably also expose these in ab
Vitaly Buka (NO REVIEWS)
2012/08/21 19:40:54
Done.
| |
| 1070 const char kPrintRaster[] = "print-raster"; | |
| 1071 // Enable conversion from vector to raster for pages where main frame is plugin. | |
| 1072 const char kPrintRasterPlugins[] = "print-raster-plugins"; | |
| 1073 // Raster size in pixels. | |
| 1074 const char kPrintRasterSize[] = "print-raster-size"; | |
| 1075 | |
| 1069 // Disable saving the printer and settings between sessions. | 1076 // Disable saving the printer and settings between sessions. |
| 1070 const char kPrintSettingsReset[] = "print-settings-reset"; | 1077 const char kPrintSettingsReset[] = "print-settings-reset"; |
| 1071 | 1078 |
| 1072 // Outputs the product version information and quit. Used as an internal api to | 1079 // Outputs the product version information and quit. Used as an internal api to |
| 1073 // detect the installed version of Chrome on Linux. | 1080 // detect the installed version of Chrome on Linux. |
| 1074 const char kProductVersion[] = "product-version"; | 1081 const char kProductVersion[] = "product-version"; |
| 1075 | 1082 |
| 1076 // Selects directory of profile to associate with the first browser launched. | 1083 // Selects directory of profile to associate with the first browser launched. |
| 1077 const char kProfileDirectory[] = "profile-directory"; | 1084 const char kProfileDirectory[] = "profile-directory"; |
| 1078 | 1085 |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1589 | 1596 |
| 1590 // ----------------------------------------------------------------------------- | 1597 // ----------------------------------------------------------------------------- |
| 1591 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1598 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1592 // | 1599 // |
| 1593 // You were going to just dump your switches here, weren't you? Instead, please | 1600 // You were going to just dump your switches here, weren't you? Instead, please |
| 1594 // put them in alphabetical order above, or in order inside the appropriate | 1601 // put them in alphabetical order above, or in order inside the appropriate |
| 1595 // ifdef at the bottom. The order should match the header. | 1602 // ifdef at the bottom. The order should match the header. |
| 1596 // ----------------------------------------------------------------------------- | 1603 // ----------------------------------------------------------------------------- |
| 1597 | 1604 |
| 1598 } // namespace switches | 1605 } // namespace switches |
| OLD | NEW |