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

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

Issue 16335018: Add NaCl proxies for Pepper Video Source and Destination resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Linux (create SIMPLE image data). Created 7 years, 6 months 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
« no previous file with comments | « ppapi/ppapi_shared.gypi ('k') | ppapi/proxy/resource_creation_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 1625 matching lines...) Expand 10 before | Expand all | Expand 10 after
1636 // Creates shared memory on the host side, returning a handle to the shared 1636 // Creates shared memory on the host side, returning a handle to the shared
1637 // memory on the plugin and keeping the memory mapped in on the host. 1637 // memory on the plugin and keeping the memory mapped in on the host.
1638 // We return a "host handle_id" that can be mapped back to the 1638 // We return a "host handle_id" that can be mapped back to the
1639 // handle on the host side by PpapiGlobals::UntrackSharedMemoryHandle(). 1639 // handle on the host side by PpapiGlobals::UntrackSharedMemoryHandle().
1640 IPC_SYNC_MESSAGE_CONTROL2_2(PpapiHostMsg_SharedMemory_CreateSharedMemory, 1640 IPC_SYNC_MESSAGE_CONTROL2_2(PpapiHostMsg_SharedMemory_CreateSharedMemory,
1641 PP_Instance /* instance */, 1641 PP_Instance /* instance */,
1642 uint32_t /* size */, 1642 uint32_t /* size */,
1643 int /* host_handle_id */, 1643 int /* host_handle_id */,
1644 ppapi::proxy::SerializedHandle /* plugin_handle */) 1644 ppapi::proxy::SerializedHandle /* plugin_handle */)
1645 1645
1646 // MediaStream -----------------------------------------------------------------
1647
1648 // VideoDestination Private.
1649 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDestination_Create)
1650 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoDestination_Open,
1651 std::string /* stream_url */)
palmer 2013/06/19 18:57:49 Shouldn't this, and the |stream_url| on line 1661,
bbudge 2013/06/19 19:33:12 GURL isn't available on the Plugin side of the pro
1652 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoDestination_OpenReply)
1653 IPC_MESSAGE_CONTROL2(PpapiHostMsg_VideoDestination_PutFrame,
1654 ppapi::HostResource /* image_data */,
1655 PP_TimeTicks /* timestamp */)
1656 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDestination_Close)
1657
1658 // VideoSource Private.
1659 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Create)
1660 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoSource_Open,
1661 std::string /* stream_url */)
1662 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply)
1663 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame)
1664 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VideoSource_GetFrameReply,
1665 ppapi::HostResource /* resource_id */,
1666 PP_ImageDataDesc /* image_data_desc */,
1667 PP_TimeTicks /* timestamp */)
1668 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close)
1669
1646 // WebSocket ------------------------------------------------------------------- 1670 // WebSocket -------------------------------------------------------------------
1647 1671
1648 IPC_MESSAGE_CONTROL0(PpapiHostMsg_WebSocket_Create) 1672 IPC_MESSAGE_CONTROL0(PpapiHostMsg_WebSocket_Create)
1649 1673
1650 // Establishes the connection to a server. This message requires 1674 // Establishes the connection to a server. This message requires
1651 // WebSocket_ConnectReply as a reply message. 1675 // WebSocket_ConnectReply as a reply message.
1652 IPC_MESSAGE_CONTROL2(PpapiHostMsg_WebSocket_Connect, 1676 IPC_MESSAGE_CONTROL2(PpapiHostMsg_WebSocket_Connect,
1653 std::string /* url */, 1677 std::string /* url */,
1654 std::vector<std::string> /* protocols */) 1678 std::vector<std::string> /* protocols */)
1655 1679
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
1972 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_Create) 1996 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_Create)
1973 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 1997 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
1974 PP_TalkPermission /* permission */) 1998 PP_TalkPermission /* permission */)
1975 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 1999 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
1976 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 2000 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
1977 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 2001 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
1978 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 2002 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
1979 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 2003 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
1980 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 2004 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
1981 2005
1982 // MediaStream -----------------------------------------------------------------
1983
1984 // VideoDestination Private.
1985 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDestination_Create)
1986 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoDestination_Open,
1987 std::string /* stream_url */)
1988 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoDestination_OpenReply)
1989 IPC_MESSAGE_CONTROL2(PpapiHostMsg_VideoDestination_PutFrame,
1990 ppapi::HostResource /* image_data */,
1991 PP_TimeTicks /* timestamp */)
1992 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDestination_Close)
1993
1994 // VideoSource Private.
1995 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Create)
1996 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoSource_Open,
1997 std::string /* stream_url */)
1998 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply)
1999 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame)
2000 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_VideoSource_GetFrameReply,
2001 ppapi::HostResource /* resource_id */,
2002 PP_ImageDataDesc /* image_data_desc */,
2003 int /* fd */,
2004 PP_TimeTicks /* timestamp */)
2005 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close)
2006
2007 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2006 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « ppapi/ppapi_shared.gypi ('k') | ppapi/proxy/resource_creation_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698