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

Unified Diff: third_party/WebKit/public/web/WebPrintParams.h

Issue 2524143003: Print Preview: Add option to rasterize PDFs and add JPEG compression. (Closed)
Patch Set: Clean up JS Created 4 years 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: third_party/WebKit/public/web/WebPrintParams.h
diff --git a/third_party/WebKit/public/web/WebPrintParams.h b/third_party/WebKit/public/web/WebPrintParams.h
index a28f836fd9ba7863f2a8a59a28e3093f170b76bc..800f2f87ea299a7fd0d0f1dadbd14d75554752a9 100644
--- a/third_party/WebKit/public/web/WebPrintParams.h
+++ b/third_party/WebKit/public/web/WebPrintParams.h
@@ -51,6 +51,9 @@ struct WebPrintParams {
// Specifies user selected DPI for printing.
int printerDPI;
+ // Specifies whether to print PDFs as image.
+ bool rasterizePDF = false;
+
// Specifies whether to reduce/enlarge/retain the print contents to fit the
// printable area. (This is used only by plugin printing).
WebPrintScalingOption printScalingOption;

Powered by Google App Engine
This is Rietveld 408576698