diff options
author | n.bansal <n.bansal@samsung.com> | 2014-11-19 00:38:48 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-19 08:39:13 +0000 |
commit | 64c4daa7d64fc28efd1e49bf3548323eb67a32ec (patch) | |
tree | 2e2255c3caa533e38d359cf139e9d598f8d6938d /pdf/pdf_engine.h | |
parent | 8747c1d912e10bbb8fe746ff6a06bb5a3d067efc (diff) | |
download | chromium_src-64c4daa7d64fc28efd1e49bf3548323eb67a32ec.zip chromium_src-64c4daa7d64fc28efd1e49bf3548323eb67a32ec.tar.gz chromium_src-64c4daa7d64fc28efd1e49bf3548323eb67a32ec.tar.bz2 |
Support NumCopies print preset
Chrome side changes to support NumCopies print preset option.
Copies in print preview dialog should be set to value set for
NumCopies in pdf source document.
BUG=169120
Review URL: https://codereview.chromium.org/375253002
Cr-Commit-Position: refs/heads/master@{#304785}
Diffstat (limited to 'pdf/pdf_engine.h')
-rw-r--r-- | pdf/pdf_engine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pdf/pdf_engine.h b/pdf/pdf_engine.h index b5bc95d..cb53d3e 100644 --- a/pdf/pdf_engine.h +++ b/pdf/pdf_engine.h @@ -244,6 +244,8 @@ class PDFEngine { // Gets the PDF document's print scaling preference. True if the document can // be scaled to fit. virtual bool GetPrintScaling() = 0; + // Returns number of copies to be printed. + virtual int GetCopiesToPrint() = 0; // Append blank pages to make a 1-page document to a |num_pages| document. // Always retain the first page data. |