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

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

Issue 8227034: Change print setting conventions for margins to support more options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 9 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
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 ad9ba00aa872fa5771856dc1421f00f9a8ed9681..a5ec989b2fe4bf87edc14a74a9138e013dfe4d8c 100644
--- a/chrome/browser/resources/print_preview/print_preview.js
+++ b/chrome/browser/resources/print_preview/print_preview.js
@@ -348,8 +348,8 @@ function getSettings() {
'printWithCloudPrint': printWithCloudPrint,
'isFirstRequest' : false,
'headerFooterEnabled': headerFooterSettings.hasHeaderFooter(),
- 'defaultMarginsSelected': marginSettings.isDefaultMarginsSelected(),
- 'margins': marginSettings.customMargins,
+ 'marginsType': marginSettings.marginTypeString,
+ 'marginsCustom': marginSettings.customMargins,
'requestID': -1,
'generateDraftData': generateDraftData};

Powered by Google App Engine
This is Rietveld 408576698