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

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

Issue 375253002: [Chrome] Support NumCopies print preset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 1 month 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
« no previous file with comments | « pdf/pdfium/pdfium_engine.cc ('k') | ppapi/c/dev/pp_print_settings_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..df573640959d83cb30c56238e62ed9705e66405b 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_LONG_EDGE = 2,
+ PP_PRINTDUPLEXMODE_SHORT_EDGE = 3
+};
+
[assert_size(60)]
struct PP_PrintSettings_Dev {
/** This is the size of the printable area in points (1/72 of an inch). */
@@ -43,3 +51,9 @@ struct PP_PrintSettings_Dev {
/** Note that Chrome currently only supports PDF printing. */
PP_PrintOutputFormat_Dev format;
};
+
+[assert_size(8)]
+struct PP_PrintRange_Dev {
+ int32_t from;
+ int32_t to;
+};
« no previous file with comments | « pdf/pdfium/pdfium_engine.cc ('k') | ppapi/c/dev/pp_print_settings_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698