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 1565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1576 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_WebSocket_ClosedReply, | 1576 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_WebSocket_ClosedReply, |
1577 uint64_t /* buffered_amount */, | 1577 uint64_t /* buffered_amount */, |
1578 bool /* was_clean */, | 1578 bool /* was_clean */, |
1579 uint16_t /* code */, | 1579 uint16_t /* code */, |
1580 std::string /* reason */) | 1580 std::string /* reason */) |
1581 | 1581 |
1582 #if !defined(OS_NACL) && !defined(NACL_WIN64) | 1582 #if !defined(OS_NACL) && !defined(NACL_WIN64) |
1583 | 1583 |
1584 // Audio input. | 1584 // Audio input. |
1585 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Create) | 1585 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Create) |
1586 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_EnumerateDevices) | |
1587 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_AudioInput_EnumerateDevicesReply, | |
1588 std::vector<ppapi::DeviceRefData> /* devices */) | |
1589 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open, | 1586 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open, |
1590 std::string /* device_id */, | 1587 std::string /* device_id */, |
1591 PP_AudioSampleRate /* sample_rate */, | 1588 PP_AudioSampleRate /* sample_rate */, |
1592 uint32_t /* sample_frame_count */) | 1589 uint32_t /* sample_frame_count */) |
1593 // Reply to an Open call. This supplies a socket handle and a shared memory | 1590 // Reply to an Open call. This supplies a socket handle and a shared memory |
1594 // handle. Both handles are passed in the ReplyParams struct. | 1591 // handle. Both handles are passed in the ReplyParams struct. |
1595 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_AudioInput_OpenReply) | 1592 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_AudioInput_OpenReply) |
1596 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioInput_StartOrStop, bool /* capture */) | 1593 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioInput_StartOrStop, bool /* capture */) |
1597 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Close) | 1594 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Close) |
1598 | 1595 |
| 1596 // Device enumeration messages used by audio input and video capture. |
| 1597 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_EnumerateDevices) |
| 1598 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_DeviceEnumeration_EnumerateDevicesReply, |
| 1599 std::vector<ppapi::DeviceRefData> /* devices */) |
| 1600 IPC_MESSAGE_CONTROL1(PpapiHostMsg_DeviceEnumeration_MonitorDeviceChange, |
| 1601 uint32_t /* callback_id */) |
| 1602 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_StopMonitoringDeviceChange) |
| 1603 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_DeviceEnumeration_NotifyDeviceChange, |
| 1604 uint32_t /* callback_id */, |
| 1605 std::vector<ppapi::DeviceRefData> /* devices */) |
| 1606 |
1599 // Flash clipboard. | 1607 // Flash clipboard. |
1600 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashClipboard_Create) | 1608 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashClipboard_Create) |
1601 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashClipboard_RegisterCustomFormat, | 1609 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashClipboard_RegisterCustomFormat, |
1602 std::string /* format_name */) | 1610 std::string /* format_name */) |
1603 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashClipboard_RegisterCustomFormatReply, | 1611 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashClipboard_RegisterCustomFormatReply, |
1604 uint32_t /* format */) | 1612 uint32_t /* format */) |
1605 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashClipboard_IsFormatAvailable, | 1613 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashClipboard_IsFormatAvailable, |
1606 uint32_t /* clipboard_type */, | 1614 uint32_t /* clipboard_type */, |
1607 uint32_t /* format */) | 1615 uint32_t /* format */) |
1608 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashClipboard_ReadData, | 1616 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashClipboard_ReadData, |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1683 std::vector<ppapi::HostResource> /* buffers */, | 1691 std::vector<ppapi::HostResource> /* buffers */, |
1684 uint32_t /* buffer_size */) | 1692 uint32_t /* buffer_size */) |
1685 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 1693 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
1686 uint32_t /* status */) | 1694 uint32_t /* status */) |
1687 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 1695 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
1688 uint32_t /* error */) | 1696 uint32_t /* error */) |
1689 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 1697 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
1690 uint32_t /* buffer */) | 1698 uint32_t /* buffer */) |
1691 | 1699 |
1692 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1700 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |