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

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: 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: 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 afe40161aad25cc88b9f43e1ff0ee15ea7d51810..93b272cd37ee83e77a0d9df73622abee480670e7 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_);
/**
@@ -1322,6 +1323,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