Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1755)

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 11411047: Introduce PPB_AudioInput_Dev v0.3 and refactor the device enumeration code: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 1664 matching lines...) Expand 10 before | Expand all | Expand 10 after
1675 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_WebSocket_ClosedReply, 1675 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_WebSocket_ClosedReply,
1676 unsigned long /* buffered_amount */, 1676 unsigned long /* buffered_amount */,
1677 bool /* was_clean */, 1677 bool /* was_clean */,
1678 unsigned short /* code */, 1678 unsigned short /* code */,
1679 std::string /* reason */) 1679 std::string /* reason */)
1680 1680
1681 #if !defined(OS_NACL) && !defined(NACL_WIN64) 1681 #if !defined(OS_NACL) && !defined(NACL_WIN64)
1682 1682
1683 // Audio input. 1683 // Audio input.
1684 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Create) 1684 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Create)
1685 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_EnumerateDevices)
1686 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_AudioInput_EnumerateDevicesReply,
1687 std::vector<ppapi::DeviceRefData> /* devices */)
1688 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open, 1685 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open,
1689 std::string /* device_id */, 1686 std::string /* device_id */,
1690 PP_AudioSampleRate /* sample_rate */, 1687 PP_AudioSampleRate /* sample_rate */,
1691 uint32_t /* sample_frame_count */) 1688 uint32_t /* sample_frame_count */)
1692 // Reply to an Open call. This supplies a socket handle and a shared memory 1689 // Reply to an Open call. This supplies a socket handle and a shared memory
1693 // handle. Both handles are passed in the ReplyParams struct. 1690 // handle. Both handles are passed in the ReplyParams struct.
1694 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_AudioInput_OpenReply) 1691 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_AudioInput_OpenReply)
1695 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioInput_StartOrStop, bool /* capture */) 1692 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioInput_StartOrStop, bool /* capture */)
1696 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Close) 1693 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Close)
1697 1694
1695 // Device enumeration messages used by audio input and video capture.
1696 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_EnumerateDevices)
1697 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_DeviceEnumeration_EnumerateDevicesReply,
1698 std::vector<ppapi::DeviceRefData> /* devices */)
1699 IPC_MESSAGE_CONTROL1(PpapiHostMsg_DeviceEnumeration_MonitorDeviceChange,
1700 uint32_t /* callback_id */)
1701 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_StopMonitoringDeviceChange)
1702 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_DeviceEnumeration_NotifyDeviceChange,
1703 uint32_t /* callback_id */,
1704 std::vector<ppapi::DeviceRefData> /* devices */)
1705
1698 // Flash clipboard. 1706 // Flash clipboard.
1699 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashClipboard_Create) 1707 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashClipboard_Create)
1700 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashClipboard_RegisterCustomFormat, 1708 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashClipboard_RegisterCustomFormat,
1701 std::string /* format_name */) 1709 std::string /* format_name */)
1702 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashClipboard_RegisterCustomFormatReply, 1710 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashClipboard_RegisterCustomFormatReply,
1703 uint32_t /* format */) 1711 uint32_t /* format */)
1704 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashClipboard_IsFormatAvailable, 1712 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashClipboard_IsFormatAvailable,
1705 uint32_t /* clipboard_type */, 1713 uint32_t /* clipboard_type */,
1706 uint32_t /* format */) 1714 uint32_t /* format */)
1707 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashClipboard_ReadData, 1715 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashClipboard_ReadData,
(...skipping 15 matching lines...) Expand all
1723 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashFontFile_GetFontTableReply, 1731 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashFontFile_GetFontTableReply,
1724 std::string /* output */) 1732 std::string /* output */)
1725 1733
1726 // Flash functions. 1734 // Flash functions.
1727 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) 1735 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create)
1728 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_EnumerateVideoCaptureDevices, 1736 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_EnumerateVideoCaptureDevices,
1729 ppapi::HostResource /* video_capture */) 1737 ppapi::HostResource /* video_capture */)
1730 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_EnumerateVideoCaptureDevicesReply, 1738 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_EnumerateVideoCaptureDevicesReply,
1731 std::vector<ppapi::DeviceRefData> /* devices */) 1739 std::vector<ppapi::DeviceRefData> /* devices */)
1732 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1740 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698