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

Unified Diff: ppapi/api/dev/pp_print_settings_dev.idl

Issue 974183003: Print Preview: Support the duplex preset in PDFs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 5 years, 10 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: ppapi/api/dev/pp_print_settings_dev.idl
diff --git a/ppapi/api/dev/pp_print_settings_dev.idl b/ppapi/api/dev/pp_print_settings_dev.idl
index fafcc08b28bc392e7d21c8d70b24461ab9ca6149..5dc3aea5830df7baa918bc9f9d179685fbf44e1a 100644
--- a/ppapi/api/dev/pp_print_settings_dev.idl
+++ b/ppapi/api/dev/pp_print_settings_dev.idl
@@ -30,6 +30,14 @@ enum PP_PrintScalingOption_Dev {
PP_PRINTSCALINGOPTION_SOURCE_SIZE = 2
};
+[assert_size(4)]
+enum PP_PrintDuplexMode_Dev {
+ PP_PRINTDUPLEXMODE_NONE = 0,
+ PP_PRINTDUPLEXMODE_SIMPLEX = 1,
+ PP_PRINTDUPLEXMODE_SHORT_EDGE = 2,
+ PP_PRINTDUPLEXMODE_LONG_EDGE = 3
+};
raymes 2015/03/05 03:28:20 Since this is only used in ppapi/c/private/ppp_pdf
Lei Zhang 2015/03/05 05:52:45 Done. I renamed it from PP_Print to PP_Private tho
+
[assert_size(60)]
struct PP_PrintSettings_Dev {
/** This is the size of the printable area in points (1/72 of an inch). */

Powered by Google App Engine
This is Rietveld 408576698