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); |
/** |
* @} |
*/ |