| 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 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 852 PP_Point /* amount */) | 852 PP_Point /* amount */) |
| 853 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_ReplaceContents, | 853 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_ReplaceContents, |
| 854 ppapi::HostResource /* graphics_2d */, | 854 ppapi::HostResource /* graphics_2d */, |
| 855 ppapi::HostResource /* image_data */) | 855 ppapi::HostResource /* image_data */) |
| 856 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics2D_Flush, | 856 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics2D_Flush, |
| 857 ppapi::HostResource /* graphics_2d */) | 857 ppapi::HostResource /* graphics_2d */) |
| 858 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_Dev_SetScale, | 858 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_Dev_SetScale, |
| 859 ppapi::HostResource /* graphics_2d */, | 859 ppapi::HostResource /* graphics_2d */, |
| 860 float /* scale */) | 860 float /* scale */) |
| 861 | 861 |
| 862 #if !defined(OS_NACL) | |
| 863 // PPB_Graphics3D. | 862 // PPB_Graphics3D. |
| 864 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create, | 863 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create, |
| 865 PP_Instance /* instance */, | 864 PP_Instance /* instance */, |
| 866 ppapi::HostResource /* share_context */, | 865 ppapi::HostResource /* share_context */, |
| 867 std::vector<int32_t> /* attrib_list */, | 866 std::vector<int32_t> /* attrib_list */, |
| 868 ppapi::HostResource /* result */) | 867 ppapi::HostResource /* result */) |
| 869 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBGraphics3D_InitCommandBuffer, | 868 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBGraphics3D_InitCommandBuffer, |
| 870 ppapi::HostResource /* context */) | 869 ppapi::HostResource /* context */) |
| 871 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, | 870 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, |
| 872 ppapi::HostResource /* context */, | 871 ppapi::HostResource /* context */, |
| (...skipping 18 matching lines...) Expand all Loading... |
| 891 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer, | 890 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer, |
| 892 ppapi::HostResource /* context */, | 891 ppapi::HostResource /* context */, |
| 893 int32 /* id */) | 892 int32 /* id */) |
| 894 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBGraphics3D_GetTransferBuffer, | 893 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBGraphics3D_GetTransferBuffer, |
| 895 ppapi::HostResource /* context */, | 894 ppapi::HostResource /* context */, |
| 896 int32 /* id */, | 895 int32 /* id */, |
| 897 base::SharedMemoryHandle /* transfer_buffer */, | 896 base::SharedMemoryHandle /* transfer_buffer */, |
| 898 uint32 /* size */) | 897 uint32 /* size */) |
| 899 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers, | 898 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers, |
| 900 ppapi::HostResource /* graphics_3d */) | 899 ppapi::HostResource /* graphics_3d */) |
| 901 #endif // !defined(OS_NACL) | |
| 902 | 900 |
| 903 // PPB_ImageData. | 901 // PPB_ImageData. |
| 904 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_Create, | 902 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_Create, |
| 905 PP_Instance /* instance */, | 903 PP_Instance /* instance */, |
| 906 int32 /* format */, | 904 int32 /* format */, |
| 907 PP_Size /* size */, | 905 PP_Size /* size */, |
| 908 PP_Bool /* init_to_zero */, | 906 PP_Bool /* init_to_zero */, |
| 909 ppapi::HostResource /* result_resource */, | 907 ppapi::HostResource /* result_resource */, |
| 910 std::string /* image_data_desc */, | 908 std::string /* image_data_desc */, |
| 911 ppapi::proxy::ImageHandle /* result */) | 909 ppapi::proxy::ImageHandle /* result */) |
| (...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1429 | 1427 |
| 1430 // File chooser. | 1428 // File chooser. |
| 1431 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) | 1429 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) |
| 1432 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, | 1430 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, |
| 1433 bool /* save_as */, | 1431 bool /* save_as */, |
| 1434 bool /* open_multiple */, | 1432 bool /* open_multiple */, |
| 1435 std::string /* suggested_file_name */, | 1433 std::string /* suggested_file_name */, |
| 1436 std::vector<std::string> /* accept_mime_types */) | 1434 std::vector<std::string> /* accept_mime_types */) |
| 1437 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, | 1435 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, |
| 1438 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) | 1436 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) |
| OLD | NEW |