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

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

Issue 8574029: Microphone support for Pepper Flash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 1 month 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/proxy/interface_list.cc ('k') | ppapi/proxy/ppb_audio_input_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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 // 209 //
210 // The handler of this message should always close all of the handles passed 210 // The handler of this message should always close all of the handles passed
211 // in, since some could be valid even in the error case. 211 // in, since some could be valid even in the error case.
212 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, 212 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudio_NotifyAudioStreamCreated,
213 ppapi::HostResource /* audio_id */, 213 ppapi::HostResource /* audio_id */,
214 int32_t /* result_code (will be != PP_OK on failure) */, 214 int32_t /* result_code (will be != PP_OK on failure) */,
215 IPC::PlatformFileForTransit /* socket_handle */, 215 IPC::PlatformFileForTransit /* socket_handle */,
216 base::SharedMemoryHandle /* handle */, 216 base::SharedMemoryHandle /* handle */,
217 int32_t /* length */) 217 int32_t /* length */)
218 218
219 // PPB_AudioInput_Dev.
220 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudioInput_NotifyAudioStreamCreated,
221 ppapi::HostResource /* audio_id */,
222 int32_t /* result_code (will be != PP_OK on failure) */,
223 IPC::PlatformFileForTransit /* socket_handle */,
224 base::SharedMemoryHandle /* handle */,
225 int32_t /* length */)
226
219 // PPB_Broker. 227 // PPB_Broker.
220 IPC_MESSAGE_ROUTED3( 228 IPC_MESSAGE_ROUTED3(
221 PpapiMsg_PPBBroker_ConnectComplete, 229 PpapiMsg_PPBBroker_ConnectComplete,
222 ppapi::HostResource /* broker */, 230 ppapi::HostResource /* broker */,
223 IPC::PlatformFileForTransit /* handle */, 231 IPC::PlatformFileForTransit /* handle */,
224 int32_t /* result */) 232 int32_t /* result */)
225 233
226 // PPB_FileChooser. 234 // PPB_FileChooser.
227 IPC_MESSAGE_ROUTED3( 235 IPC_MESSAGE_ROUTED3(
228 PpapiMsg_PPBFileChooser_ChooseComplete, 236 PpapiMsg_PPBFileChooser_ChooseComplete,
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 // PPB_Audio. 491 // PPB_Audio.
484 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudio_Create, 492 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudio_Create,
485 PP_Instance /* instance_id */, 493 PP_Instance /* instance_id */,
486 int32_t /* sample_rate */, 494 int32_t /* sample_rate */,
487 uint32_t /* sample_frame_count */, 495 uint32_t /* sample_frame_count */,
488 ppapi::HostResource /* result */) 496 ppapi::HostResource /* result */)
489 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop, 497 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop,
490 ppapi::HostResource /* audio_id */, 498 ppapi::HostResource /* audio_id */,
491 bool /* play */) 499 bool /* play */)
492 500
501 // PPB_AudioInput.
502 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudioInput_Create,
503 PP_Instance /* instance_id */,
504 int32_t /* sample_rate */,
505 uint32_t /* sample_frame_count */,
506 ppapi::HostResource /* result */)
507 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudioInput_StartOrStop,
508 ppapi::HostResource /* audio_id */,
509 bool /* capture */)
510
493 // PPB_Broker. 511 // PPB_Broker.
494 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBBroker_Create, 512 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBBroker_Create,
495 PP_Instance /* instance */, 513 PP_Instance /* instance */,
496 ppapi::HostResource /* result_resource */) 514 ppapi::HostResource /* result_resource */)
497 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, 515 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect,
498 ppapi::HostResource /* broker */) 516 ppapi::HostResource /* broker */)
499 517
500 // PPB_Buffer. 518 // PPB_Buffer.
501 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, 519 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create,
502 PP_Instance /* instance */, 520 PP_Instance /* instance */,
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
1107 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) 1125 std::vector<PP_PictureBuffer_Dev> /* picture buffers */)
1108 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, 1126 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer,
1109 ppapi::HostResource /* video_decoder */, 1127 ppapi::HostResource /* video_decoder */,
1110 int32_t /* picture buffer id */) 1128 int32_t /* picture buffer id */)
1111 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, 1129 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush,
1112 ppapi::HostResource /* video_decoder */) 1130 ppapi::HostResource /* video_decoder */)
1113 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, 1131 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset,
1114 ppapi::HostResource /* video_decoder */) 1132 ppapi::HostResource /* video_decoder */)
1115 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, 1133 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy,
1116 ppapi::HostResource /* video_decoder */) 1134 ppapi::HostResource /* video_decoder */)
OLDNEW
« no previous file with comments | « ppapi/proxy/interface_list.cc ('k') | ppapi/proxy/ppb_audio_input_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698