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

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

Issue 16605006: Clean up Pepper ImageData resource class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Linux, allow both kinds of ImageData on host side. Created 7 years, 6 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/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 ppapi::HostResource /* context */, 870 ppapi::HostResource /* context */,
871 int32 /* id */, 871 int32 /* id */,
872 ppapi::proxy::SerializedHandle /* transfer_buffer */) 872 ppapi::proxy::SerializedHandle /* transfer_buffer */)
873 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers, 873 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers,
874 ppapi::HostResource /* graphics_3d */) 874 ppapi::HostResource /* graphics_3d */)
875 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBGraphics3D_InsertSyncPoint, 875 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBGraphics3D_InsertSyncPoint,
876 ppapi::HostResource /* context */, 876 ppapi::HostResource /* context */,
877 uint32 /* sync_point */) 877 uint32 /* sync_point */)
878 878
879 // PPB_ImageData. 879 // PPB_ImageData.
880 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_Create, 880 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_CreatePlatform,
881 PP_Instance /* instance */, 881 PP_Instance /* instance */,
882 int32 /* format */, 882 int32 /* format */,
883 PP_Size /* size */, 883 PP_Size /* size */,
884 PP_Bool /* init_to_zero */, 884 PP_Bool /* init_to_zero */,
885 ppapi::HostResource /* result_resource */, 885 ppapi::HostResource /* result_resource */,
886 std::string /* image_data_desc */, 886 PP_ImageDataDesc /* image_data_desc */,
887 ppapi::proxy::ImageHandle /* result */) 887 ppapi::proxy::ImageHandle /* result */)
888 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_CreateNaCl, 888 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_CreateSimple,
889 PP_Instance /* instance */, 889 PP_Instance /* instance */,
890 int32 /* format */, 890 int32 /* format */,
891 PP_Size /* size */, 891 PP_Size /* size */,
892 PP_Bool /* init_to_zero */, 892 PP_Bool /* init_to_zero */,
893 ppapi::HostResource /* result_resource */, 893 ppapi::HostResource /* result_resource */,
894 std::string /* image_data_desc */, 894 PP_ImageDataDesc /* image_data_desc */,
895 ppapi::proxy::SerializedHandle /* result */) 895 ppapi::proxy::SerializedHandle /* result */)
896 896
897 // PPB_Instance. 897 // PPB_Instance.
898 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, 898 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject,
899 PP_Instance /* instance */, 899 PP_Instance /* instance */,
900 ppapi::proxy::SerializedVar /* result */) 900 ppapi::proxy::SerializedVar /* result */)
901 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject, 901 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject,
902 PP_Instance /* instance */, 902 PP_Instance /* instance */,
903 ppapi::proxy::SerializedVar /* result */) 903 ppapi::proxy::SerializedVar /* result */)
904 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_BindGraphics, 904 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_BindGraphics,
(...skipping 991 matching lines...) Expand 10 before | Expand all | Expand 10 after
1896 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply) 1896 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply)
1897 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame) 1897 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame)
1898 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_VideoSource_GetFrameReply, 1898 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_VideoSource_GetFrameReply,
1899 ppapi::HostResource /* resource_id */, 1899 ppapi::HostResource /* resource_id */,
1900 PP_ImageDataDesc /* image_data_desc */, 1900 PP_ImageDataDesc /* image_data_desc */,
1901 int /* fd */, 1901 int /* fd */,
1902 PP_TimeTicks /* timestamp */) 1902 PP_TimeTicks /* timestamp */)
1903 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close) 1903 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close)
1904 1904
1905 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1905 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698