summaryrefslogtreecommitdiffstats
path: root/pdf/pdf_engine.h
diff options
context:
space:
mode:
authorn.bansal <n.bansal@samsung.com>2014-11-19 00:38:48 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-19 08:39:13 +0000
commit64c4daa7d64fc28efd1e49bf3548323eb67a32ec (patch)
tree2e2255c3caa533e38d359cf139e9d598f8d6938d /pdf/pdf_engine.h
parent8747c1d912e10bbb8fe746ff6a06bb5a3d067efc (diff)
downloadchromium_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.h2
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.