| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 base::SharedMemoryHandle /* handle */, | 46 base::SharedMemoryHandle /* handle */, |
| 47 int32_t /* length */) | 47 int32_t /* length */) |
| 48 | 48 |
| 49 // PPB_FileChooser. | 49 // PPB_FileChooser. |
| 50 IPC_MESSAGE_ROUTED3( | 50 IPC_MESSAGE_ROUTED3( |
| 51 PpapiMsg_PPBFileChooser_ChooseComplete, | 51 PpapiMsg_PPBFileChooser_ChooseComplete, |
| 52 pp::proxy::HostResource /* chooser */, | 52 pp::proxy::HostResource /* chooser */, |
| 53 int32_t /* result_code (will be != PP_OK on failure */, | 53 int32_t /* result_code (will be != PP_OK on failure */, |
| 54 std::vector<pp::proxy::PPBFileRef_CreateInfo> /* chosen_files */) | 54 std::vector<pp::proxy::PPBFileRef_CreateInfo> /* chosen_files */) |
| 55 | 55 |
| 56 // PPB_FileSystem. |
| 57 IPC_MESSAGE_ROUTED2( |
| 58 PpapiMsg_PPBFileSystem_OpenComplete, |
| 59 pp::proxy::HostResource /* filesystem */, |
| 60 int32_t /* result */) |
| 61 |
| 56 // PPB_Graphics2D. | 62 // PPB_Graphics2D. |
| 57 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, | 63 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, |
| 58 pp::proxy::HostResource /* graphics_2d */, | 64 pp::proxy::HostResource /* graphics_2d */, |
| 59 int32_t /* pp_error */) | 65 int32_t /* pp_error */) |
| 60 | 66 |
| 61 // PPB_Surface3D. | 67 // PPB_Surface3D. |
| 62 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBSurface3D_SwapBuffersACK, | 68 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBSurface3D_SwapBuffersACK, |
| 63 pp::proxy::HostResource /* surface_3d */, | 69 pp::proxy::HostResource /* surface_3d */, |
| 64 int32_t /* pp_error */) | 70 int32_t /* pp_error */) |
| 65 | 71 |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 PP_Time /* last_modified */, | 317 PP_Time /* last_modified */, |
| 312 uint32_t /* serialized_callback */); | 318 uint32_t /* serialized_callback */); |
| 313 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileRef_Delete, | 319 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileRef_Delete, |
| 314 pp::proxy::HostResource /* file_ref */, | 320 pp::proxy::HostResource /* file_ref */, |
| 315 uint32_t /* serialized_callback */); | 321 uint32_t /* serialized_callback */); |
| 316 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_Rename, | 322 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_Rename, |
| 317 pp::proxy::HostResource /* file_ref */, | 323 pp::proxy::HostResource /* file_ref */, |
| 318 pp::proxy::HostResource /* new_file_ref */, | 324 pp::proxy::HostResource /* new_file_ref */, |
| 319 uint32_t /* serialized_callback */); | 325 uint32_t /* serialized_callback */); |
| 320 | 326 |
| 327 // PPB_FileSystem. |
| 328 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileSystem_Create, |
| 329 PP_Instance /* instance */, |
| 330 int /* type */, |
| 331 pp::proxy::HostResource /* result */) |
| 332 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileSystem_Open, |
| 333 pp::proxy::HostResource /* result */, |
| 334 int64_t /* expected_size */) |
| 335 |
| 321 // PPB_Flash. | 336 // PPB_Flash. |
| 322 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlash_SetInstanceAlwaysOnTop, | 337 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlash_SetInstanceAlwaysOnTop, |
| 323 PP_Instance /* instance */, | 338 PP_Instance /* instance */, |
| 324 PP_Bool /* on_top */) | 339 PP_Bool /* on_top */) |
| 325 // This has to be synchronous becuase the caller may want to composite on | 340 // This has to be synchronous becuase the caller may want to composite on |
| 326 // top of the resulting text after the call is complete. | 341 // top of the resulting text after the call is complete. |
| 327 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlash_DrawGlyphs, | 342 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlash_DrawGlyphs, |
| 328 pp::proxy::PPBFlash_DrawGlyphs_Params /* params */, | 343 pp::proxy::PPBFlash_DrawGlyphs_Params /* params */, |
| 329 PP_Bool /* result */) | 344 PP_Bool /* result */) |
| 330 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetProxyForURL, | 345 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetProxyForURL, |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 563 int64_t /* number_of_bytes */, | 578 int64_t /* number_of_bytes */, |
| 564 double /* expected_last_modified_time */) | 579 double /* expected_last_modified_time */) |
| 565 | 580 |
| 566 // PPB_URLResponseInfo. | 581 // PPB_URLResponseInfo. |
| 567 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBURLResponseInfo_GetProperty, | 582 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBURLResponseInfo_GetProperty, |
| 568 pp::proxy::HostResource /* response */, | 583 pp::proxy::HostResource /* response */, |
| 569 int32_t /* property */, | 584 int32_t /* property */, |
| 570 pp::proxy::SerializedVar /* result */) | 585 pp::proxy::SerializedVar /* result */) |
| 571 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLResponseInfo_GetBodyAsFileRef, | 586 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLResponseInfo_GetBodyAsFileRef, |
| 572 pp::proxy::HostResource /* response */, | 587 pp::proxy::HostResource /* response */, |
| 573 pp::proxy::HostResource /* file_ref_result */) | 588 pp::proxy::PPBFileRef_CreateInfo /* result */) |
| 574 | 589 |
| 575 // PPB_Var. | 590 // PPB_Var. |
| 576 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVar_AddRefObject, | 591 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVar_AddRefObject, |
| 577 int64 /* object_id */) | 592 int64 /* object_id */) |
| 578 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVar_ReleaseObject, | 593 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVar_ReleaseObject, |
| 579 int64 /* object_id */) | 594 int64 /* object_id */) |
| 580 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBVar_ConvertType, | 595 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBVar_ConvertType, |
| 581 PP_Instance /* instance */, | 596 PP_Instance /* instance */, |
| 582 pp::proxy::SerializedVar /* var */, | 597 pp::proxy::SerializedVar /* var */, |
| 583 int /* new_type */, | 598 int /* new_type */, |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 640 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, | 655 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, |
| 641 pp::proxy::SerializedVar /* var */, | 656 pp::proxy::SerializedVar /* var */, |
| 642 int64 /* object_class */, | 657 int64 /* object_class */, |
| 643 int64 /* object-data */, | 658 int64 /* object-data */, |
| 644 PP_Bool /* result */) | 659 PP_Bool /* result */) |
| 645 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, | 660 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, |
| 646 PP_Instance /* instance */, | 661 PP_Instance /* instance */, |
| 647 int64 /* object_class */, | 662 int64 /* object_class */, |
| 648 int64 /* object_data */, | 663 int64 /* object_data */, |
| 649 pp::proxy::SerializedVar /* result */) | 664 pp::proxy::SerializedVar /* result */) |
| OLD | NEW |