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

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

Issue 10837145: Add gpu targets to untrusted build, and add Graphics3D code to untrusted build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 855 matching lines...) Expand 10 before | Expand all | Expand 10 after
866 PP_Point /* amount */) 866 PP_Point /* amount */)
867 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_ReplaceContents, 867 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_ReplaceContents,
868 ppapi::HostResource /* graphics_2d */, 868 ppapi::HostResource /* graphics_2d */,
869 ppapi::HostResource /* image_data */) 869 ppapi::HostResource /* image_data */)
870 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics2D_Flush, 870 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics2D_Flush,
871 ppapi::HostResource /* graphics_2d */) 871 ppapi::HostResource /* graphics_2d */)
872 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_Dev_SetScale, 872 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_Dev_SetScale,
873 ppapi::HostResource /* graphics_2d */, 873 ppapi::HostResource /* graphics_2d */,
874 float /* scale */) 874 float /* scale */)
875 875
876 #if !defined(OS_NACL)
877 // PPB_Graphics3D. 876 // PPB_Graphics3D.
878 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create, 877 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create,
879 PP_Instance /* instance */, 878 PP_Instance /* instance */,
880 ppapi::HostResource /* share_context */, 879 ppapi::HostResource /* share_context */,
881 std::vector<int32_t> /* attrib_list */, 880 std::vector<int32_t> /* attrib_list */,
882 ppapi::HostResource /* result */) 881 ppapi::HostResource /* result */)
883 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBGraphics3D_InitCommandBuffer, 882 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBGraphics3D_InitCommandBuffer,
884 ppapi::HostResource /* context */) 883 ppapi::HostResource /* context */)
885 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, 884 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer,
886 ppapi::HostResource /* context */, 885 ppapi::HostResource /* context */,
(...skipping 18 matching lines...) Expand all
905 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer, 904 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer,
906 ppapi::HostResource /* context */, 905 ppapi::HostResource /* context */,
907 int32 /* id */) 906 int32 /* id */)
908 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBGraphics3D_GetTransferBuffer, 907 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBGraphics3D_GetTransferBuffer,
909 ppapi::HostResource /* context */, 908 ppapi::HostResource /* context */,
910 int32 /* id */, 909 int32 /* id */,
911 base::SharedMemoryHandle /* transfer_buffer */, 910 base::SharedMemoryHandle /* transfer_buffer */,
912 uint32 /* size */) 911 uint32 /* size */)
913 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers, 912 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers,
914 ppapi::HostResource /* graphics_3d */) 913 ppapi::HostResource /* graphics_3d */)
915 #endif // !defined(OS_NACL)
916 914
917 // PPB_ImageData. 915 // PPB_ImageData.
918 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_Create, 916 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_Create,
919 PP_Instance /* instance */, 917 PP_Instance /* instance */,
920 int32 /* format */, 918 int32 /* format */,
921 PP_Size /* size */, 919 PP_Size /* size */,
922 PP_Bool /* init_to_zero */, 920 PP_Bool /* init_to_zero */,
923 ppapi::HostResource /* result_resource */, 921 ppapi::HostResource /* result_resource */,
924 std::string /* image_data_desc */, 922 std::string /* image_data_desc */,
925 ppapi::proxy::ImageHandle /* result */) 923 ppapi::proxy::ImageHandle /* result */)
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
1455 1453
1456 // File chooser. 1454 // File chooser.
1457 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) 1455 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create)
1458 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, 1456 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show,
1459 bool /* save_as */, 1457 bool /* save_as */,
1460 bool /* open_multiple */, 1458 bool /* open_multiple */,
1461 std::string /* suggested_file_name */, 1459 std::string /* suggested_file_name */,
1462 std::vector<std::string> /* accept_mime_types */) 1460 std::vector<std::string> /* accept_mime_types */)
1463 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, 1461 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply,
1464 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) 1462 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698