diff options
Diffstat (limited to 'ppapi')
-rw-r--r-- | ppapi/proxy/ppapi_messages.h | 146 |
1 files changed, 73 insertions, 73 deletions
diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h index dcb5fa8..d4b84414 100644 --- a/ppapi/proxy/ppapi_messages.h +++ b/ppapi/proxy/ppapi_messages.h @@ -732,42 +732,12 @@ IPC_MESSAGE_ROUTED4(PpapiMsg_PPPContentDecryptor_DecryptAndDecode, PP_DecryptorStreamType /* decoder_type */, ppapi::proxy::PPPDecryptor_Buffer /* buffer */, std::string /* serialized_block_info */) -#endif // !defined(OS_NACL) && !defined(NACL_WIN64) -#if !defined(OS_NACL) && !defined(NACL_WIN64) // PPP_Instance_Private. IPC_SYNC_MESSAGE_ROUTED1_1(PpapiMsg_PPPInstancePrivate_GetInstanceObject, PP_Instance /* instance */, ppapi::proxy::SerializedVar /* result */) -// PPB_VideoDecoder_Dev. -// (Messages from renderer to plugin to notify it to run callbacks.) -IPC_MESSAGE_ROUTED3(PpapiMsg_PPBVideoDecoder_EndOfBitstreamACK, - ppapi::HostResource /* video_decoder */, - int32_t /* bitstream buffer id */, - int32_t /* PP_CompletionCallback result */) -IPC_MESSAGE_ROUTED2(PpapiMsg_PPBVideoDecoder_FlushACK, - ppapi::HostResource /* video_decoder */, - int32_t /* PP_CompletionCallback result */) -IPC_MESSAGE_ROUTED2(PpapiMsg_PPBVideoDecoder_ResetACK, - ppapi::HostResource /* video_decoder */, - int32_t /* PP_CompletionCallback result */) - -// PPP_VideoDecoder_Dev. -IPC_MESSAGE_ROUTED4(PpapiMsg_PPPVideoDecoder_ProvidePictureBuffers, - ppapi::HostResource /* video_decoder */, - uint32_t /* requested number of buffers */, - PP_Size /* dimensions of buffers */, - uint32_t /* texture_target */) -IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_DismissPictureBuffer, - ppapi::HostResource /* video_decoder */, - int32_t /* picture buffer id */) -IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_PictureReady, - ppapi::HostResource /* video_decoder */, - PP_Picture_Dev /* output picture */) -IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_NotifyError, - ppapi::HostResource /* video_decoder */, - PP_VideoDecodeError_Dev /* error */) #endif // !defined(OS_NACL) && !defined(NACL_WIN64) // Reports to the browser that a plugin has been active. @@ -1102,7 +1072,8 @@ IPC_SYNC_MESSAGE_ROUTED1_0( #if !defined(OS_NACL) && !defined(NACL_WIN64) -// PPB_VideoDecoder. +// PPB_VideoDecoder_Dev. +// (Messages from plugin to renderer.) IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVideoDecoder_Create, PP_Instance /* instance */, ppapi::HostResource /* context */, @@ -1126,15 +1097,34 @@ IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, ppapi::HostResource /* video_decoder */) -// PPB_Flash_MessageLoop. -IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlashMessageLoop_Create, - PP_Instance /* instance */, - ppapi::HostResource /* result */) -IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlashMessageLoop_Run, - ppapi::HostResource /* flash_message_loop */, - int32_t /* result */) -IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBFlashMessageLoop_Quit, - ppapi::HostResource /* flash_message_loop */) +// PPB_VideoDecoder_Dev. +// (Messages from renderer to plugin to notify it to run callbacks.) +IPC_MESSAGE_ROUTED3(PpapiMsg_PPBVideoDecoder_EndOfBitstreamACK, + ppapi::HostResource /* video_decoder */, + int32_t /* bitstream buffer id */, + int32_t /* PP_CompletionCallback result */) +IPC_MESSAGE_ROUTED2(PpapiMsg_PPBVideoDecoder_FlushACK, + ppapi::HostResource /* video_decoder */, + int32_t /* PP_CompletionCallback result */) +IPC_MESSAGE_ROUTED2(PpapiMsg_PPBVideoDecoder_ResetACK, + ppapi::HostResource /* video_decoder */, + int32_t /* PP_CompletionCallback result */) + +// PPP_VideoDecoder_Dev. +IPC_MESSAGE_ROUTED4(PpapiMsg_PPPVideoDecoder_ProvidePictureBuffers, + ppapi::HostResource /* video_decoder */, + uint32_t /* requested number of buffers */, + PP_Size /* dimensions of buffers */, + uint32_t /* texture_target */) +IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_DismissPictureBuffer, + ppapi::HostResource /* video_decoder */, + int32_t /* picture buffer id */) +IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_PictureReady, + ppapi::HostResource /* video_decoder */, + PP_Picture_Dev /* output picture */) +IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_NotifyError, + ppapi::HostResource /* video_decoder */, + PP_VideoDecodeError_Dev /* error */) #endif // !defined(OS_NACL) && !defined(NACL_WIN64) // PPB_X509Certificate_Private @@ -1396,38 +1386,6 @@ IPC_MESSAGE_CONTROL2(PpapiPluginMsg_FileSystem_ReserveQuotaReply, int64_t /* amount */, ppapi::FileSizeMap /* file_sizes */) -// Flash DRM ------------------------------------------------------------------ -IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_Create) - -// Requests the device ID. -IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_GetDeviceID) -// Reply for GetDeviceID which includes the device ID as a string. -IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetDeviceIDReply, - std::string /* id */) - -// Requests the HMONITOR corresponding to the monitor on which the instance is -// displayed. -IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_GetHmonitor) -// Reply message for GetHmonitor which contains the HMONITOR as an int64_t. -IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetHmonitorReply, - int64_t /* hmonitor */) - -// Requests the voucher file which is used to verify the integrity of the Flash -// module. A PPB_FileRef resource will be created. -IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_GetVoucherFile) -// Reply message for GetVoucherFile which contains the CreateInfo for a -// PPB_FileRef which points to the voucher file. -IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetVoucherFileReply, - ppapi::FileRefCreateInfo /* file_info */) - -// Requests a value indicating whether the monitor on which the instance is -// displayed is external. -IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_MonitorIsExternal) -// Reply message for MonitorIsExternal which contains the value indicating if -// the monitor is external. -IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_MonitorIsExternalReply, - PP_Bool /* is_external */) - // Gamepad. IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_Create) @@ -1971,6 +1929,38 @@ IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashClipboard_GetSequenceNumber, IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashClipboard_GetSequenceNumberReply, uint64_t /* sequence_number */) +// Flash DRM. +IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_Create) + +// Requests the device ID. +IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_GetDeviceID) +// Reply for GetDeviceID which includes the device ID as a string. +IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetDeviceIDReply, + std::string /* id */) + +// Requests the HMONITOR corresponding to the monitor on which the instance is +// displayed. +IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_GetHmonitor) +// Reply message for GetHmonitor which contains the HMONITOR as an int64_t. +IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetHmonitorReply, + int64_t /* hmonitor */) + +// Requests the voucher file which is used to verify the integrity of the Flash +// module. A PPB_FileRef resource will be created. +IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_GetVoucherFile) +// Reply message for GetVoucherFile which contains the CreateInfo for a +// PPB_FileRef which points to the voucher file. +IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetVoucherFileReply, + ppapi::FileRefCreateInfo /* file_info */) + +// Requests a value indicating whether the monitor on which the instance is +// displayed is external. +IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_MonitorIsExternal) +// Reply message for MonitorIsExternal which contains the value indicating if +// the monitor is external. +IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_MonitorIsExternalReply, + PP_Bool /* is_external */) + // Flash file. IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashFile_Create) IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashFile_OpenFile, @@ -2008,7 +1998,7 @@ IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashFullscreen_Create) IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashFullscreen_SetFullscreen, bool /* fullscreen */) -// FlashMenu ------------------------------------------------------------------ +// FlashMenu. // Creates the flash menu with the given data. IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashMenu_Create, @@ -2023,6 +2013,16 @@ IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashMenu_Show, IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashMenu_ShowReply, int32_t /* selected_id */) +// PPB_Flash_MessageLoop. +IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlashMessageLoop_Create, + PP_Instance /* instance */, + ppapi::HostResource /* result */) +IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlashMessageLoop_Run, + ppapi::HostResource /* flash_message_loop */, + int32_t /* result */) +IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBFlashMessageLoop_Quit, + ppapi::HostResource /* flash_message_loop */) + // PDF ------------------------------------------------------------------------ // Creates the PDF resource. |