summaryrefslogtreecommitdiffstats
path: root/printing/printed_document.h
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-03 23:40:27 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-03 23:40:27 +0000
commitda4eefdf3f571bd8835a2be18b267a7685c75cbd (patch)
tree465c74a28a33ebc6079e697a791313490db9fe5b /printing/printed_document.h
parent6c1319541aee6ff89c06457b46d46bbcbcfe868f (diff)
downloadchromium_src-da4eefdf3f571bd8835a2be18b267a7685c75cbd.zip
chromium_src-da4eefdf3f571bd8835a2be18b267a7685c75cbd.tar.gz
chromium_src-da4eefdf3f571bd8835a2be18b267a7685c75cbd.tar.bz2
Linux Printing: Properly print a subset of all pages.
BUG=59732 TEST=Open a 10 PDF, print pages 6,7,8 or pages 6-8. Review URL: http://codereview.chromium.org/6592093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76835 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printed_document.h')
-rw-r--r--printing/printed_document.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/printing/printed_document.h b/printing/printed_document.h
index 14e5e8c..18a6800 100644
--- a/printing/printed_document.h
+++ b/printing/printed_document.h
@@ -139,6 +139,11 @@ class PrintedDocument : public base::RefCountedThreadSafe<PrintedDocument> {
// Shrink done in comparison to desired_dpi.
double shrink_factor;
+
+#if defined(OS_POSIX) && !defined(OS_MACOSX)
+ // Page number of the first page.
+ int first_page;
+#endif
};
// Contains all the immutable stuff. All this stuff can be accessed without