Index: ppapi/proxy/ppapi_messages.h |
diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h |
index 766180b69d3a35c02ca53e5765cf1dc0f4c353de..275e39ceca150e9b2ac9b0e1caed7dcdaca23c98 100644 |
--- a/ppapi/proxy/ppapi_messages.h |
+++ b/ppapi/proxy/ppapi_messages.h |
@@ -50,6 +50,7 @@ |
#include "ppapi/c/private/ppb_pdf.h" |
#include "ppapi/c/private/ppb_talk_private.h" |
#include "ppapi/c/private/ppp_flash_browser_operations.h" |
+#include "ppapi/c/private/ppp_pdf.h" |
#include "ppapi/proxy/host_resolver_private_resource.h" |
#include "ppapi/proxy/network_list_resource.h" |
#include "ppapi/proxy/ppapi_param_traits.h" |
@@ -109,6 +110,7 @@ IPC_ENUM_TRAITS_MAX_VALUE(PP_NetworkList_Type, PP_NETWORKLIST_TYPE_CELLULAR) |
IPC_ENUM_TRAITS(PP_PrintOrientation_Dev) |
IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev) |
IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev) |
+IPC_ENUM_TRAITS_MAX_VALUE(PP_PrintDuplexMode_Dev, PP_PRINTDUPLEXMODE_SHORT_EDGE) |
IPC_ENUM_TRAITS(PP_PrivateFontCharset) |
IPC_ENUM_TRAITS(PP_ResourceImage) |
IPC_ENUM_TRAITS(PP_ResourceString) |
@@ -205,6 +207,19 @@ IPC_STRUCT_TRAITS_BEGIN(PP_PrintSettings_Dev) |
IPC_STRUCT_TRAITS_MEMBER(format) |
IPC_STRUCT_TRAITS_END() |
+IPC_STRUCT_TRAITS_BEGIN(PP_PrintRange_Dev) |
+ IPC_STRUCT_TRAITS_MEMBER(from) |
+ IPC_STRUCT_TRAITS_MEMBER(to) |
+IPC_STRUCT_TRAITS_END() |
+ |
+IPC_STRUCT_TRAITS_BEGIN(PP_PdfPrintPresetOptions_Dev) |
+ IPC_STRUCT_TRAITS_MEMBER(is_scaling_disabled) |
+ IPC_STRUCT_TRAITS_MEMBER(copies) |
+ IPC_STRUCT_TRAITS_MEMBER(duplex) |
+ IPC_STRUCT_TRAITS_MEMBER(page_range) |
+ IPC_STRUCT_TRAITS_MEMBER(page_range_count) |
+IPC_STRUCT_TRAITS_END() |
+ |
IPC_STRUCT_TRAITS_BEGIN(PP_URLComponent_Dev) |
IPC_STRUCT_TRAITS_MEMBER(begin) |
IPC_STRUCT_TRAITS_MEMBER(len) |
@@ -698,6 +713,11 @@ IPC_MESSAGE_ROUTED1(PpapiMsg_PPPMouseLock_MouseLockLost, |
IPC_MESSAGE_ROUTED2(PpapiMsg_PPPPdf_Rotate, |
PP_Instance /* instance */, |
bool /* clockwise */) |
+IPC_SYNC_MESSAGE_ROUTED1_2( |
+ PpapiMsg_PPPPdf_PrintPresetOptions, |
+ PP_Instance /* instance */, |
+ PP_PdfPrintPresetOptions_Dev /* print preset options */, |
+ PP_Bool /* result */) |
// Find |
IPC_MESSAGE_ROUTED2(PpapiPluginMsg_PPPFind_StartFind, |