diff options
author | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-17 20:20:40 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-17 20:20:40 +0000 |
commit | d75a0317e887bd34d5dcd698589f4f2fd58f03bc (patch) | |
tree | 18756fbb64afbeec19ef30173da6916f359d48f9 /printing | |
parent | 33d73079fae63ad533660d454d863f1925d331d2 (diff) | |
download | chromium_src-d75a0317e887bd34d5dcd698589f4f2fd58f03bc.zip chromium_src-d75a0317e887bd34d5dcd698589f4f2fd58f03bc.tar.gz chromium_src-d75a0317e887bd34d5dcd698589f4f2fd58f03bc.tar.bz2 |
When printing a PDF, query and use the print scaling disabled option. Also, some general clean ups.
BUG=67091, 92045, 92218
TEST=Print a PDF with print scaling disabled and see that it takes up the entire page.
Review URL: http://codereview.chromium.org/8312003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105893 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing')
-rw-r--r-- | printing/print_job_constants.cc | 2 | ||||
-rw-r--r-- | printing/print_job_constants.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/printing/print_job_constants.cc b/printing/print_job_constants.cc index f07a460..adebd14 100644 --- a/printing/print_job_constants.cc +++ b/printing/print_job_constants.cc @@ -111,6 +111,8 @@ const char kSettingPageRangeFrom[] = "from"; // The last page of a page range. (1-based) const char kSettingPageRangeTo[] = "to"; +const char kSettingPreviewModifiable[] = "previewModifiable"; + // Printer name. const char kSettingPrinterName[] = "printerName"; diff --git a/printing/print_job_constants.h b/printing/print_job_constants.h index 958b647..b39aed5 100644 --- a/printing/print_job_constants.h +++ b/printing/print_job_constants.h @@ -42,6 +42,7 @@ PRINTING_EXPORT extern const char kSettingMarginsType[]; PRINTING_EXPORT extern const char kSettingPageRange[]; PRINTING_EXPORT extern const char kSettingPageRangeFrom[]; PRINTING_EXPORT extern const char kSettingPageRangeTo[]; +PRINTING_EXPORT extern const char kSettingPreviewModifiable[]; PRINTING_EXPORT extern const char kSettingPrinterName[]; PRINTING_EXPORT extern const char kSettingPrintToPDF[]; |