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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | |
227 // PPB_Broker. | 219 // PPB_Broker. |
228 IPC_MESSAGE_ROUTED3( | 220 IPC_MESSAGE_ROUTED3( |
229 PpapiMsg_PPBBroker_ConnectComplete, | 221 PpapiMsg_PPBBroker_ConnectComplete, |
230 ppapi::HostResource /* broker */, | 222 ppapi::HostResource /* broker */, |
231 IPC::PlatformFileForTransit /* handle */, | 223 IPC::PlatformFileForTransit /* handle */, |
232 int32_t /* result */) | 224 int32_t /* result */) |
233 | 225 |
234 // PPB_FileChooser. | 226 // PPB_FileChooser. |
235 IPC_MESSAGE_ROUTED3( | 227 IPC_MESSAGE_ROUTED3( |
236 PpapiMsg_PPBFileChooser_ChooseComplete, | 228 PpapiMsg_PPBFileChooser_ChooseComplete, |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 // PPB_Audio. | 483 // PPB_Audio. |
492 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudio_Create, | 484 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudio_Create, |
493 PP_Instance /* instance_id */, | 485 PP_Instance /* instance_id */, |
494 int32_t /* sample_rate */, | 486 int32_t /* sample_rate */, |
495 uint32_t /* sample_frame_count */, | 487 uint32_t /* sample_frame_count */, |
496 ppapi::HostResource /* result */) | 488 ppapi::HostResource /* result */) |
497 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop, | 489 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop, |
498 ppapi::HostResource /* audio_id */, | 490 ppapi::HostResource /* audio_id */, |
499 bool /* play */) | 491 bool /* play */) |
500 | 492 |
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 | |
511 // PPB_Broker. | 493 // PPB_Broker. |
512 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBBroker_Create, | 494 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBBroker_Create, |
513 PP_Instance /* instance */, | 495 PP_Instance /* instance */, |
514 ppapi::HostResource /* result_resource */) | 496 ppapi::HostResource /* result_resource */) |
515 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, | 497 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, |
516 ppapi::HostResource /* broker */) | 498 ppapi::HostResource /* broker */) |
517 | 499 |
518 // PPB_Buffer. | 500 // PPB_Buffer. |
519 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, | 501 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, |
520 PP_Instance /* instance */, | 502 PP_Instance /* instance */, |
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1125 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) | 1107 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) |
1126 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, | 1108 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, |
1127 ppapi::HostResource /* video_decoder */, | 1109 ppapi::HostResource /* video_decoder */, |
1128 int32_t /* picture buffer id */) | 1110 int32_t /* picture buffer id */) |
1129 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, | 1111 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, |
1130 ppapi::HostResource /* video_decoder */) | 1112 ppapi::HostResource /* video_decoder */) |
1131 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, | 1113 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, |
1132 ppapi::HostResource /* video_decoder */) | 1114 ppapi::HostResource /* video_decoder */) |
1133 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, | 1115 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, |
1134 ppapi::HostResource /* video_decoder */) | 1116 ppapi::HostResource /* video_decoder */) |
OLD | NEW |