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