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

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

Issue 294923005: Add media size capability to PDF printer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 ac3a0ab789135db2746d6fe3b522398b759867d9..1c75663fc417022cef558f7477d9ddb2f29c9e2b 100644
--- a/chrome/browser/resources/print_preview/print_preview.js
+++ b/chrome/browser/resources/print_preview/print_preview.js
@@ -247,6 +247,7 @@ cr.define('print_preview', function() {
this.setIsEnabled_(false);
}
this.nativeLayer_.startGetInitialSettings();
+ this.nativeLayer_.startGetPdfCapabilities();
Vitaly Buka (NO REVIEWS) 2014/05/20 22:52:19 don't need to start this until PDF is selected.
cr.ui.FocusOutlineManager.forDocument(document);
},

Powered by Google App Engine
This is Rietveld 408576698