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

Unified Diff: chrome/browser/resources/print_preview/print_preview.js

Issue 2524143003: Print Preview: Add option to rasterize PDFs and add JPEG compression. (Closed)
Patch Set: Add comment back 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: chrome/browser/resources/print_preview/print_preview.js
diff --git a/chrome/browser/resources/print_preview/print_preview.js b/chrome/browser/resources/print_preview/print_preview.js
index 0c5f7c9cda4444f6bdd7a5b8a1ae175e20753428..3cbe3203cd05215df3ebb154f04aff7fb9948595 100644
--- a/chrome/browser/resources/print_preview/print_preview.js
+++ b/chrome/browser/resources/print_preview/print_preview.js
@@ -188,7 +188,8 @@ cr.define('print_preview', function() {
this.printTicketStore_.fitToPage,
this.printTicketStore_.cssBackground,
this.printTicketStore_.selectionOnly,
- this.printTicketStore_.headerFooter);
+ this.printTicketStore_.headerFooter,
+ this.printTicketStore_.rasterize);
this.addChild(this.otherOptionsSettings_);
/**
@@ -1323,6 +1324,7 @@ cr.define('print_preview', function() {
<include src="data/ticket_items/fit_to_page.js">
<include src="data/ticket_items/css_background.js">
<include src="data/ticket_items/selection_only.js">
+<include src="data/ticket_items/rasterize.js">
<include src="data/ticket_items/vendor_items.js">
<include src="native_layer.js">

Powered by Google App Engine
This is Rietveld 408576698