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

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

Issue 9234064: Implement device enumeration for PPB_VideoCapture_Dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 10 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/ppb_video_capture_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/file_path.h" 10 #include "base/file_path.h"
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 PpapiMsg_PPBURLLoader_UpdateProgress, 450 PpapiMsg_PPBURLLoader_UpdateProgress,
451 ppapi::proxy::PPBURLLoader_UpdateProgress_Params /* params */) 451 ppapi::proxy::PPBURLLoader_UpdateProgress_Params /* params */)
452 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBURLLoader_ReadResponseBody_Ack, 452 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBURLLoader_ReadResponseBody_Ack,
453 ppapi::HostResource /* loader */, 453 ppapi::HostResource /* loader */,
454 int32 /* result */, 454 int32 /* result */,
455 std::string /* data */) 455 std::string /* data */)
456 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBURLLoader_CallbackComplete, 456 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBURLLoader_CallbackComplete,
457 ppapi::HostResource /* loader */, 457 ppapi::HostResource /* loader */,
458 int32_t /* result */) 458 int32_t /* result */)
459 459
460 // PPB_VideoCapture_Dev
461 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBVideoCapture_EnumerateDevicesACK,
462 ppapi::HostResource /* video_capture */,
463 int32_t /* result */,
464 std::vector<ppapi::DeviceRefData> /* devices */)
465 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBVideoCapture_OpenACK,
466 ppapi::HostResource /* video_capture */,
467 int32_t /* result */)
468
460 // PPP_VideoCapture_Dev 469 // PPP_VideoCapture_Dev
461 IPC_MESSAGE_ROUTED3( 470 IPC_MESSAGE_ROUTED3(
462 PpapiMsg_PPPVideoCapture_OnDeviceInfo, 471 PpapiMsg_PPPVideoCapture_OnDeviceInfo,
463 ppapi::HostResource /* video_capture */, 472 ppapi::HostResource /* video_capture */,
464 PP_VideoCaptureDeviceInfo_Dev /* info */, 473 PP_VideoCaptureDeviceInfo_Dev /* info */,
465 std::vector<ppapi::proxy::PPPVideoCapture_Buffer> /* buffers */) 474 std::vector<ppapi::proxy::PPPVideoCapture_Buffer> /* buffers */)
466 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoCapture_OnStatus, 475 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoCapture_OnStatus,
467 ppapi::HostResource /* video_capture */, 476 ppapi::HostResource /* video_capture */,
468 uint32_t /* status */) 477 uint32_t /* status */)
469 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoCapture_OnError, 478 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoCapture_OnError,
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
1104 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, 1113 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated,
1105 PP_Instance /* instance */, 1114 PP_Instance /* instance */,
1106 int64 /* object_class */, 1115 int64 /* object_class */,
1107 int64 /* object_data */, 1116 int64 /* object_data */,
1108 ppapi::proxy::SerializedVar /* result */) 1117 ppapi::proxy::SerializedVar /* result */)
1109 1118
1110 // PPB_VideoCapture_Dev. 1119 // PPB_VideoCapture_Dev.
1111 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBVideoCapture_Create, 1120 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBVideoCapture_Create,
1112 PP_Instance /* instance */, 1121 PP_Instance /* instance */,
1113 ppapi::HostResource /* result */) 1122 ppapi::HostResource /* result */)
1114 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBVideoCapture_StartCapture, 1123 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoCapture_EnumerateDevices,
1124 ppapi::HostResource /* video_capture */)
1125 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBVideoCapture_Open,
1115 ppapi::HostResource /* video_capture */, 1126 ppapi::HostResource /* video_capture */,
1127 std::string /* device_id */,
1116 PP_VideoCaptureDeviceInfo_Dev /* requested_info */, 1128 PP_VideoCaptureDeviceInfo_Dev /* requested_info */,
1117 uint32_t /* buffer_count */) 1129 uint32_t /* buffer_count */)
1130 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoCapture_StartCapture,
1131 ppapi::HostResource /* video_capture */)
1118 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoCapture_ReuseBuffer, 1132 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoCapture_ReuseBuffer,
1119 ppapi::HostResource /* video_capture */, 1133 ppapi::HostResource /* video_capture */,
1120 uint32_t /* buffer */) 1134 uint32_t /* buffer */)
1121 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoCapture_StopCapture, 1135 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoCapture_StopCapture,
1122 ppapi::HostResource /* video_capture */) 1136 ppapi::HostResource /* video_capture */)
1137 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoCapture_Close,
1138 ppapi::HostResource /* video_capture */)
1139 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBVideoCapture_StartCapture0_1,
1140 ppapi::HostResource /* video_capture */,
1141 PP_VideoCaptureDeviceInfo_Dev /* requested_info */,
1142 uint32_t /* buffer_count */)
1123 1143
1124 // PPB_VideoDecoder. 1144 // PPB_VideoDecoder.
1125 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVideoDecoder_Create, 1145 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVideoDecoder_Create,
1126 PP_Instance /* instance */, 1146 PP_Instance /* instance */,
1127 ppapi::HostResource /* context */, 1147 ppapi::HostResource /* context */,
1128 PP_VideoDecoder_Profile /* profile */, 1148 PP_VideoDecoder_Profile /* profile */,
1129 ppapi::HostResource /* result */) 1149 ppapi::HostResource /* result */)
1130 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBVideoDecoder_Decode, 1150 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBVideoDecoder_Decode,
1131 ppapi::HostResource /* video_decoder */, 1151 ppapi::HostResource /* video_decoder */,
1132 ppapi::HostResource /* bitstream buffer */, 1152 ppapi::HostResource /* bitstream buffer */,
1133 int32 /* bitstream buffer id */, 1153 int32 /* bitstream buffer id */,
1134 int32 /* size of buffer */) 1154 int32 /* size of buffer */)
1135 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_AssignPictureBuffers, 1155 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_AssignPictureBuffers,
1136 ppapi::HostResource /* video_decoder */, 1156 ppapi::HostResource /* video_decoder */,
1137 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) 1157 std::vector<PP_PictureBuffer_Dev> /* picture buffers */)
1138 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, 1158 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer,
1139 ppapi::HostResource /* video_decoder */, 1159 ppapi::HostResource /* video_decoder */,
1140 int32_t /* picture buffer id */) 1160 int32_t /* picture buffer id */)
1141 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, 1161 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush,
1142 ppapi::HostResource /* video_decoder */) 1162 ppapi::HostResource /* video_decoder */)
1143 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, 1163 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset,
1144 ppapi::HostResource /* video_decoder */) 1164 ppapi::HostResource /* video_decoder */)
1145 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, 1165 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy,
1146 ppapi::HostResource /* video_decoder */) 1166 ppapi::HostResource /* video_decoder */)
OLDNEW
« no previous file with comments | « ppapi/ppapi_shared.gypi ('k') | ppapi/proxy/ppb_video_capture_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698