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

Unified Diff: ppapi/proxy/ppapi_messages.h

Issue 375253002: [Chrome] Support NumCopies print preset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review feedback (oop proxy, out-param) Created 6 years, 3 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/proxy/ppapi_messages.h
diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h
index de7caf37233266c3b621c2d9fd0b1c19fa19e06c..7d4b738dc8b1b656d36c84746f98972a682547f9 100644
--- a/ppapi/proxy/ppapi_messages.h
+++ b/ppapi/proxy/ppapi_messages.h
@@ -109,6 +109,8 @@ 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_PrintPresetOptions_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,10 @@ 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_PrintPresetOptions_Dev /* print preset options */,
+ PP_Bool /* result */)
// Find
IPC_MESSAGE_ROUTED2(PpapiPluginMsg_PPPFind_StartFind,

Powered by Google App Engine
This is Rietveld 408576698