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

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

Issue 8585017: PrintPreview: Honor the print media page size and margin values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years, 1 month 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/layout_settings.js
diff --git a/chrome/browser/resources/print_preview/layout_settings.js b/chrome/browser/resources/print_preview/layout_settings.js
index 7f84e146f4d4e2cb1e435703f1a7ff1956d3d564..71ff06c1e9bc23c82f42583000bce3717a876757 100644
--- a/chrome/browser/resources/print_preview/layout_settings.js
+++ b/chrome/browser/resources/print_preview/layout_settings.js
@@ -100,7 +100,7 @@ cr.define('print_preview', function() {
* @private
*/
onPDFLoaded_: function() {
- this.fadeInOut_(!previewModifiable);
+ this.fadeInOut_(!previewModifiable || hasPageSizeStyle);
},
/**
« no previous file with comments | « no previous file | chrome/browser/resources/print_preview/print_preview.js » ('j') | chrome/renderer/print_web_view_helper.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698