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

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

Issue 8312003: When printing a PDF, query and use the print scaling disabled option. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: indent 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
« no previous file with comments | « no previous file | chrome/renderer/print_web_view_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 600ec64bce868164591ca96f9f39691cab2b03d4..7d051d566241407776647881a82c2ea99c95541a 100644
--- a/chrome/browser/resources/print_preview/print_preview.js
+++ b/chrome/browser/resources/print_preview/print_preview.js
@@ -356,7 +356,8 @@ function getSettings() {
'headerFooterEnabled': headerFooterSettings.hasHeaderFooter(),
'marginsType': marginSettings.selectedMarginsValue,
'requestID': -1,
- 'generateDraftData': generateDraftData};
+ 'generateDraftData': generateDraftData,
+ 'previewModifiable': previewModifiable};
if (marginSettings.isCustomMarginsSelected())
settings['marginsCustom'] = marginSettings.customMargins;
« no previous file with comments | « no previous file | chrome/renderer/print_web_view_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698