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

Unified Diff: ppapi/c/dev/pp_print_settings_dev.h

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 | « ppapi/api/dev/pp_print_settings_dev.idl ('k') | ppapi/c/private/ppp_pdf.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/dev/pp_print_settings_dev.h
diff --git a/ppapi/c/dev/pp_print_settings_dev.h b/ppapi/c/dev/pp_print_settings_dev.h
index 93e21d4300fff25066ae300f6fbfa23d3e939e0d..8a9f42c64561f145423d5abb6dbc070c75b87ae1 100644
--- a/ppapi/c/dev/pp_print_settings_dev.h
+++ b/ppapi/c/dev/pp_print_settings_dev.h
@@ -47,6 +47,14 @@ typedef enum {
PP_PRINTSCALINGOPTION_SOURCE_SIZE = 2
} PP_PrintScalingOption_Dev;
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_PrintScalingOption_Dev, 4);
+
+typedef enum {
+ PP_PRINTDUPLEXMODE_NONE = 0,
+ PP_PRINTDUPLEXMODE_SIMPLEX = 1,
+ PP_PRINTDUPLEXMODE_LONG_EDGE = 2,
+ PP_PRINTDUPLEXMODE_SHORT_EDGE = 3
+} PP_PrintDuplexMode_Dev;
+PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_PrintDuplexMode_Dev, 4);
/**
* @}
*/
@@ -68,6 +76,12 @@ struct PP_PrintSettings_Dev {
PP_PrintOutputFormat_Dev format;
};
PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_PrintSettings_Dev, 60);
+
+struct PP_PrintRange_Dev {
+ int32_t from;
+ int32_t to;
+};
+PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_PrintRange_Dev, 8);
/**
* @}
*/
« no previous file with comments | « ppapi/api/dev/pp_print_settings_dev.idl ('k') | ppapi/c/private/ppp_pdf.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698