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

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

Issue 1407353003: Expose more paper sizes when printing to PDF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update AUTHORS file with right mail address Created 4 years, 11 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 | « AUTHORS ('k') | chrome/browser/ui/webui/print_preview/print_preview_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/print_preview/data/destination_store.js
diff --git a/chrome/browser/resources/print_preview/data/destination_store.js b/chrome/browser/resources/print_preview/data/destination_store.js
index 86465a5a46c7ad18f6c21d0bdbbc8b2f718f2b60..ef00b68646241803581709486942ff60d80981fe 100644
--- a/chrome/browser/resources/print_preview/data/destination_store.js
+++ b/chrome/browser/resources/print_preview/data/destination_store.js
@@ -341,10 +341,14 @@ cr.define('print_preview', function() {
var mediaSize = capabilities.printer.media_size;
if (mediaSize) {
var mediaDisplayNames = {
- 'ISO_A4': 'A4',
+ 'ISO_A0': 'A0',
+ 'ISO_A1': 'A1',
+ 'ISO_A2': 'A2',
'ISO_A3': 'A3',
- 'NA_LETTER': 'Letter',
+ 'ISO_A4': 'A4',
+ 'ISO_A5': 'A5',
'NA_LEGAL': 'Legal',
+ 'NA_LETTER': 'Letter',
'NA_LEDGER': 'Tabloid'
};
for (var i = 0, media; media = mediaSize.option[i]; i++) {
« no previous file with comments | « AUTHORS ('k') | chrome/browser/ui/webui/print_preview/print_preview_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698