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

Unified Diff: chrome/browser/ui/webui/print_preview/print_preview_handler.cc

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 | « chrome/browser/resources/print_preview/data/destination_store.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/print_preview/print_preview_handler.cc
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler.cc b/chrome/browser/ui/webui/print_preview/print_preview_handler.cc
index bff5620d03866cbeb64c6cb5c25e78517a5e99a9..3e2e09d2087a0c781050ba86c14d00002556ddd5 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_handler.cc
+++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.cc
@@ -359,10 +359,14 @@ scoped_ptr<base::DictionaryValue> GetPdfCapabilitiesOnFileThread(
color.SaveTo(&description);
static const cloud_devices::printer::MediaType kPdfMedia[] = {
- ISO_A4,
+ ISO_A0,
+ ISO_A1,
+ ISO_A2,
ISO_A3,
- NA_LETTER,
+ ISO_A4,
+ ISO_A5,
NA_LEGAL,
+ NA_LETTER,
NA_LEDGER
};
const gfx::Size default_media_size = GetDefaultPdfMediaSizeMicrons();
« no previous file with comments | « chrome/browser/resources/print_preview/data/destination_store.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698