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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
6 // header guard. It is included by backing_store_messages_internal.h | 6 // header guard. It is included by backing_store_messages_internal.h |
7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
8 | 8 |
9 // This file needs to be included again, even though we're actually included | 9 // This file needs to be included again, even though we're actually included |
10 // from it via utility_messages.h. | 10 // from it via utility_messages.h. |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 // ----------------------------------------------------------------------------- | 138 // ----------------------------------------------------------------------------- |
139 // These are from the plugin to the renderer. | 139 // These are from the plugin to the renderer. |
140 IPC_BEGIN_MESSAGES(PpapiHost) | 140 IPC_BEGIN_MESSAGES(PpapiHost) |
141 // Reply to PpapiMsg_LoadPlugin. | 141 // Reply to PpapiMsg_LoadPlugin. |
142 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PluginLoaded, | 142 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PluginLoaded, |
143 IPC::ChannelHandle /* handle */) | 143 IPC::ChannelHandle /* handle */) |
144 | 144 |
145 // PPB_Buffer. | 145 // PPB_Buffer. |
146 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, | 146 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, |
147 PP_Module /* module */, | 147 PP_Module /* module */, |
148 int32_t /* size */, | 148 uint32_t /* size */, |
149 PP_Resource /* result_resource */, | 149 PP_Resource /* result_resource */, |
150 uint64_t /* result_shm_handle */) | 150 int32_t /* result_shm_handle */) |
151 | 151 |
152 // PPB_Core. | 152 // PPB_Core. |
153 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, PP_Resource) | 153 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, PP_Resource) |
154 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, PP_Resource) | 154 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, PP_Resource) |
155 | 155 |
156 // PPB_CharSet. | 156 // PPB_CharSet. |
157 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBCharSet_UTF16ToCharSet, | 157 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBCharSet_UTF16ToCharSet, |
158 string16 /* utf16 */, | 158 string16 /* utf16 */, |
159 std::string /* char_set */, | 159 std::string /* char_set */, |
160 int32_t /* on_error */, | 160 int32_t /* on_error */, |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 PpapiHostMsg_PPBImageData_IsImageDataFormatSupported, | 310 PpapiHostMsg_PPBImageData_IsImageDataFormatSupported, |
311 int32 /* format */, | 311 int32 /* format */, |
312 PP_Bool /* result */) | 312 PP_Bool /* result */) |
313 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_Create, | 313 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_Create, |
314 PP_Module /* module */, | 314 PP_Module /* module */, |
315 int32 /* format */, | 315 int32 /* format */, |
316 PP_Size /* size */, | 316 PP_Size /* size */, |
317 PP_Bool /* init_to_zero */, | 317 PP_Bool /* init_to_zero */, |
318 PP_Resource /* result_resource */, | 318 PP_Resource /* result_resource */, |
319 std::string /* image_data_desc */, | 319 std::string /* image_data_desc */, |
320 uint64_t /* result_shm_handle */) | 320 int32_t /* result_shm_handle */) |
321 | 321 |
322 // PPB_Instance. | 322 // PPB_Instance. |
323 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, | 323 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, |
324 PP_Instance /* instance */, | 324 PP_Instance /* instance */, |
325 pp::proxy::SerializedVar /* result */) | 325 pp::proxy::SerializedVar /* result */) |
326 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject, | 326 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject, |
327 PP_Instance /* instance */, | 327 PP_Instance /* instance */, |
328 pp::proxy::SerializedVar /* result */) | 328 pp::proxy::SerializedVar /* result */) |
329 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics, | 329 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics, |
330 PP_Instance /* instance */, | 330 PP_Instance /* instance */, |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 int64 /* object-data */, | 485 int64 /* object-data */, |
486 PP_Bool /* result */) | 486 PP_Bool /* result */) |
487 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, | 487 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, |
488 PP_Module /* module */, | 488 PP_Module /* module */, |
489 int64 /* object_class */, | 489 int64 /* object_class */, |
490 int64 /* object_data */, | 490 int64 /* object_data */, |
491 pp::proxy::SerializedVar /* result */) | 491 pp::proxy::SerializedVar /* result */) |
492 | 492 |
493 IPC_END_MESSAGES(PpapiHost) | 493 IPC_END_MESSAGES(PpapiHost) |
494 | 494 |
OLD | NEW |