diff options
author | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-16 20:32:14 +0000 |
---|---|---|
committer | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-16 20:32:14 +0000 |
commit | 7a3439b3d169047c1c07f28a6f9cda341328980b (patch) | |
tree | 7589ad8ea788020fdc8e1bd1a1b00d4717bd3a32 /printing | |
parent | 5d7e3c449d8c0ec806ef03187983f7c49889a9aa (diff) | |
download | chromium_src-7a3439b3d169047c1c07f28a6f9cda341328980b.zip chromium_src-7a3439b3d169047c1c07f28a6f9cda341328980b.tar.gz chromium_src-7a3439b3d169047c1c07f28a6f9cda341328980b.tar.bz2 |
[Print Preview]: Added code to support pdf fit to page functionality.
BUG=85132
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10083060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137498 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing')
-rw-r--r-- | printing/print_job_constants.cc | 4 | ||||
-rw-r--r-- | printing/print_job_constants.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/printing/print_job_constants.cc b/printing/print_job_constants.cc index c5f0105..5448d26 100644 --- a/printing/print_job_constants.cc +++ b/printing/print_job_constants.cc @@ -42,6 +42,10 @@ const char kSettingDeviceName[] = "deviceName"; // Print job duplex mode. const char kSettingDuplexMode[] = "duplex"; +// Option to fit source page contents to printer paper size: true if +// selected else false. +const char kSettingFitToPageEnabled[] = "fitToPageEnabled"; + // True, when a new set of draft preview data is required. const char kSettingGenerateDraftData[] = "generateDraftData"; diff --git a/printing/print_job_constants.h b/printing/print_job_constants.h index 5f63f8f..b57495b 100644 --- a/printing/print_job_constants.h +++ b/printing/print_job_constants.h @@ -22,6 +22,7 @@ PRINTING_EXPORT extern const char kSettingContentWidth[]; PRINTING_EXPORT extern const char kSettingCopies[]; PRINTING_EXPORT extern const char kSettingDeviceName[]; PRINTING_EXPORT extern const char kSettingDuplexMode[]; +PRINTING_EXPORT extern const char kSettingFitToPageEnabled[]; PRINTING_EXPORT extern const char kSettingGenerateDraftData[]; PRINTING_EXPORT extern const char kSettingHeaderFooterEnabled[]; PRINTING_EXPORT extern const int kSettingHeaderFooterCharacterSpacing; |