| 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 848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 859 PP_Point /* amount */) | 859 PP_Point /* amount */) |
| 860 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_ReplaceContents, | 860 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_ReplaceContents, |
| 861 ppapi::HostResource /* graphics_2d */, | 861 ppapi::HostResource /* graphics_2d */, |
| 862 ppapi::HostResource /* image_data */) | 862 ppapi::HostResource /* image_data */) |
| 863 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics2D_Flush, | 863 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics2D_Flush, |
| 864 ppapi::HostResource /* graphics_2d */) | 864 ppapi::HostResource /* graphics_2d */) |
| 865 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_Dev_SetScale, | 865 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_Dev_SetScale, |
| 866 ppapi::HostResource /* graphics_2d */, | 866 ppapi::HostResource /* graphics_2d */, |
| 867 float /* scale */) | 867 float /* scale */) |
| 868 | 868 |
| 869 #if !defined(OS_NACL) | |
| 870 // PPB_Graphics3D. | 869 // PPB_Graphics3D. |
| 871 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create, | 870 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create, |
| 872 PP_Instance /* instance */, | 871 PP_Instance /* instance */, |
| 873 ppapi::HostResource /* share_context */, | 872 ppapi::HostResource /* share_context */, |
| 874 std::vector<int32_t> /* attrib_list */, | 873 std::vector<int32_t> /* attrib_list */, |
| 875 ppapi::HostResource /* result */) | 874 ppapi::HostResource /* result */) |
| 876 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBGraphics3D_InitCommandBuffer, | 875 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBGraphics3D_InitCommandBuffer, |
| 877 ppapi::HostResource /* context */) | 876 ppapi::HostResource /* context */) |
| 878 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, | 877 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, |
| 879 ppapi::HostResource /* context */, | 878 ppapi::HostResource /* context */, |
| (...skipping 18 matching lines...) Expand all Loading... |
| 898 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer, | 897 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer, |
| 899 ppapi::HostResource /* context */, | 898 ppapi::HostResource /* context */, |
| 900 int32 /* id */) | 899 int32 /* id */) |
| 901 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBGraphics3D_GetTransferBuffer, | 900 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBGraphics3D_GetTransferBuffer, |
| 902 ppapi::HostResource /* context */, | 901 ppapi::HostResource /* context */, |
| 903 int32 /* id */, | 902 int32 /* id */, |
| 904 base::SharedMemoryHandle /* transfer_buffer */, | 903 base::SharedMemoryHandle /* transfer_buffer */, |
| 905 uint32 /* size */) | 904 uint32 /* size */) |
| 906 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers, | 905 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers, |
| 907 ppapi::HostResource /* graphics_3d */) | 906 ppapi::HostResource /* graphics_3d */) |
| 908 #endif // !defined(OS_NACL) | |
| 909 | 907 |
| 910 // PPB_ImageData. | 908 // PPB_ImageData. |
| 911 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_Create, | 909 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_Create, |
| 912 PP_Instance /* instance */, | 910 PP_Instance /* instance */, |
| 913 int32 /* format */, | 911 int32 /* format */, |
| 914 PP_Size /* size */, | 912 PP_Size /* size */, |
| 915 PP_Bool /* init_to_zero */, | 913 PP_Bool /* init_to_zero */, |
| 916 ppapi::HostResource /* result_resource */, | 914 ppapi::HostResource /* result_resource */, |
| 917 std::string /* image_data_desc */, | 915 std::string /* image_data_desc */, |
| 918 ppapi::proxy::ImageHandle /* result */) | 916 ppapi::proxy::ImageHandle /* result */) |
| (...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1435 ppapi::proxy::ResourceMessageCallParams /* call_params */, | 1433 ppapi::proxy::ResourceMessageCallParams /* call_params */, |
| 1436 IPC::Message /* nested_msg */) | 1434 IPC::Message /* nested_msg */) |
| 1437 | 1435 |
| 1438 // A resource reply is a response to a ResourceCall from a host to the | 1436 // A resource reply is a response to a ResourceCall from a host to the |
| 1439 // plugin. The resource ID + sequence number in the params will correspond to | 1437 // plugin. The resource ID + sequence number in the params will correspond to |
| 1440 // that of the previous ResourceCall. | 1438 // that of the previous ResourceCall. |
| 1441 IPC_MESSAGE_CONTROL2( | 1439 IPC_MESSAGE_CONTROL2( |
| 1442 PpapiPluginMsg_ResourceReply, | 1440 PpapiPluginMsg_ResourceReply, |
| 1443 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, | 1441 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, |
| 1444 IPC::Message /* nested_msg */) | 1442 IPC::Message /* nested_msg */) |
| OLD | NEW |