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

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: Changes in response to Antoine's comments. 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
460 // PPP_VideoCapture_Dev 466 // PPP_VideoCapture_Dev
461 IPC_MESSAGE_ROUTED3( 467 IPC_MESSAGE_ROUTED3(
462 PpapiMsg_PPPVideoCapture_OnDeviceInfo, 468 PpapiMsg_PPPVideoCapture_OnDeviceInfo,
463 ppapi::HostResource /* video_capture */, 469 ppapi::HostResource /* video_capture */,
464 PP_VideoCaptureDeviceInfo_Dev /* info */, 470 PP_VideoCaptureDeviceInfo_Dev /* info */,
465 std::vector<ppapi::proxy::PPPVideoCapture_Buffer> /* buffers */) 471 std::vector<ppapi::proxy::PPPVideoCapture_Buffer> /* buffers */)
466 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoCapture_OnStatus, 472 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoCapture_OnStatus,
467 ppapi::HostResource /* video_capture */, 473 ppapi::HostResource /* video_capture */,
468 uint32_t /* status */) 474 uint32_t /* status */)
469 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoCapture_OnError, 475 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, 1102 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated,
1097 PP_Instance /* instance */, 1103 PP_Instance /* instance */,
1098 int64 /* object_class */, 1104 int64 /* object_class */,
1099 int64 /* object_data */, 1105 int64 /* object_data */,
1100 ppapi::proxy::SerializedVar /* result */) 1106 ppapi::proxy::SerializedVar /* result */)
1101 1107
1102 // PPB_VideoCapture_Dev. 1108 // PPB_VideoCapture_Dev.
1103 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBVideoCapture_Create, 1109 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBVideoCapture_Create,
1104 PP_Instance /* instance */, 1110 PP_Instance /* instance */,
1105 ppapi::HostResource /* result */) 1111 ppapi::HostResource /* result */)
1106 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBVideoCapture_StartCapture, 1112 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoCapture_EnumerateDevices,
1113 ppapi::HostResource /* video_capture */)
1114 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBVideoCapture_StartCapture,
1107 ppapi::HostResource /* video_capture */, 1115 ppapi::HostResource /* video_capture */,
1116 std::string /* device_id */,
1108 PP_VideoCaptureDeviceInfo_Dev /* requested_info */, 1117 PP_VideoCaptureDeviceInfo_Dev /* requested_info */,
1109 uint32_t /* buffer_count */) 1118 uint32_t /* buffer_count */)
1110 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoCapture_ReuseBuffer, 1119 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoCapture_ReuseBuffer,
1111 ppapi::HostResource /* video_capture */, 1120 ppapi::HostResource /* video_capture */,
1112 uint32_t /* buffer */) 1121 uint32_t /* buffer */)
1113 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoCapture_StopCapture, 1122 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoCapture_StopCapture,
1114 ppapi::HostResource /* video_capture */) 1123 ppapi::HostResource /* video_capture */)
1115 1124
1116 // PPB_VideoDecoder. 1125 // PPB_VideoDecoder.
1117 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVideoDecoder_Create, 1126 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVideoDecoder_Create,
(...skipping 11 matching lines...) Expand all
1129 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) 1138 std::vector<PP_PictureBuffer_Dev> /* picture buffers */)
1130 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, 1139 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer,
1131 ppapi::HostResource /* video_decoder */, 1140 ppapi::HostResource /* video_decoder */,
1132 int32_t /* picture buffer id */) 1141 int32_t /* picture buffer id */)
1133 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, 1142 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush,
1134 ppapi::HostResource /* video_decoder */) 1143 ppapi::HostResource /* video_decoder */)
1135 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, 1144 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset,
1136 ppapi::HostResource /* video_decoder */) 1145 ppapi::HostResource /* video_decoder */)
1137 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, 1146 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy,
1138 ppapi::HostResource /* video_decoder */) 1147 ppapi::HostResource /* video_decoder */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698