| 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 uint32 /* plugin_dispatcher_id */, | 195 uint32 /* plugin_dispatcher_id */, |
| 196 uint32 /* socket_id */, | 196 uint32 /* socket_id */, |
| 197 bool /* succeeded */, | 197 bool /* succeeded */, |
| 198 int32_t /* bytes_written */) | 198 int32_t /* bytes_written */) |
| 199 | 199 |
| 200 // PPB_Graphics2D. | 200 // PPB_Graphics2D. |
| 201 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, | 201 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, |
| 202 pp::proxy::HostResource /* graphics_2d */, | 202 pp::proxy::HostResource /* graphics_2d */, |
| 203 int32_t /* pp_error */) | 203 int32_t /* pp_error */) |
| 204 | 204 |
| 205 // PPB_Graphics3D. | |
| 206 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, | |
| 207 pp::proxy::HostResource /* graphics_3d */, | |
| 208 int32_t /* pp_error */) | |
| 209 | |
| 210 // PPB_Surface3D. | 205 // PPB_Surface3D. |
| 211 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBSurface3D_SwapBuffersACK, | 206 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBSurface3D_SwapBuffersACK, |
| 212 pp::proxy::HostResource /* surface_3d */, | 207 pp::proxy::HostResource /* surface_3d */, |
| 213 int32_t /* pp_error */) | 208 int32_t /* pp_error */) |
| 214 | 209 |
| 215 // PPP_Class. | 210 // PPP_Class. |
| 216 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_HasProperty, | 211 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiMsg_PPPClass_HasProperty, |
| 217 int64 /* ppp_class */, | 212 int64 /* ppp_class */, |
| 218 int64 /* object */, | 213 int64 /* object */, |
| 219 pp::proxy::SerializedVar /* property */, | 214 pp::proxy::SerializedVar /* property */, |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 631 pp::proxy::HostResource /* graphics_2d */, | 626 pp::proxy::HostResource /* graphics_2d */, |
| 632 bool /* clip_specified */, | 627 bool /* clip_specified */, |
| 633 PP_Rect /* clip */, | 628 PP_Rect /* clip */, |
| 634 PP_Point /* amount */) | 629 PP_Point /* amount */) |
| 635 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_ReplaceContents, | 630 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_ReplaceContents, |
| 636 pp::proxy::HostResource /* graphics_2d */, | 631 pp::proxy::HostResource /* graphics_2d */, |
| 637 pp::proxy::HostResource /* image_data */) | 632 pp::proxy::HostResource /* image_data */) |
| 638 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics2D_Flush, | 633 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics2D_Flush, |
| 639 pp::proxy::HostResource /* graphics_2d */) | 634 pp::proxy::HostResource /* graphics_2d */) |
| 640 | 635 |
| 641 // PPB_Graphics3D. | |
| 642 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create, | |
| 643 PP_Instance /* instance */, | |
| 644 int32_t /* config */, | |
| 645 std::vector<int32_t> /* attrib_list */, | |
| 646 pp::proxy::HostResource /* result */) | |
| 647 | |
| 648 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBGraphics3D_InitCommandBuffer, | |
| 649 pp::proxy::HostResource /* context */, | |
| 650 int32 /* size */, | |
| 651 base::SharedMemoryHandle /* ring_buffer */) | |
| 652 | |
| 653 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBGraphics3D_GetState, | |
| 654 pp::proxy::HostResource /* context */, | |
| 655 gpu::CommandBuffer::State /* state */) | |
| 656 | |
| 657 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Flush, | |
| 658 pp::proxy::HostResource /* context */, | |
| 659 int32 /* put_offset */, | |
| 660 int32 /* last_known_get */, | |
| 661 gpu::CommandBuffer::State /* state */) | |
| 662 | |
| 663 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics3D_AsyncFlush, | |
| 664 pp::proxy::HostResource /* context */, | |
| 665 int32 /* put_offset */) | |
| 666 | |
| 667 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBGraphics3D_CreateTransferBuffer, | |
| 668 pp::proxy::HostResource /* context */, | |
| 669 int32 /* size */, | |
| 670 int32 /* id */) | |
| 671 | |
| 672 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer, | |
| 673 pp::proxy::HostResource /* context */, | |
| 674 int32 /* id */) | |
| 675 | |
| 676 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBGraphics3D_GetTransferBuffer, | |
| 677 pp::proxy::HostResource /* context */, | |
| 678 int32 /* id */, | |
| 679 base::SharedMemoryHandle /* transfer_buffer */, | |
| 680 uint32 /* size */) | |
| 681 | |
| 682 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers, | |
| 683 pp::proxy::HostResource /* graphics_3d */) | |
| 684 | |
| 685 // PPB_Instance. | 636 // PPB_Instance. |
| 686 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, | 637 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, |
| 687 PP_Instance /* instance */, | 638 PP_Instance /* instance */, |
| 688 pp::proxy::SerializedVar /* result */) | 639 pp::proxy::SerializedVar /* result */) |
| 689 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject, | 640 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject, |
| 690 PP_Instance /* instance */, | 641 PP_Instance /* instance */, |
| 691 pp::proxy::SerializedVar /* result */) | 642 pp::proxy::SerializedVar /* result */) |
| 692 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics, | 643 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics, |
| 693 PP_Instance /* instance */, | 644 PP_Instance /* instance */, |
| 694 pp::proxy::HostResource /* device */, | 645 pp::proxy::HostResource /* device */, |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 898 PP_Bool /* is_always_opaque */, | 849 PP_Bool /* is_always_opaque */, |
| 899 pp::proxy::HostResource /* result */) | 850 pp::proxy::HostResource /* result */) |
| 900 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_ResourceCreation_ImageData, | 851 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_ResourceCreation_ImageData, |
| 901 PP_Instance /* instance */, | 852 PP_Instance /* instance */, |
| 902 int32 /* format */, | 853 int32 /* format */, |
| 903 PP_Size /* size */, | 854 PP_Size /* size */, |
| 904 PP_Bool /* init_to_zero */, | 855 PP_Bool /* init_to_zero */, |
| 905 pp::proxy::HostResource /* result_resource */, | 856 pp::proxy::HostResource /* result_resource */, |
| 906 std::string /* image_data_desc */, | 857 std::string /* image_data_desc */, |
| 907 pp::proxy::ImageHandle /* result */) | 858 pp::proxy::ImageHandle /* result */) |
| OLD | NEW |