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

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: Change interface and move shared code into shared_impl. 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
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 626 matching lines...) Expand 10 before | Expand all | Expand 10 after
1096 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, 1105 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated,
1097 PP_Instance /* instance */, 1106 PP_Instance /* instance */,
1098 int64 /* object_class */, 1107 int64 /* object_class */,
1099 int64 /* object_data */, 1108 int64 /* object_data */,
1100 ppapi::proxy::SerializedVar /* result */) 1109 ppapi::proxy::SerializedVar /* result */)
1101 1110
1102 // PPB_VideoCapture_Dev. 1111 // PPB_VideoCapture_Dev.
1103 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBVideoCapture_Create, 1112 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBVideoCapture_Create,
1104 PP_Instance /* instance */, 1113 PP_Instance /* instance */,
1105 ppapi::HostResource /* result */) 1114 ppapi::HostResource /* result */)
1106 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBVideoCapture_StartCapture, 1115 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoCapture_EnumerateDevices,
1116 ppapi::HostResource /* video_capture */)
1117 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBVideoCapture_Open,
1107 ppapi::HostResource /* video_capture */, 1118 ppapi::HostResource /* video_capture */,
1119 std::string /* device_id */,
1108 PP_VideoCaptureDeviceInfo_Dev /* requested_info */, 1120 PP_VideoCaptureDeviceInfo_Dev /* requested_info */,
1109 uint32_t /* buffer_count */) 1121 uint32_t /* buffer_count */)
1122 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoCapture_StartCapture,
1123 ppapi::HostResource /* video_capture */)
1110 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoCapture_ReuseBuffer, 1124 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoCapture_ReuseBuffer,
1111 ppapi::HostResource /* video_capture */, 1125 ppapi::HostResource /* video_capture */,
1112 uint32_t /* buffer */) 1126 uint32_t /* buffer */)
1113 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoCapture_StopCapture, 1127 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoCapture_StopCapture,
1114 ppapi::HostResource /* video_capture */) 1128 ppapi::HostResource /* video_capture */)
1129 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoCapture_Close,
1130 ppapi::HostResource /* video_capture */)
1131 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBVideoCapture_StartCapture0_1,
1132 ppapi::HostResource /* video_capture */,
1133 PP_VideoCaptureDeviceInfo_Dev /* requested_info */,
1134 uint32_t /* buffer_count */)
1115 1135
1116 // PPB_VideoDecoder. 1136 // PPB_VideoDecoder.
1117 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVideoDecoder_Create, 1137 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVideoDecoder_Create,
1118 PP_Instance /* instance */, 1138 PP_Instance /* instance */,
1119 ppapi::HostResource /* context */, 1139 ppapi::HostResource /* context */,
1120 PP_VideoDecoder_Profile /* profile */, 1140 PP_VideoDecoder_Profile /* profile */,
1121 ppapi::HostResource /* result */) 1141 ppapi::HostResource /* result */)
1122 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBVideoDecoder_Decode, 1142 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBVideoDecoder_Decode,
1123 ppapi::HostResource /* video_decoder */, 1143 ppapi::HostResource /* video_decoder */,
1124 ppapi::HostResource /* bitstream buffer */, 1144 ppapi::HostResource /* bitstream buffer */,
1125 int32 /* bitstream buffer id */, 1145 int32 /* bitstream buffer id */,
1126 int32 /* size of buffer */) 1146 int32 /* size of buffer */)
1127 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_AssignPictureBuffers, 1147 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_AssignPictureBuffers,
1128 ppapi::HostResource /* video_decoder */, 1148 ppapi::HostResource /* video_decoder */,
1129 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) 1149 std::vector<PP_PictureBuffer_Dev> /* picture buffers */)
1130 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, 1150 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer,
1131 ppapi::HostResource /* video_decoder */, 1151 ppapi::HostResource /* video_decoder */,
1132 int32_t /* picture buffer id */) 1152 int32_t /* picture buffer id */)
1133 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, 1153 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush,
1134 ppapi::HostResource /* video_decoder */) 1154 ppapi::HostResource /* video_decoder */)
1135 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, 1155 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset,
1136 ppapi::HostResource /* video_decoder */) 1156 ppapi::HostResource /* video_decoder */)
1137 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, 1157 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy,
1138 ppapi::HostResource /* video_decoder */) 1158 ppapi::HostResource /* video_decoder */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698