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

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

Issue 10824322: Merge 150482 - Fix duplex defaults. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
Patch Set: Created 8 years, 4 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 | chrome/browser/resources/print_preview/data/print_ticket_store.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/print_preview/data/local_parsers.js
===================================================================
--- chrome/browser/resources/print_preview/data/local_parsers.js (revision 151785)
+++ chrome/browser/resources/print_preview/data/local_parsers.js (working copy)
@@ -49,9 +49,7 @@
if (hasDuplexCapability =
settingsInfo['printerDefaultDuplexValue'] !=
print_preview.NativeLayer.DuplexMode.UNKNOWN_DUPLEX_MODE) {
- defaultIsDuplexEnabled =
- settingsInfo['printerDefaultDuplexValue'] ==
- print_preview.NativeLayer.DuplexMode.LONG_EDGE;
+ defaultIsDuplexEnabled = settingsInfo['setDuplexAsDefault'] || false;
}
return new print_preview.ChromiumCapabilities(
« no previous file with comments | « no previous file | chrome/browser/resources/print_preview/data/print_ticket_store.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698