Index: ppapi/c/private/ppp_pdf.h |
diff --git a/ppapi/c/private/ppp_pdf.h b/ppapi/c/private/ppp_pdf.h |
index c3678e43d9f070e76fca2502f49495bcdde9394b..2a761b8618aaac0011f7cff8cdf7467a9050474b 100644 |
--- a/ppapi/c/private/ppp_pdf.h |
+++ b/ppapi/c/private/ppp_pdf.h |
@@ -40,8 +40,14 @@ struct PP_PdfPrintPresetOptions_Dev { |
// DuplexMode to be used for printing. |
PP_PrivateDuplexMode_Dev duplex; |
+ |
+ // True if all the pages in the PDF are the same size. |
+ PP_Bool is_page_size_uniform; |
+ |
+ // Only valid if |is_page_size_uniform| is true. The page size. |
+ PP_Size uniform_page_size; |
}; |
-PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_PdfPrintPresetOptions_Dev, 12); |
+PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_PdfPrintPresetOptions_Dev, 24); |
struct PPP_Pdf_1_1 { |
// Returns an absolute URL if the position is over a link. |