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

Unified Diff: components/printing/common/print_messages.cc

Issue 2524143003: Print Preview: Add option to rasterize PDFs and add JPEG compression. (Closed)
Patch Set: Created 4 years, 1 month 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: components/printing/common/print_messages.cc
diff --git a/components/printing/common/print_messages.cc b/components/printing/common/print_messages.cc
index 5820bb15838fdaadbfeace770005476cac26b8ec..ccc5b40ea3af3768ee9c7af026f7eac5012832b9 100644
--- a/components/printing/common/print_messages.cc
+++ b/components/printing/common/print_messages.cc
@@ -50,6 +50,7 @@ PrintMsg_Print_Params::PrintMsg_Print_Params()
dpi(0),
scale_factor(1.0f),
desired_dpi(0),
+ rasterize_pdf(false),
document_cookie(0),
selection_only(false),
supports_alpha_blend(false),
@@ -77,6 +78,7 @@ void PrintMsg_Print_Params::Reset() {
dpi = 0;
scale_factor = 1.0f;
desired_dpi = 0;
+ rasterize_pdf = false;
document_cookie = 0;
selection_only = false;
supports_alpha_blend = false;

Powered by Google App Engine
This is Rietveld 408576698