OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "ipc/ipc_message_macros.h" | 5 #include "ipc/ipc_message_macros.h" |
6 #include "ppapi/c/dev/pp_file_info_dev.h" | 6 #include "ppapi/c/dev/pp_file_info_dev.h" |
7 #include "ppapi/c/ppb_var.h" | 7 #include "ppapi/c/ppb_var.h" |
8 | 8 |
9 #define IPC_MESSAGE_START PpapiMsgStart | 9 #define IPC_MESSAGE_START PpapiMsgStart |
10 | 10 |
(...skipping 27 matching lines...) Expand all Loading... |
38 | 38 |
39 // PPB_Audio. | 39 // PPB_Audio. |
40 | 40 |
41 // Notifies the result of the audio stream create call. This is called in | 41 // Notifies the result of the audio stream create call. This is called in |
42 // both error cases and in the normal success case. These cases are | 42 // both error cases and in the normal success case. These cases are |
43 // differentiated by the result code, which is one of the standard PPAPI | 43 // differentiated by the result code, which is one of the standard PPAPI |
44 // result codes. | 44 // result codes. |
45 // | 45 // |
46 // The handler of this message should always close all of the handles passed | 46 // The handler of this message should always close all of the handles passed |
47 // in, since some could be valid even in the error case. | 47 // in, since some could be valid even in the error case. |
48 IPC_MESSAGE_ROUTED1(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, | 48 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, |
49 pp::proxy::PPBAudio_NotifyAudioStreamCreated_Params); | 49 pp::proxy::HostResource /* audio_id */, |
| 50 int32_t /* result_code (will be != PP_OK on failure) */, |
| 51 IPC::PlatformFileForTransit /* socket_handle */, |
| 52 base::SharedMemoryHandle /* handle */, |
| 53 int32_t /* length */) |
50 | 54 |
51 // PPB_Graphics2D. | 55 // PPB_Graphics2D. |
52 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, | 56 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, |
53 pp::proxy::HostResource /* graphics_2d */, | 57 pp::proxy::HostResource /* graphics_2d */, |
54 int32_t /* pp_error */) | 58 int32_t /* pp_error */) |
55 | 59 |
56 // PPP_Class. | 60 // PPP_Class. |
57 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_HasProperty, | 61 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_HasProperty, |
58 int64 /* ppp_class */, | 62 int64 /* ppp_class */, |
59 int64 /* object */, | 63 int64 /* object */, |
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, | 519 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, |
516 pp::proxy::SerializedVar /* var */, | 520 pp::proxy::SerializedVar /* var */, |
517 int64 /* object_class */, | 521 int64 /* object_class */, |
518 int64 /* object-data */, | 522 int64 /* object-data */, |
519 PP_Bool /* result */) | 523 PP_Bool /* result */) |
520 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, | 524 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, |
521 PP_Instance /* instance */, | 525 PP_Instance /* instance */, |
522 int64 /* object_class */, | 526 int64 /* object_class */, |
523 int64 /* object_data */, | 527 int64 /* object_data */, |
524 pp::proxy::SerializedVar /* result */) | 528 pp::proxy::SerializedVar /* result */) |
OLD | NEW |