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 "gpu/command_buffer/common/command_buffer.h" | 5 #include "gpu/command_buffer/common/command_buffer.h" |
6 #include "gpu/ipc/gpu_command_buffer_traits.h" | 6 #include "gpu/ipc/gpu_command_buffer_traits.h" |
7 #include "ipc/ipc_message_macros.h" | 7 #include "ipc/ipc_message_macros.h" |
8 #include "ppapi/c/dev/pp_file_info_dev.h" | 8 #include "ppapi/c/dev/pp_file_info_dev.h" |
9 #include "ppapi/c/ppb_var.h" | 9 #include "ppapi/c/ppb_var.h" |
10 | 10 |
(...skipping 28 matching lines...) Expand all Loading... |
39 // | 39 // |
40 // The handler of this message should always close all of the handles passed | 40 // The handler of this message should always close all of the handles passed |
41 // in, since some could be valid even in the error case. | 41 // in, since some could be valid even in the error case. |
42 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, | 42 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, |
43 pp::proxy::HostResource /* audio_id */, | 43 pp::proxy::HostResource /* audio_id */, |
44 int32_t /* result_code (will be != PP_OK on failure) */, | 44 int32_t /* result_code (will be != PP_OK on failure) */, |
45 IPC::PlatformFileForTransit /* socket_handle */, | 45 IPC::PlatformFileForTransit /* socket_handle */, |
46 base::SharedMemoryHandle /* handle */, | 46 base::SharedMemoryHandle /* handle */, |
47 int32_t /* length */) | 47 int32_t /* length */) |
48 | 48 |
| 49 // PPB_FileChooser. |
| 50 IPC_MESSAGE_ROUTED3( |
| 51 PpapiMsg_PPBFileChooser_ChooseComplete, |
| 52 pp::proxy::HostResource /* chooser */, |
| 53 int32_t /* result_code (will be != PP_OK on failure */, |
| 54 std::vector<pp::proxy::PPBFileRef_CreateInfo> /* chosen_files */) |
| 55 |
49 // PPB_Graphics2D. | 56 // PPB_Graphics2D. |
50 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, | 57 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, |
51 pp::proxy::HostResource /* graphics_2d */, | 58 pp::proxy::HostResource /* graphics_2d */, |
52 int32_t /* pp_error */) | 59 int32_t /* pp_error */) |
53 | 60 |
54 // PPB_Surface3D. | 61 // PPB_Surface3D. |
55 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBSurface3D_SwapBuffersACK, | 62 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBSurface3D_SwapBuffersACK, |
56 pp::proxy::HostResource /* surface_3d */, | 63 pp::proxy::HostResource /* surface_3d */, |
57 int32_t /* pp_error */) | 64 int32_t /* pp_error */) |
58 | 65 |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_UnlockCursor, | 276 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_UnlockCursor, |
270 PP_Instance /* instance */, | 277 PP_Instance /* instance */, |
271 PP_Bool /* result */) | 278 PP_Bool /* result */) |
272 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_HasCursorLock, | 279 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_HasCursorLock, |
273 PP_Instance /* instance */, | 280 PP_Instance /* instance */, |
274 PP_Bool /* result */) | 281 PP_Bool /* result */) |
275 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_CanLockCursor, | 282 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_CanLockCursor, |
276 PP_Instance /* instance */, | 283 PP_Instance /* instance */, |
277 PP_Bool /* result */) | 284 PP_Bool /* result */) |
278 | 285 |
| 286 // PPB_FileChooser. |
| 287 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFileChooser_Create, |
| 288 PP_Instance /* instance */, |
| 289 int /* mode */, |
| 290 std::string /* accept_mime_types */, |
| 291 pp::proxy::HostResource /* result */) |
| 292 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBFileChooser_Show, |
| 293 pp::proxy::HostResource /* file_chooser */) |
| 294 |
| 295 |
| 296 // PPB_FileRef. |
| 297 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileRef_Create, |
| 298 pp::proxy::HostResource /* file_system */, |
| 299 std::string /* path */, |
| 300 pp::proxy::PPBFileRef_CreateInfo /* result */) |
| 301 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileRef_GetParent, |
| 302 pp::proxy::HostResource /* file_ref */, |
| 303 pp::proxy::PPBFileRef_CreateInfo /* result */) |
| 304 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_MakeDirectory, |
| 305 pp::proxy::HostResource /* file_ref */, |
| 306 PP_Bool /* make_ancestors */, |
| 307 uint32_t /* serialized_callback */); |
| 308 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileRef_Touch, |
| 309 pp::proxy::HostResource /* file_ref */, |
| 310 PP_Time /* last_access */, |
| 311 PP_Time /* last_modified */, |
| 312 uint32_t /* serialized_callback */); |
| 313 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileRef_Delete, |
| 314 pp::proxy::HostResource /* file_ref */, |
| 315 uint32_t /* serialized_callback */); |
| 316 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_Rename, |
| 317 pp::proxy::HostResource /* file_ref */, |
| 318 pp::proxy::HostResource /* new_file_ref */, |
| 319 uint32_t /* serialized_callback */); |
| 320 |
279 // PPB_Flash. | 321 // PPB_Flash. |
280 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlash_SetInstanceAlwaysOnTop, | 322 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlash_SetInstanceAlwaysOnTop, |
281 PP_Instance /* instance */, | 323 PP_Instance /* instance */, |
282 PP_Bool /* on_top */) | 324 PP_Bool /* on_top */) |
283 // This has to be synchronous becuase the caller may want to composite on | 325 // This has to be synchronous becuase the caller may want to composite on |
284 // top of the resulting text after the call is complete. | 326 // top of the resulting text after the call is complete. |
285 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlash_DrawGlyphs, | 327 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlash_DrawGlyphs, |
286 pp::proxy::PPBFlash_DrawGlyphs_Params /* params */, | 328 pp::proxy::PPBFlash_DrawGlyphs_Params /* params */, |
287 PP_Bool /* result */) | 329 PP_Bool /* result */) |
288 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetProxyForURL, | 330 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetProxyForURL, |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
598 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, | 640 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, |
599 pp::proxy::SerializedVar /* var */, | 641 pp::proxy::SerializedVar /* var */, |
600 int64 /* object_class */, | 642 int64 /* object_class */, |
601 int64 /* object-data */, | 643 int64 /* object-data */, |
602 PP_Bool /* result */) | 644 PP_Bool /* result */) |
603 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, | 645 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, |
604 PP_Instance /* instance */, | 646 PP_Instance /* instance */, |
605 int64 /* object_class */, | 647 int64 /* object_class */, |
606 int64 /* object_data */, | 648 int64 /* object_data */, |
607 pp::proxy::SerializedVar /* result */) | 649 pp::proxy::SerializedVar /* result */) |
OLD | NEW |