OLD | NEW |
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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 // | 213 // |
214 // The handler of this message should always close all of the handles passed | 214 // The handler of this message should always close all of the handles passed |
215 // in, since some could be valid even in the error case. | 215 // in, since some could be valid even in the error case. |
216 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, | 216 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, |
217 ppapi::HostResource /* audio_id */, | 217 ppapi::HostResource /* audio_id */, |
218 int32_t /* result_code (will be != PP_OK on failure) */, | 218 int32_t /* result_code (will be != PP_OK on failure) */, |
219 IPC::PlatformFileForTransit /* socket_handle */, | 219 IPC::PlatformFileForTransit /* socket_handle */, |
220 base::SharedMemoryHandle /* handle */, | 220 base::SharedMemoryHandle /* handle */, |
221 int32_t /* length */) | 221 int32_t /* length */) |
222 | 222 |
| 223 // PPB_AudioInput_Dev. |
| 224 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudioInput_NotifyAudioStreamCreated, |
| 225 ppapi::HostResource /* audio_id */, |
| 226 int32_t /* result_code (will be != PP_OK on failure) */, |
| 227 IPC::PlatformFileForTransit /* socket_handle */, |
| 228 base::SharedMemoryHandle /* handle */, |
| 229 int32_t /* length */) |
| 230 |
| 231 |
223 // PPB_Broker. | 232 // PPB_Broker. |
224 IPC_MESSAGE_ROUTED3( | 233 IPC_MESSAGE_ROUTED3( |
225 PpapiMsg_PPBBroker_ConnectComplete, | 234 PpapiMsg_PPBBroker_ConnectComplete, |
226 ppapi::HostResource /* broker */, | 235 ppapi::HostResource /* broker */, |
227 IPC::PlatformFileForTransit /* handle */, | 236 IPC::PlatformFileForTransit /* handle */, |
228 int32_t /* result */) | 237 int32_t /* result */) |
229 | 238 |
230 // PPB_FileChooser. | 239 // PPB_FileChooser. |
231 IPC_MESSAGE_ROUTED3( | 240 IPC_MESSAGE_ROUTED3( |
232 PpapiMsg_PPBFileChooser_ChooseComplete, | 241 PpapiMsg_PPBFileChooser_ChooseComplete, |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 // PPB_Audio. | 481 // PPB_Audio. |
473 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudio_Create, | 482 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudio_Create, |
474 PP_Instance /* instance_id */, | 483 PP_Instance /* instance_id */, |
475 int32_t /* sample_rate */, | 484 int32_t /* sample_rate */, |
476 uint32_t /* sample_frame_count */, | 485 uint32_t /* sample_frame_count */, |
477 ppapi::HostResource /* result */) | 486 ppapi::HostResource /* result */) |
478 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop, | 487 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop, |
479 ppapi::HostResource /* audio_id */, | 488 ppapi::HostResource /* audio_id */, |
480 bool /* play */) | 489 bool /* play */) |
481 | 490 |
| 491 // PPB_AudioInput. |
| 492 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudioInput_Create, |
| 493 PP_Instance /* instance_id */, |
| 494 int32_t /* sample_rate */, |
| 495 uint32_t /* sample_frame_count */, |
| 496 ppapi::HostResource /* result */) |
| 497 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudioInput_StartOrStop, |
| 498 ppapi::HostResource /* audio_id */, |
| 499 bool /* capture */) |
| 500 |
482 // PPB_Broker. | 501 // PPB_Broker. |
483 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBBroker_Create, | 502 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBBroker_Create, |
484 PP_Instance /* instance */, | 503 PP_Instance /* instance */, |
485 ppapi::HostResource /* result_resource */) | 504 ppapi::HostResource /* result_resource */) |
486 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, | 505 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, |
487 ppapi::HostResource /* broker */) | 506 ppapi::HostResource /* broker */) |
488 | 507 |
489 // PPB_Buffer. | 508 // PPB_Buffer. |
490 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, | 509 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, |
491 PP_Instance /* instance */, | 510 PP_Instance /* instance */, |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1102 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) | 1121 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) |
1103 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, | 1122 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, |
1104 ppapi::HostResource /* video_decoder */, | 1123 ppapi::HostResource /* video_decoder */, |
1105 int32_t /* picture buffer id */) | 1124 int32_t /* picture buffer id */) |
1106 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, | 1125 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, |
1107 ppapi::HostResource /* video_decoder */) | 1126 ppapi::HostResource /* video_decoder */) |
1108 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, | 1127 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, |
1109 ppapi::HostResource /* video_decoder */) | 1128 ppapi::HostResource /* video_decoder */) |
1110 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, | 1129 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, |
1111 ppapi::HostResource /* video_decoder */) | 1130 ppapi::HostResource /* video_decoder */) |
OLD | NEW |