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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 7218b010469188e8bffa0bcbed021acd55a22a33..652208cdd7f93644482d790f8505c70af4b7c1cf 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1066,6 +1066,13 @@ const char kPrerenderModeSwitchValueEnabled[] = "enabled";
// prefetch_only: No prerendering, but enables prefetching.
const char kPrerenderModeSwitchValuePrefetchOnly[] = "prefetch_only";
+// 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.
+const char kPrintRaster[] = "print-raster";
+// Enable conversion from vector to raster for pages where main frame is plugin.
+const char kPrintRasterPlugins[] = "print-raster-plugins";
+// Raster size in pixels.
+const char kPrintRasterSize[] = "print-raster-size";
+
// Disable saving the printer and settings between sessions.
const char kPrintSettingsReset[] = "print-settings-reset";

Powered by Google App Engine
This is Rietveld 408576698