Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 10836330: Rasterize page before printing. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/renderer/print_web_view_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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.
1070 const char kPrintRaster[] = "print-raster";
1071
1069 // Disable saving the printer and settings between sessions. 1072 // Disable saving the printer and settings between sessions.
1070 const char kPrintSettingsReset[] = "print-settings-reset"; 1073 const char kPrintSettingsReset[] = "print-settings-reset";
1071 1074
1072 // Outputs the product version information and quit. Used as an internal api to 1075 // Outputs the product version information and quit. Used as an internal api to
1073 // detect the installed version of Chrome on Linux. 1076 // detect the installed version of Chrome on Linux.
1074 const char kProductVersion[] = "product-version"; 1077 const char kProductVersion[] = "product-version";
1075 1078
1076 // Selects directory of profile to associate with the first browser launched. 1079 // Selects directory of profile to associate with the first browser launched.
1077 const char kProfileDirectory[] = "profile-directory"; 1080 const char kProfileDirectory[] = "profile-directory";
1078 1081
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
1589 1592
1590 // ----------------------------------------------------------------------------- 1593 // -----------------------------------------------------------------------------
1591 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1594 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1592 // 1595 //
1593 // You were going to just dump your switches here, weren't you? Instead, please 1596 // 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 1597 // put them in alphabetical order above, or in order inside the appropriate
1595 // ifdef at the bottom. The order should match the header. 1598 // ifdef at the bottom. The order should match the header.
1596 // ----------------------------------------------------------------------------- 1599 // -----------------------------------------------------------------------------
1597 1600
1598 } // namespace switches 1601 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/renderer/print_web_view_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698