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

Unified Diff: ppapi/c/private/ppp_pdf.h

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/c/private/ppp_pdf.h
diff --git a/ppapi/c/private/ppp_pdf.h b/ppapi/c/private/ppp_pdf.h
index d5dee379dee5a57b67a908ef2c60643e4053c305..bd4442113c0cf237773ce922c0b896cd5b7584ac 100644
--- a/ppapi/c/private/ppp_pdf.h
+++ b/ppapi/c/private/ppp_pdf.h
@@ -28,8 +28,11 @@ struct PP_PdfPrintPresetOptions_Dev {
// Number of copies to be printed.
int32_t copies;
+
+ // DuplexMode to be used for printing.
+ PP_PrintDuplexMode_Dev duplex;
};
-PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_PdfPrintPresetOptions_Dev, 8);
+PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_PdfPrintPresetOptions_Dev, 12);
struct PPP_Pdf_1_1 {
// Returns an absolute URL if the position is over a link.

Powered by Google App Engine
This is Rietveld 408576698