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

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

Issue 496203002: Pepper: PPB_VideoDecoder software-only mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix cpp comments Created 6 years, 4 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
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 <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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 IPC_ENUM_TRAITS(PP_TrueTypeFontFamily_Dev) 121 IPC_ENUM_TRAITS(PP_TrueTypeFontFamily_Dev)
122 IPC_ENUM_TRAITS(PP_TrueTypeFontStyle_Dev) 122 IPC_ENUM_TRAITS(PP_TrueTypeFontStyle_Dev)
123 IPC_ENUM_TRAITS(PP_TrueTypeFontWeight_Dev) 123 IPC_ENUM_TRAITS(PP_TrueTypeFontWeight_Dev)
124 IPC_ENUM_TRAITS(PP_TrueTypeFontWidth_Dev) 124 IPC_ENUM_TRAITS(PP_TrueTypeFontWidth_Dev)
125 IPC_ENUM_TRAITS(PP_TrueTypeFontCharset_Dev) 125 IPC_ENUM_TRAITS(PP_TrueTypeFontCharset_Dev)
126 IPC_ENUM_TRAITS_MAX_VALUE(PP_UDPSocket_Option, 126 IPC_ENUM_TRAITS_MAX_VALUE(PP_UDPSocket_Option,
127 PP_UDPSOCKET_OPTION_RECV_BUFFER_SIZE) 127 PP_UDPSOCKET_OPTION_RECV_BUFFER_SIZE)
128 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) 128 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev)
129 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile) 129 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile)
130 IPC_ENUM_TRAITS_MAX_VALUE(PP_VideoFrame_Format, PP_VIDEOFRAME_FORMAT_LAST) 130 IPC_ENUM_TRAITS_MAX_VALUE(PP_VideoFrame_Format, PP_VIDEOFRAME_FORMAT_LAST)
131 IPC_ENUM_TRAITS_MAX_VALUE(PP_HardwareAcceleration, PP_HARDWAREACCELERATION_NONE)
Tom Sepez 2014/08/22 17:13:01 nit: use PP_HARDWAREACCELERATION_LAST per my other
bbudge 2014/08/22 21:24:52 Done.
131 IPC_ENUM_TRAITS_MAX_VALUE(PP_VideoProfile, PP_VIDEOPROFILE_MAX) 132 IPC_ENUM_TRAITS_MAX_VALUE(PP_VideoProfile, PP_VIDEOPROFILE_MAX)
132 133
133 IPC_STRUCT_TRAITS_BEGIN(PP_Point) 134 IPC_STRUCT_TRAITS_BEGIN(PP_Point)
134 IPC_STRUCT_TRAITS_MEMBER(x) 135 IPC_STRUCT_TRAITS_MEMBER(x)
135 IPC_STRUCT_TRAITS_MEMBER(y) 136 IPC_STRUCT_TRAITS_MEMBER(y)
136 IPC_STRUCT_TRAITS_END() 137 IPC_STRUCT_TRAITS_END()
137 138
138 IPC_STRUCT_TRAITS_BEGIN(PP_FloatPoint) 139 IPC_STRUCT_TRAITS_BEGIN(PP_FloatPoint)
139 IPC_STRUCT_TRAITS_MEMBER(x) 140 IPC_STRUCT_TRAITS_MEMBER(x)
140 IPC_STRUCT_TRAITS_MEMBER(y) 141 IPC_STRUCT_TRAITS_MEMBER(y)
(...skipping 1752 matching lines...) Expand 10 before | Expand all | Expand 10 after
1893 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_OutputProtection_QueryStatusReply, 1894 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_OutputProtection_QueryStatusReply,
1894 uint32_t /* link_mask */, 1895 uint32_t /* link_mask */,
1895 uint32_t /* protection_mask */) 1896 uint32_t /* protection_mask */)
1896 1897
1897 // VideoDecoder ------------------------------------------------------ 1898 // VideoDecoder ------------------------------------------------------
1898 1899
1899 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDecoder_Create) 1900 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDecoder_Create)
1900 IPC_MESSAGE_CONTROL3(PpapiHostMsg_VideoDecoder_Initialize, 1901 IPC_MESSAGE_CONTROL3(PpapiHostMsg_VideoDecoder_Initialize,
1901 ppapi::HostResource /* graphics_context */, 1902 ppapi::HostResource /* graphics_context */,
1902 PP_VideoProfile /* profile */, 1903 PP_VideoProfile /* profile */,
1903 bool /* allow_software_fallback */) 1904 PP_HardwareAcceleration /* hardware_acceleration */)
1904 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoDecoder_InitializeReply) 1905 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoDecoder_InitializeReply)
1905 IPC_MESSAGE_CONTROL2(PpapiHostMsg_VideoDecoder_GetShm, 1906 IPC_MESSAGE_CONTROL2(PpapiHostMsg_VideoDecoder_GetShm,
1906 uint32_t /* shm_id */, 1907 uint32_t /* shm_id */,
1907 uint32_t /* shm_size */) 1908 uint32_t /* shm_size */)
1908 // On success, a shm handle is passed in the ReplyParams struct. 1909 // On success, a shm handle is passed in the ReplyParams struct.
1909 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoDecoder_GetShmReply, 1910 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoDecoder_GetShmReply,
1910 uint32_t /* shm_size */) 1911 uint32_t /* shm_size */)
1911 IPC_MESSAGE_CONTROL3(PpapiHostMsg_VideoDecoder_Decode, 1912 IPC_MESSAGE_CONTROL3(PpapiHostMsg_VideoDecoder_Decode,
1912 uint32_t /* shm_id */, 1913 uint32_t /* shm_id */,
1913 uint32_t /* size */, 1914 uint32_t /* size */,
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
2240 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 2241 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
2241 PP_TalkPermission /* permission */) 2242 PP_TalkPermission /* permission */)
2242 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 2243 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
2243 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 2244 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
2244 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 2245 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
2245 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 2246 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
2246 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 2247 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
2247 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 2248 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
2248 2249
2249 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2250 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698