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 <map> | 6 #include <map> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 1394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1405 PP_Point /* top_left */) | 1405 PP_Point /* top_left */) |
1406 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Graphics2D_ReadImageDataAck) | 1406 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Graphics2D_ReadImageDataAck) |
1407 | 1407 |
1408 // IsolatedFileSystem | 1408 // IsolatedFileSystem |
1409 IPC_MESSAGE_CONTROL0(PpapiHostMsg_IsolatedFileSystem_Create) | 1409 IPC_MESSAGE_CONTROL0(PpapiHostMsg_IsolatedFileSystem_Create) |
1410 IPC_MESSAGE_CONTROL1(PpapiHostMsg_IsolatedFileSystem_BrowserOpen, | 1410 IPC_MESSAGE_CONTROL1(PpapiHostMsg_IsolatedFileSystem_BrowserOpen, |
1411 PP_IsolatedFileSystemType_Private /* type */) | 1411 PP_IsolatedFileSystemType_Private /* type */) |
1412 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_IsolatedFileSystem_BrowserOpenReply, | 1412 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_IsolatedFileSystem_BrowserOpenReply, |
1413 std::string /* fsid */) | 1413 std::string /* fsid */) |
1414 | 1414 |
| 1415 // MediaStream ----------------------------------------------------------------- |
| 1416 // Message for init frames. It also takes a shared memory handle. |
| 1417 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_MediaStreamVideoTrack_CreateFromPendingHost, |
| 1418 std::string /* id */) |
| 1419 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_MediaStreamTrack_InitFrames, |
| 1420 int32_t /* number_of_frames */, |
| 1421 int32_t /* frame_size */) |
| 1422 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_MediaStreamTrack_EnqueueFrame, |
| 1423 int32_t /* index */); |
| 1424 IPC_MESSAGE_CONTROL1(PpapiHostMsg_MediaStreamTrack_EnqueueFrame, |
| 1425 int32_t /* index */); |
| 1426 IPC_MESSAGE_CONTROL0(PpapiHostMsg_MediaStreamTrack_Close) |
| 1427 |
1415 // NetworkMonitor. | 1428 // NetworkMonitor. |
1416 IPC_MESSAGE_CONTROL0(PpapiHostMsg_NetworkMonitor_Create) | 1429 IPC_MESSAGE_CONTROL0(PpapiHostMsg_NetworkMonitor_Create) |
1417 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_NetworkMonitor_NetworkList, | 1430 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_NetworkMonitor_NetworkList, |
1418 ppapi::proxy::SerializedNetworkList /* network_list */) | 1431 ppapi::proxy::SerializedNetworkList /* network_list */) |
1419 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_NetworkMonitor_Forbidden) | 1432 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_NetworkMonitor_Forbidden) |
1420 | 1433 |
1421 // NetworkProxy ---------------------------------------------------------------- | 1434 // NetworkProxy ---------------------------------------------------------------- |
1422 IPC_MESSAGE_CONTROL0(PpapiHostMsg_NetworkProxy_Create) | 1435 IPC_MESSAGE_CONTROL0(PpapiHostMsg_NetworkProxy_Create) |
1423 | 1436 |
1424 // Query the browser for the proxy server to use for the given URL. | 1437 // Query the browser for the proxy server to use for the given URL. |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1641 // memory on the plugin and keeping the memory mapped in on the host. | 1654 // memory on the plugin and keeping the memory mapped in on the host. |
1642 // We return a "host handle_id" that can be mapped back to the | 1655 // We return a "host handle_id" that can be mapped back to the |
1643 // handle on the host side by PpapiGlobals::UntrackSharedMemoryHandle(). | 1656 // handle on the host side by PpapiGlobals::UntrackSharedMemoryHandle(). |
1644 IPC_SYNC_MESSAGE_CONTROL2_2(PpapiHostMsg_SharedMemory_CreateSharedMemory, | 1657 IPC_SYNC_MESSAGE_CONTROL2_2(PpapiHostMsg_SharedMemory_CreateSharedMemory, |
1645 PP_Instance /* instance */, | 1658 PP_Instance /* instance */, |
1646 uint32_t /* size */, | 1659 uint32_t /* size */, |
1647 int /* host_handle_id */, | 1660 int /* host_handle_id */, |
1648 ppapi::proxy::SerializedHandle /* plugin_handle */) | 1661 ppapi::proxy::SerializedHandle /* plugin_handle */) |
1649 | 1662 |
1650 // MediaStream ----------------------------------------------------------------- | 1663 // MediaStream ----------------------------------------------------------------- |
1651 | |
1652 // VideoDestination Private. | 1664 // VideoDestination Private. |
1653 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDestination_Create) | 1665 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDestination_Create) |
1654 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoDestination_Open, | 1666 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoDestination_Open, |
1655 std::string /* stream_url */) | 1667 std::string /* stream_url */) |
1656 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoDestination_OpenReply) | 1668 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoDestination_OpenReply) |
1657 IPC_MESSAGE_CONTROL2(PpapiHostMsg_VideoDestination_PutFrame, | 1669 IPC_MESSAGE_CONTROL2(PpapiHostMsg_VideoDestination_PutFrame, |
1658 ppapi::HostResource /* image_data */, | 1670 ppapi::HostResource /* image_data */, |
1659 PP_TimeTicks /* timestamp */) | 1671 PP_TimeTicks /* timestamp */) |
1660 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDestination_Close) | 1672 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDestination_Close) |
1661 | 1673 |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2012 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, | 2024 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, |
2013 PP_TalkPermission /* permission */) | 2025 PP_TalkPermission /* permission */) |
2014 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) | 2026 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) |
2015 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) | 2027 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) |
2016 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) | 2028 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) |
2017 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) | 2029 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) |
2018 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) | 2030 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) |
2019 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) | 2031 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) |
2020 | 2032 |
2021 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2033 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |