Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Unified Diff: printing/print_job_constants.h

Issue 7817013: PrintPreview: Added code to identify the printer default duplex value. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Hide the two sided option if the selected printer is PRINT-TO-PDF Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: printing/print_job_constants.h
diff --git a/printing/print_job_constants.h b/printing/print_job_constants.h
index 99b28928c23750ba02f60db0f462768ab410dec2..a1286dbaf5893e4a210e8f2ee9a115227aff8af7 100644
--- a/printing/print_job_constants.h
+++ b/printing/print_job_constants.h
@@ -54,6 +54,13 @@ enum DuplexMode {
SHORT_EDGE,
};
+// Specifies the possible default duplex setting values.
+enum DefaultDuplexSetting {
vandebo (ex-Chrome) 2011/09/07 21:55:57 Can we use the DuplexMode enum instead of introduc
kmadhusu 2011/09/07 23:21:56 Added UNKNOWN_DUPLEX_MODE in DuplexMode enum.
+ UNKNOWN = -1,
+ ONE_SIDED,
+ TWO_SIDED,
+};
+
// Specifies the horizontal alignment of the headers and footers.
enum HorizontalHeaderFooterPosition {
LEFT,
« chrome/browser/ui/webui/print_preview_handler.cc ('K') | « chrome/test/data/webui/print_preview.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698