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 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1254 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlash_SetInstanceAlwaysOnTop, | 1254 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlash_SetInstanceAlwaysOnTop, |
1255 PP_Instance /* instance */, | 1255 PP_Instance /* instance */, |
1256 PP_Bool /* on_top */) | 1256 PP_Bool /* on_top */) |
1257 // This has to be synchronous becuase the caller may want to composite on | 1257 // This has to be synchronous becuase the caller may want to composite on |
1258 // top of the resulting text after the call is complete. | 1258 // top of the resulting text after the call is complete. |
1259 IPC_SYNC_MESSAGE_ROUTED2_1( | 1259 IPC_SYNC_MESSAGE_ROUTED2_1( |
1260 PpapiHostMsg_PPBFlash_DrawGlyphs, | 1260 PpapiHostMsg_PPBFlash_DrawGlyphs, |
1261 PP_Instance /* instance */, | 1261 PP_Instance /* instance */, |
1262 ppapi::proxy::PPBFlash_DrawGlyphs_Params /* params */, | 1262 ppapi::proxy::PPBFlash_DrawGlyphs_Params /* params */, |
1263 PP_Bool /* result */) | 1263 PP_Bool /* result */) |
1264 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetProxyForURL, | |
1265 PP_Instance /* instance */, | |
1266 std::string /* url */, | |
1267 ppapi::proxy::SerializedVar /* result */) | |
1268 IPC_SYNC_MESSAGE_ROUTED4_1(PpapiHostMsg_PPBFlash_Navigate, | 1264 IPC_SYNC_MESSAGE_ROUTED4_1(PpapiHostMsg_PPBFlash_Navigate, |
1269 PP_Instance /* instance */, | 1265 PP_Instance /* instance */, |
1270 ppapi::URLRequestInfoData /* request_data */, | 1266 ppapi::URLRequestInfoData /* request_data */, |
1271 std::string /* target */, | 1267 std::string /* target */, |
1272 PP_Bool /* from_user_action */, | 1268 PP_Bool /* from_user_action */, |
1273 int32_t /* result */) | 1269 int32_t /* result */) |
1274 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetLocalTimeZoneOffset, | 1270 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetLocalTimeZoneOffset, |
1275 PP_Instance /* instance */, | 1271 PP_Instance /* instance */, |
1276 PP_Time /* t */, | 1272 PP_Time /* t */, |
1277 double /* offset */) | 1273 double /* offset */) |
1278 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_IsRectTopmost, | 1274 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_IsRectTopmost, |
1279 PP_Instance /* instance */, | 1275 PP_Instance /* instance */, |
1280 PP_Rect /* rect */, | 1276 PP_Rect /* rect */, |
1281 PP_Bool /* result */) | 1277 PP_Bool /* result */) |
1282 IPC_MESSAGE_ROUTED0(PpapiHostMsg_PPBFlash_UpdateActivity) | |
1283 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBFlash_OpenFileRef, | 1278 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBFlash_OpenFileRef, |
1284 PP_Instance /* instance */, | 1279 PP_Instance /* instance */, |
1285 ppapi::HostResource /* file_ref */, | 1280 ppapi::HostResource /* file_ref */, |
1286 int32_t /* mode */, | 1281 int32_t /* mode */, |
1287 IPC::PlatformFileForTransit /* file_handle */, | 1282 IPC::PlatformFileForTransit /* file_handle */, |
1288 int32_t /* result */) | 1283 int32_t /* result */) |
1289 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBFlash_QueryFileRef, | 1284 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBFlash_QueryFileRef, |
1290 PP_Instance /* instance */, | 1285 PP_Instance /* instance */, |
1291 ppapi::HostResource /* file_ref */, | 1286 ppapi::HostResource /* file_ref */, |
1292 PP_FileInfo /* info */, | 1287 PP_FileInfo /* info */, |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1590 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open, | 1585 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open, |
1591 std::string /* device_id */, | 1586 std::string /* device_id */, |
1592 PP_AudioSampleRate /* sample_rate */, | 1587 PP_AudioSampleRate /* sample_rate */, |
1593 uint32_t /* sample_frame_count */) | 1588 uint32_t /* sample_frame_count */) |
1594 // Reply to an Open call. This supplies a socket handle and a shared memory | 1589 // Reply to an Open call. This supplies a socket handle and a shared memory |
1595 // handle. Both handles are passed in the ReplyParams struct. | 1590 // handle. Both handles are passed in the ReplyParams struct. |
1596 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_AudioInput_OpenReply) | 1591 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_AudioInput_OpenReply) |
1597 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioInput_StartOrStop, bool /* capture */) | 1592 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioInput_StartOrStop, bool /* capture */) |
1598 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Close) | 1593 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Close) |
1599 | 1594 |
| 1595 // Flash. |
| 1596 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) |
| 1597 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity) |
| 1598 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */) |
| 1599 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_GetProxyForURLReply, |
| 1600 std::string /* proxy */) |
| 1601 |
1600 // Flash clipboard. | 1602 // Flash clipboard. |
1601 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashClipboard_Create) | 1603 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashClipboard_Create) |
1602 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashClipboard_RegisterCustomFormat, | 1604 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashClipboard_RegisterCustomFormat, |
1603 std::string /* format_name */) | 1605 std::string /* format_name */) |
1604 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashClipboard_RegisterCustomFormatReply, | 1606 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashClipboard_RegisterCustomFormatReply, |
1605 uint32_t /* format */) | 1607 uint32_t /* format */) |
1606 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashClipboard_IsFormatAvailable, | 1608 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashClipboard_IsFormatAvailable, |
1607 uint32_t /* clipboard_type */, | 1609 uint32_t /* clipboard_type */, |
1608 uint32_t /* format */) | 1610 uint32_t /* format */) |
1609 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashClipboard_ReadData, | 1611 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashClipboard_ReadData, |
(...skipping 28 matching lines...) Expand all Loading... |
1638 | 1640 |
1639 // Shows the menu at the given location relative to the plugin instance. | 1641 // Shows the menu at the given location relative to the plugin instance. |
1640 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashMenu_Show, | 1642 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashMenu_Show, |
1641 PP_Point /* location */) | 1643 PP_Point /* location */) |
1642 | 1644 |
1643 // Reply to a show command. If the resource reply is PP_OK, the selected_id | 1645 // Reply to a show command. If the resource reply is PP_OK, the selected_id |
1644 // will be the menu item ID chosen by the user. | 1646 // will be the menu item ID chosen by the user. |
1645 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashMenu_ShowReply, | 1647 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashMenu_ShowReply, |
1646 int32_t /* selected_id */) | 1648 int32_t /* selected_id */) |
1647 | 1649 |
1648 // Flash functions. | |
1649 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) | |
1650 | |
1651 // VideoCapture_Dev, plugin -> host | 1650 // VideoCapture_Dev, plugin -> host |
1652 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_Create) | 1651 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_Create) |
1653 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_StartCapture) | 1652 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_StartCapture) |
1654 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoCapture_ReuseBuffer, | 1653 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoCapture_ReuseBuffer, |
1655 uint32_t /* buffer */) | 1654 uint32_t /* buffer */) |
1656 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_StopCapture) | 1655 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_StopCapture) |
1657 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_Close) | 1656 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_Close) |
1658 | 1657 |
1659 // VideoCapture_Dev, plugin -> host -> plugin | 1658 // VideoCapture_Dev, plugin -> host -> plugin |
1660 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_EnumerateDevices) | 1659 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_EnumerateDevices) |
(...skipping 23 matching lines...) Expand all Loading... |
1684 std::vector<ppapi::HostResource> /* buffers */, | 1683 std::vector<ppapi::HostResource> /* buffers */, |
1685 uint32_t /* buffer_size */) | 1684 uint32_t /* buffer_size */) |
1686 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 1685 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
1687 uint32_t /* status */) | 1686 uint32_t /* status */) |
1688 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 1687 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
1689 uint32_t /* error */) | 1688 uint32_t /* error */) |
1690 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 1689 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
1691 uint32_t /* buffer */) | 1690 uint32_t /* buffer */) |
1692 | 1691 |
1693 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1692 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |