Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(791)

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 7431001: Re-land r92885, which was reverted in r92891. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/plugin_resource.h ('k') | ppapi/proxy/ppb_graphics_3d_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 pp::proxy::HostResource /* graphics_2d */, 631 pp::proxy::HostResource /* graphics_2d */,
627 bool /* clip_specified */, 632 bool /* clip_specified */,
628 PP_Rect /* clip */, 633 PP_Rect /* clip */,
629 PP_Point /* amount */) 634 PP_Point /* amount */)
630 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_ReplaceContents, 635 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_ReplaceContents,
631 pp::proxy::HostResource /* graphics_2d */, 636 pp::proxy::HostResource /* graphics_2d */,
632 pp::proxy::HostResource /* image_data */) 637 pp::proxy::HostResource /* image_data */)
633 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics2D_Flush, 638 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics2D_Flush,
634 pp::proxy::HostResource /* graphics_2d */) 639 pp::proxy::HostResource /* graphics_2d */)
635 640
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
636 // PPB_Instance. 685 // PPB_Instance.
637 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, 686 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject,
638 PP_Instance /* instance */, 687 PP_Instance /* instance */,
639 pp::proxy::SerializedVar /* result */) 688 pp::proxy::SerializedVar /* result */)
640 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject, 689 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject,
641 PP_Instance /* instance */, 690 PP_Instance /* instance */,
642 pp::proxy::SerializedVar /* result */) 691 pp::proxy::SerializedVar /* result */)
643 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics, 692 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics,
644 PP_Instance /* instance */, 693 PP_Instance /* instance */,
645 pp::proxy::HostResource /* device */, 694 pp::proxy::HostResource /* device */,
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 PP_Bool /* is_always_opaque */, 898 PP_Bool /* is_always_opaque */,
850 pp::proxy::HostResource /* result */) 899 pp::proxy::HostResource /* result */)
851 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_ResourceCreation_ImageData, 900 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_ResourceCreation_ImageData,
852 PP_Instance /* instance */, 901 PP_Instance /* instance */,
853 int32 /* format */, 902 int32 /* format */,
854 PP_Size /* size */, 903 PP_Size /* size */,
855 PP_Bool /* init_to_zero */, 904 PP_Bool /* init_to_zero */,
856 pp::proxy::HostResource /* result_resource */, 905 pp::proxy::HostResource /* result_resource */,
857 std::string /* image_data_desc */, 906 std::string /* image_data_desc */,
858 pp::proxy::ImageHandle /* result */) 907 pp::proxy::ImageHandle /* result */)
OLDNEW
« no previous file with comments | « ppapi/proxy/plugin_resource.h ('k') | ppapi/proxy/ppb_graphics_3d_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698