OLD | NEW |
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 Loading... |
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) |
876 // PPB_Graphics3D. | 877 // PPB_Graphics3D. |
877 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create, | 878 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create, |
878 PP_Instance /* instance */, | 879 PP_Instance /* instance */, |
879 ppapi::HostResource /* share_context */, | 880 ppapi::HostResource /* share_context */, |
880 std::vector<int32_t> /* attrib_list */, | 881 std::vector<int32_t> /* attrib_list */, |
881 ppapi::HostResource /* result */) | 882 ppapi::HostResource /* result */) |
882 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBGraphics3D_InitCommandBuffer, | 883 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBGraphics3D_InitCommandBuffer, |
883 ppapi::HostResource /* context */) | 884 ppapi::HostResource /* context */) |
884 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, | 885 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, |
885 ppapi::HostResource /* context */, | 886 ppapi::HostResource /* context */, |
(...skipping 18 matching lines...) Expand all Loading... |
904 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer, | 905 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer, |
905 ppapi::HostResource /* context */, | 906 ppapi::HostResource /* context */, |
906 int32 /* id */) | 907 int32 /* id */) |
907 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBGraphics3D_GetTransferBuffer, | 908 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBGraphics3D_GetTransferBuffer, |
908 ppapi::HostResource /* context */, | 909 ppapi::HostResource /* context */, |
909 int32 /* id */, | 910 int32 /* id */, |
910 base::SharedMemoryHandle /* transfer_buffer */, | 911 base::SharedMemoryHandle /* transfer_buffer */, |
911 uint32 /* size */) | 912 uint32 /* size */) |
912 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers, | 913 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers, |
913 ppapi::HostResource /* graphics_3d */) | 914 ppapi::HostResource /* graphics_3d */) |
| 915 #endif // !defined(OS_NACL) |
914 | 916 |
915 // PPB_ImageData. | 917 // PPB_ImageData. |
916 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_Create, | 918 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_Create, |
917 PP_Instance /* instance */, | 919 PP_Instance /* instance */, |
918 int32 /* format */, | 920 int32 /* format */, |
919 PP_Size /* size */, | 921 PP_Size /* size */, |
920 PP_Bool /* init_to_zero */, | 922 PP_Bool /* init_to_zero */, |
921 ppapi::HostResource /* result_resource */, | 923 ppapi::HostResource /* result_resource */, |
922 std::string /* image_data_desc */, | 924 std::string /* image_data_desc */, |
923 ppapi::proxy::ImageHandle /* result */) | 925 ppapi::proxy::ImageHandle /* result */) |
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1453 | 1455 |
1454 // File chooser. | 1456 // File chooser. |
1455 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) | 1457 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) |
1456 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, | 1458 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, |
1457 bool /* save_as */, | 1459 bool /* save_as */, |
1458 bool /* open_multiple */, | 1460 bool /* open_multiple */, |
1459 std::string /* suggested_file_name */, | 1461 std::string /* suggested_file_name */, |
1460 std::vector<std::string> /* accept_mime_types */) | 1462 std::vector<std::string> /* accept_mime_types */) |
1461 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, | 1463 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, |
1462 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) | 1464 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) |
OLD | NEW |