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

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

Issue 661083003: Assume 1 collated copy for print preview generation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/print_preview/native_layer.js
diff --git a/chrome/browser/resources/print_preview/native_layer.js b/chrome/browser/resources/print_preview/native_layer.js
index 7fc53facab09edae98570e83b7330901f663539e..5e87d9a8ba077b14d844b853e17d5cc144a4ee4c 100644
--- a/chrome/browser/resources/print_preview/native_layer.js
+++ b/chrome/browser/resources/print_preview/native_layer.js
@@ -244,8 +244,8 @@ cr.define('print_preview', function() {
// preview, they still need to be included.
'duplex': printTicketStore.duplex.getValue() ?
NativeLayer.DuplexMode.LONG_EDGE : NativeLayer.DuplexMode.SIMPLEX,
- 'copies': printTicketStore.copies.getValueAsNumber(),
- 'collate': printTicketStore.collate.getValue(),
+ 'copies': 1,
+ 'collate': true,
'shouldPrintBackgrounds': printTicketStore.cssBackground.getValue(),
'shouldPrintSelectionOnly': printTicketStore.selectionOnly.getValue()
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698