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

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

Issue 11053003: Migrate Graphics2D to new design. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase upstream Created 8 years, 2 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
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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 ppapi::HostResource /* resource */, 432 ppapi::HostResource /* resource */,
433 int /* callback_id */, 433 int /* callback_id */,
434 int32_t /* result */) 434 int32_t /* result */)
435 435
436 // PPB_FileSystem. 436 // PPB_FileSystem.
437 IPC_MESSAGE_ROUTED2( 437 IPC_MESSAGE_ROUTED2(
438 PpapiMsg_PPBFileSystem_OpenComplete, 438 PpapiMsg_PPBFileSystem_OpenComplete,
439 ppapi::HostResource /* filesystem */, 439 ppapi::HostResource /* filesystem */,
440 int32_t /* result */) 440 int32_t /* result */)
441 441
442 // PPB_Graphics2D.
443 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK,
444 ppapi::HostResource /* graphics_2d */,
445 int32_t /* pp_error */)
446
447 // PPB_Graphics3D. 442 // PPB_Graphics3D.
448 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, 443 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK,
449 ppapi::HostResource /* graphics_3d */, 444 ppapi::HostResource /* graphics_3d */,
450 int32_t /* pp_error */) 445 int32_t /* pp_error */)
451 446
452 // PPB_ImageData. 447 // PPB_ImageData.
453 IPC_MESSAGE_ROUTED1(PpapiMsg_PPBImageData_NotifyUnusedImageData, 448 IPC_MESSAGE_ROUTED1(PpapiMsg_PPBImageData_NotifyUnusedImageData,
454 ppapi::HostResource /* old_image_data */) 449 ppapi::HostResource /* old_image_data */)
455 450
456 // PPB_Instance. 451 // PPB_Instance.
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
910 905
911 // PPB_FileSystem. 906 // PPB_FileSystem.
912 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileSystem_Create, 907 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileSystem_Create,
913 PP_Instance /* instance */, 908 PP_Instance /* instance */,
914 int /* type */, 909 int /* type */,
915 ppapi::HostResource /* result */) 910 ppapi::HostResource /* result */)
916 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileSystem_Open, 911 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileSystem_Open,
917 ppapi::HostResource /* result */, 912 ppapi::HostResource /* result */,
918 int64_t /* expected_size */) 913 int64_t /* expected_size */)
919 914
920 // PPB_Graphics2D. 915 // Graphics2D.
921 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics2D_Create, 916 IPC_MESSAGE_CONTROL2(PpapiHostMsg_Graphics2D_Create,
922 PP_Instance /* instance */, 917 PP_Size /* size */,
923 PP_Size /* size */, 918 PP_Bool /* is_always_opaque */)
924 PP_Bool /* is_always_opaque */, 919 IPC_MESSAGE_CONTROL4(PpapiHostMsg_Graphics2D_PaintImageData,
925 ppapi::HostResource /* result */) 920 ppapi::HostResource /* image_data */,
926 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBGraphics2D_PaintImageData, 921 PP_Point /* top_left */,
927 ppapi::HostResource /* graphics_2d */, 922 bool /* src_rect_specified */,
928 ppapi::HostResource /* image_data */, 923 PP_Rect /* src_rect */)
929 PP_Point /* top_left */, 924 IPC_MESSAGE_CONTROL3(PpapiHostMsg_Graphics2D_Scroll,
930 bool /* src_rect_specified */, 925 bool /* clip_specified */,
931 PP_Rect /* src_rect */) 926 PP_Rect /* clip */,
932 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBGraphics2D_Scroll, 927 PP_Point /* amount */)
933 ppapi::HostResource /* graphics_2d */, 928 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Graphics2D_ReplaceContents,
934 bool /* clip_specified */, 929 ppapi::HostResource /* image_data */)
935 PP_Rect /* clip */, 930 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Graphics2D_Dev_SetScale,
936 PP_Point /* amount */) 931 float /* scale */)
937 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_ReplaceContents, 932
938 ppapi::HostResource /* graphics_2d */, 933 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Graphics2D_Flush)
939 ppapi::HostResource /* image_data */) 934 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Graphics2D_FlushAck)
940 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics2D_Flush, 935
941 ppapi::HostResource /* graphics_2d */) 936 IPC_MESSAGE_CONTROL2(PpapiHostMsg_Graphics2D_ReadImageData,
942 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_Dev_SetScale, 937 PP_Resource /* image */,
943 ppapi::HostResource /* graphics_2d */, 938 PP_Point /* top_left */)
944 float /* scale */) 939 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Graphics2D_ReadImageDataAck)
940
945 941
946 // PPB_Graphics3D. 942 // PPB_Graphics3D.
947 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create, 943 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create,
948 PP_Instance /* instance */, 944 PP_Instance /* instance */,
949 ppapi::HostResource /* share_context */, 945 ppapi::HostResource /* share_context */,
950 std::vector<int32_t> /* attrib_list */, 946 std::vector<int32_t> /* attrib_list */,
951 ppapi::HostResource /* result */) 947 ppapi::HostResource /* result */)
952 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBGraphics3D_InitCommandBuffer, 948 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBGraphics3D_InitCommandBuffer,
953 ppapi::HostResource /* context */) 949 ppapi::HostResource /* context */)
954 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, 950 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
1001 997
1002 // PPB_Instance. 998 // PPB_Instance.
1003 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, 999 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject,
1004 PP_Instance /* instance */, 1000 PP_Instance /* instance */,
1005 ppapi::proxy::SerializedVar /* result */) 1001 ppapi::proxy::SerializedVar /* result */)
1006 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject, 1002 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject,
1007 PP_Instance /* instance */, 1003 PP_Instance /* instance */,
1008 ppapi::proxy::SerializedVar /* result */) 1004 ppapi::proxy::SerializedVar /* result */)
1009 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics, 1005 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics,
1010 PP_Instance /* instance */, 1006 PP_Instance /* instance */,
1011 ppapi::HostResource /* device */, 1007 PP_Resource /* device */,
1012 PP_Bool /* result */) 1008 PP_Bool /* result */)
1013 IPC_SYNC_MESSAGE_ROUTED1_1( 1009 IPC_SYNC_MESSAGE_ROUTED1_1(
1014 PpapiHostMsg_PPBInstance_GetAudioHardwareOutputSampleRate, 1010 PpapiHostMsg_PPBInstance_GetAudioHardwareOutputSampleRate,
1015 PP_Instance /* instance */, 1011 PP_Instance /* instance */,
1016 uint32_t /* result */) 1012 uint32_t /* result */)
1017 IPC_SYNC_MESSAGE_ROUTED1_1( 1013 IPC_SYNC_MESSAGE_ROUTED1_1(
1018 PpapiHostMsg_PPBInstance_GetAudioHardwareOutputBufferSize, 1014 PpapiHostMsg_PPBInstance_GetAudioHardwareOutputBufferSize,
1019 PP_Instance /* instance */, 1015 PP_Instance /* instance */,
1020 uint32_t /* result */) 1016 uint32_t /* result */)
1021 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_IsFullFrame, 1017 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_IsFullFrame,
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
1704 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashFontFile_GetFontTableReply, 1700 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashFontFile_GetFontTableReply,
1705 std::string /* output */) 1701 std::string /* output */)
1706 1702
1707 // Flash functions. 1703 // Flash functions.
1708 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) 1704 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create)
1709 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_EnumerateVideoCaptureDevices, 1705 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_EnumerateVideoCaptureDevices,
1710 ppapi::HostResource /* video_capture */) 1706 ppapi::HostResource /* video_capture */)
1711 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_EnumerateVideoCaptureDevicesReply, 1707 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_EnumerateVideoCaptureDevicesReply,
1712 std::vector<ppapi::DeviceRefData> /* devices */) 1708 std::vector<ppapi::DeviceRefData> /* devices */)
1713 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1709 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698