summaryrefslogtreecommitdiffstats
path: root/printing/print_job_constants.h
diff options
context:
space:
mode:
authorkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-26 15:46:10 +0000
committerkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-26 15:46:10 +0000
commita44b0c14173acb28992cd7d843a0de25ee8e33ed (patch)
tree3f7d4c2ad68126886f1e16df486b3ffee1cd380d /printing/print_job_constants.h
parent16aec87fc5c277db901537b5bd56ac09f6b18b11 (diff)
downloadchromium_src-a44b0c14173acb28992cd7d843a0de25ee8e33ed.zip
chromium_src-a44b0c14173acb28992cd7d843a0de25ee8e33ed.tar.gz
chromium_src-a44b0c14173acb28992cd7d843a0de25ee8e33ed.tar.bz2
PrintPreview: [LINUX] Set color and duplex setting values in print job ticket.
BUG=79931 TEST=Enable print preview in linux. Preview a webpage. Set the color and duplex settings and print the data. Observe the output. Review URL: http://codereview.chromium.org/6905007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83021 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/print_job_constants.h')
-rw-r--r--printing/print_job_constants.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/printing/print_job_constants.h b/printing/print_job_constants.h
index 1005ca3..5fe4bc6 100644
--- a/printing/print_job_constants.h
+++ b/printing/print_job_constants.h
@@ -18,6 +18,13 @@ extern const char kSettingPageRangeTo[];
extern const char kSettingPrinterName[];
extern const char kSettingPrintToPDF[];
+// Print job duplex mode values.
+enum DuplexMode {
+ SIMPLEX,
+ LONG_EDGE,
+ SHORT_EDGE,
+};
+
} // namespace printing
#endif // PRINTING_PRINT_JOB_CONSTANTS_H_