OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Multiply-included message header, no traditional include guard. | 5 // Multiply-included message header, no traditional include guard. |
6 #include <string> | 6 #include <string> |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 uint32_t /* request_id */) | 657 uint32_t /* request_id */) |
658 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_ResetDecoder, | 658 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_ResetDecoder, |
659 PP_Instance /* instance */, | 659 PP_Instance /* instance */, |
660 PP_DecryptorStreamType /* decoder_type */, | 660 PP_DecryptorStreamType /* decoder_type */, |
661 uint32_t /* request_id */) | 661 uint32_t /* request_id */) |
662 IPC_MESSAGE_ROUTED4(PpapiMsg_PPPContentDecryptor_DecryptAndDecode, | 662 IPC_MESSAGE_ROUTED4(PpapiMsg_PPPContentDecryptor_DecryptAndDecode, |
663 PP_Instance /* instance */, | 663 PP_Instance /* instance */, |
664 PP_DecryptorStreamType /* decoder_type */, | 664 PP_DecryptorStreamType /* decoder_type */, |
665 ppapi::proxy::PPPDecryptor_Buffer /* buffer */, | 665 ppapi::proxy::PPPDecryptor_Buffer /* buffer */, |
666 std::string /* serialized_block_info */) | 666 std::string /* serialized_block_info */) |
667 | |
668 // PPB_Talk | |
669 IPC_MESSAGE_ROUTED3( | |
670 PpapiMsg_PPBTalk_GetPermissionACK, | |
671 uint32 /* plugin_dispatcher_id */, | |
672 PP_Resource /* resource */, | |
673 int32_t /* result */) | |
674 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 667 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
675 | 668 |
676 // PPB_TCPSocket_Private. | 669 // PPB_TCPSocket_Private. |
677 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPSocket_ConnectACK, | 670 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPSocket_ConnectACK, |
678 uint32 /* plugin_dispatcher_id */, | 671 uint32 /* plugin_dispatcher_id */, |
679 uint32 /* socket_id */, | 672 uint32 /* socket_id */, |
680 bool /* succeeded */, | 673 bool /* succeeded */, |
681 PP_NetAddress_Private /* local_addr */, | 674 PP_NetAddress_Private /* local_addr */, |
682 PP_NetAddress_Private /* remote_addr */) | 675 PP_NetAddress_Private /* remote_addr */) |
683 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_SSLHandshakeACK, | 676 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_SSLHandshakeACK, |
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1239 PpapiHostMsg_PPBPDF_GetFontFileWithFallback, | 1232 PpapiHostMsg_PPBPDF_GetFontFileWithFallback, |
1240 PP_Instance /* instance */, | 1233 PP_Instance /* instance */, |
1241 ppapi::proxy::SerializedFontDescription /* description */, | 1234 ppapi::proxy::SerializedFontDescription /* description */, |
1242 int32_t /* charset */, | 1235 int32_t /* charset */, |
1243 ppapi::HostResource /* result */) | 1236 ppapi::HostResource /* result */) |
1244 IPC_SYNC_MESSAGE_ROUTED2_1( | 1237 IPC_SYNC_MESSAGE_ROUTED2_1( |
1245 PpapiHostMsg_PPBPDF_GetFontTableForPrivateFontFile, | 1238 PpapiHostMsg_PPBPDF_GetFontTableForPrivateFontFile, |
1246 ppapi::HostResource /* font_file */, | 1239 ppapi::HostResource /* font_file */, |
1247 uint32_t /* table */, | 1240 uint32_t /* table */, |
1248 std::string /* result */) | 1241 std::string /* result */) |
1249 | |
1250 | |
1251 // PPB_Talk. | |
1252 IPC_MESSAGE_ROUTED2( | |
1253 PpapiHostMsg_PPBTalk_GetPermission, | |
1254 uint32 /* plugin_dispatcher_id */, | |
1255 PP_Resource /* resource */) | |
1256 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1242 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
1257 | 1243 |
1258 // PPB_Testing. | 1244 // PPB_Testing. |
1259 IPC_SYNC_MESSAGE_ROUTED3_1( | 1245 IPC_SYNC_MESSAGE_ROUTED3_1( |
1260 PpapiHostMsg_PPBTesting_ReadImageData, | 1246 PpapiHostMsg_PPBTesting_ReadImageData, |
1261 ppapi::HostResource /* device_context_2d */, | 1247 ppapi::HostResource /* device_context_2d */, |
1262 ppapi::HostResource /* image */, | 1248 ppapi::HostResource /* image */, |
1263 PP_Point /* top_left */, | 1249 PP_Point /* top_left */, |
1264 PP_Bool /* result */) | 1250 PP_Bool /* result */) |
1265 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBTesting_GetLiveObjectsForInstance, | 1251 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBTesting_GetLiveObjectsForInstance, |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1678 // VideoCapture_Dev, plugin -> host -> plugin | 1664 // VideoCapture_Dev, plugin -> host -> plugin |
1679 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_EnumerateDevices) | 1665 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_EnumerateDevices) |
1680 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_EnumerateDevicesReply, | 1666 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_EnumerateDevicesReply, |
1681 std::vector<ppapi::DeviceRefData> /* devices */) | 1667 std::vector<ppapi::DeviceRefData> /* devices */) |
1682 IPC_MESSAGE_CONTROL3(PpapiHostMsg_VideoCapture_Open, | 1668 IPC_MESSAGE_CONTROL3(PpapiHostMsg_VideoCapture_Open, |
1683 std::string /* device_id */, | 1669 std::string /* device_id */, |
1684 PP_VideoCaptureDeviceInfo_Dev /* requested_info */, | 1670 PP_VideoCaptureDeviceInfo_Dev /* requested_info */, |
1685 uint32_t /* buffer_count */) | 1671 uint32_t /* buffer_count */) |
1686 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoCapture_OpenReply) | 1672 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoCapture_OpenReply) |
1687 | 1673 |
| 1674 // Talk ------------------------------------------------------------------------ |
| 1675 |
| 1676 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_Create) |
| 1677 |
| 1678 // Requests talk permissions. The host will respond with GetPermissionReply. |
| 1679 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_GetPermission) |
| 1680 |
| 1681 // Response to GetPermission. |
| 1682 // |
| 1683 // The result of this message is the general Pepper "result" in the ReplyParams. |
| 1684 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_GetPermissionReply) |
| 1685 |
1688 // VideoCapture_Dev, host -> plugin | 1686 // VideoCapture_Dev, host -> plugin |
1689 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VideoCapture_OnDeviceInfo, | 1687 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VideoCapture_OnDeviceInfo, |
1690 PP_VideoCaptureDeviceInfo_Dev /* info */, | 1688 PP_VideoCaptureDeviceInfo_Dev /* info */, |
1691 std::vector<ppapi::HostResource> /* buffers */, | 1689 std::vector<ppapi::HostResource> /* buffers */, |
1692 uint32_t /* buffer_size */) | 1690 uint32_t /* buffer_size */) |
1693 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 1691 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
1694 uint32_t /* status */) | 1692 uint32_t /* status */) |
1695 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 1693 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
1696 uint32_t /* error */) | 1694 uint32_t /* error */) |
1697 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 1695 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
1698 uint32_t /* buffer */) | 1696 uint32_t /* buffer */) |
1699 | 1697 |
1700 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1698 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |