diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-23 01:58:22 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-23 01:58:22 +0000 |
commit | 06cb23886ba8f1eec7e6ad3217a76051b9079579 (patch) | |
tree | 6759a1f24d2715d9ad23a87dda2482fc58b318c8 /printing | |
parent | 4724e4139b6e7c1d48acee1b788ab0c1598a9406 (diff) | |
download | chromium_src-06cb23886ba8f1eec7e6ad3217a76051b9079579.zip chromium_src-06cb23886ba8f1eec7e6ad3217a76051b9079579.tar.gz chromium_src-06cb23886ba8f1eec7e6ad3217a76051b9079579.tar.bz2 |
Print Preview: Print the entire page range since the preview only contains the user selected pages.
BUG=none
TEST=Only a 3 page PDF, select page 3, print.
Review URL: http://codereview.chromium.org/6895015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82767 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing')
-rw-r--r-- | printing/print_job_constants.cc | 9 | ||||
-rw-r--r-- | printing/print_job_constants.h | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/printing/print_job_constants.cc b/printing/print_job_constants.cc index 21a0199..82f9adf 100644 --- a/printing/print_job_constants.cc +++ b/printing/print_job_constants.cc @@ -21,6 +21,15 @@ const char kSettingDuplexMode[] = "duplex"; // Page orientation: true for landscape, false for portrait. const char kSettingLandscape[] = "landscape"; +// A page range. +const char kSettingPageRange[] = "pageRange"; + +// The first page of a page range. (1-based) +const char kSettingPageRangeFrom[] = "from"; + +// The last page of a page range. (1-based) +const char kSettingPageRangeTo[] = "to"; + // Printer name. const char kSettingPrinterName[] = "printerName"; diff --git a/printing/print_job_constants.h b/printing/print_job_constants.h index ec8ca8c..1005ca3 100644 --- a/printing/print_job_constants.h +++ b/printing/print_job_constants.h @@ -12,6 +12,9 @@ extern const char kSettingColor[]; extern const char kSettingCopies[]; extern const char kSettingDuplexMode[]; extern const char kSettingLandscape[]; +extern const char kSettingPageRange[]; +extern const char kSettingPageRangeFrom[]; +extern const char kSettingPageRangeTo[]; extern const char kSettingPrinterName[]; extern const char kSettingPrintToPDF[]; |