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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 ppapi::HostResource /* resource */, | 449 ppapi::HostResource /* resource */, |
450 int /* callback_id */, | 450 int /* callback_id */, |
451 int32_t /* result */) | 451 int32_t /* result */) |
452 | 452 |
453 // PPB_FileSystem. | 453 // PPB_FileSystem. |
454 IPC_MESSAGE_ROUTED2( | 454 IPC_MESSAGE_ROUTED2( |
455 PpapiMsg_PPBFileSystem_OpenComplete, | 455 PpapiMsg_PPBFileSystem_OpenComplete, |
456 ppapi::HostResource /* filesystem */, | 456 ppapi::HostResource /* filesystem */, |
457 int32_t /* result */) | 457 int32_t /* result */) |
458 | 458 |
459 // PPB_Graphics2D. | |
460 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, | |
461 ppapi::HostResource /* graphics_2d */, | |
462 int32_t /* pp_error */) | |
463 | |
464 // PPB_Graphics3D. | 459 // PPB_Graphics3D. |
465 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, | 460 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, |
466 ppapi::HostResource /* graphics_3d */, | 461 ppapi::HostResource /* graphics_3d */, |
467 int32_t /* pp_error */) | 462 int32_t /* pp_error */) |
468 | 463 |
469 // PPB_ImageData. | 464 // PPB_ImageData. |
470 IPC_MESSAGE_ROUTED1(PpapiMsg_PPBImageData_NotifyUnusedImageData, | 465 IPC_MESSAGE_ROUTED1(PpapiMsg_PPBImageData_NotifyUnusedImageData, |
471 ppapi::HostResource /* old_image_data */) | 466 ppapi::HostResource /* old_image_data */) |
472 | 467 |
473 // PPB_Instance. | 468 // PPB_Instance. |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
933 | 928 |
934 // PPB_FileSystem. | 929 // PPB_FileSystem. |
935 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileSystem_Create, | 930 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileSystem_Create, |
936 PP_Instance /* instance */, | 931 PP_Instance /* instance */, |
937 int /* type */, | 932 int /* type */, |
938 ppapi::HostResource /* result */) | 933 ppapi::HostResource /* result */) |
939 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileSystem_Open, | 934 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileSystem_Open, |
940 ppapi::HostResource /* result */, | 935 ppapi::HostResource /* result */, |
941 int64_t /* expected_size */) | 936 int64_t /* expected_size */) |
942 | 937 |
943 // PPB_Graphics2D. | 938 // Graphics2D. |
944 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics2D_Create, | 939 IPC_MESSAGE_CONTROL2(PpapiHostMsg_Graphics2D_Create, |
945 PP_Instance /* instance */, | 940 PP_Size /* size */, |
946 PP_Size /* size */, | 941 PP_Bool /* is_always_opaque */) |
947 PP_Bool /* is_always_opaque */, | 942 IPC_MESSAGE_CONTROL4(PpapiHostMsg_Graphics2D_PaintImageData, |
948 ppapi::HostResource /* result */) | 943 ppapi::HostResource /* image_data */, |
949 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBGraphics2D_PaintImageData, | 944 PP_Point /* top_left */, |
950 ppapi::HostResource /* graphics_2d */, | 945 bool /* src_rect_specified */, |
951 ppapi::HostResource /* image_data */, | 946 PP_Rect /* src_rect */) |
952 PP_Point /* top_left */, | 947 IPC_MESSAGE_CONTROL3(PpapiHostMsg_Graphics2D_Scroll, |
953 bool /* src_rect_specified */, | 948 bool /* clip_specified */, |
954 PP_Rect /* src_rect */) | 949 PP_Rect /* clip */, |
955 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBGraphics2D_Scroll, | 950 PP_Point /* amount */) |
956 ppapi::HostResource /* graphics_2d */, | 951 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Graphics2D_ReplaceContents, |
957 bool /* clip_specified */, | 952 ppapi::HostResource /* image_data */) |
958 PP_Rect /* clip */, | 953 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Graphics2D_Dev_SetScale, |
959 PP_Point /* amount */) | 954 float /* scale */) |
960 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_ReplaceContents, | 955 |
961 ppapi::HostResource /* graphics_2d */, | 956 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Graphics2D_Flush) |
962 ppapi::HostResource /* image_data */) | 957 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Graphics2D_FlushAck) |
963 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics2D_Flush, | 958 |
964 ppapi::HostResource /* graphics_2d */) | 959 IPC_MESSAGE_CONTROL2(PpapiHostMsg_Graphics2D_ReadImageData, |
965 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_Dev_SetScale, | 960 PP_Resource /* image */, |
966 ppapi::HostResource /* graphics_2d */, | 961 PP_Point /* top_left */) |
967 float /* scale */) | 962 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Graphics2D_ReadImageDataAck) |
| 963 |
968 | 964 |
969 // PPB_Graphics3D. | 965 // PPB_Graphics3D. |
970 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create, | 966 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create, |
971 PP_Instance /* instance */, | 967 PP_Instance /* instance */, |
972 ppapi::HostResource /* share_context */, | 968 ppapi::HostResource /* share_context */, |
973 std::vector<int32_t> /* attrib_list */, | 969 std::vector<int32_t> /* attrib_list */, |
974 ppapi::HostResource /* result */) | 970 ppapi::HostResource /* result */) |
975 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBGraphics3D_InitCommandBuffer, | 971 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBGraphics3D_InitCommandBuffer, |
976 ppapi::HostResource /* context */) | 972 ppapi::HostResource /* context */) |
977 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, | 973 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1024 | 1020 |
1025 // PPB_Instance. | 1021 // PPB_Instance. |
1026 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, | 1022 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, |
1027 PP_Instance /* instance */, | 1023 PP_Instance /* instance */, |
1028 ppapi::proxy::SerializedVar /* result */) | 1024 ppapi::proxy::SerializedVar /* result */) |
1029 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject, | 1025 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject, |
1030 PP_Instance /* instance */, | 1026 PP_Instance /* instance */, |
1031 ppapi::proxy::SerializedVar /* result */) | 1027 ppapi::proxy::SerializedVar /* result */) |
1032 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics, | 1028 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics, |
1033 PP_Instance /* instance */, | 1029 PP_Instance /* instance */, |
1034 ppapi::HostResource /* device */, | 1030 PP_Resource /* device */, |
1035 PP_Bool /* result */) | 1031 PP_Bool /* result */) |
1036 IPC_SYNC_MESSAGE_ROUTED1_1( | 1032 IPC_SYNC_MESSAGE_ROUTED1_1( |
1037 PpapiHostMsg_PPBInstance_GetAudioHardwareOutputSampleRate, | 1033 PpapiHostMsg_PPBInstance_GetAudioHardwareOutputSampleRate, |
1038 PP_Instance /* instance */, | 1034 PP_Instance /* instance */, |
1039 uint32_t /* result */) | 1035 uint32_t /* result */) |
1040 IPC_SYNC_MESSAGE_ROUTED1_1( | 1036 IPC_SYNC_MESSAGE_ROUTED1_1( |
1041 PpapiHostMsg_PPBInstance_GetAudioHardwareOutputBufferSize, | 1037 PpapiHostMsg_PPBInstance_GetAudioHardwareOutputBufferSize, |
1042 PP_Instance /* instance */, | 1038 PP_Instance /* instance */, |
1043 uint32_t /* result */) | 1039 uint32_t /* result */) |
1044 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_IsFullFrame, | 1040 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_IsFullFrame, |
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1734 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashFontFile_GetFontTableReply, | 1730 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashFontFile_GetFontTableReply, |
1735 std::string /* output */) | 1731 std::string /* output */) |
1736 | 1732 |
1737 // Flash functions. | 1733 // Flash functions. |
1738 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) | 1734 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) |
1739 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_EnumerateVideoCaptureDevices, | 1735 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_EnumerateVideoCaptureDevices, |
1740 ppapi::HostResource /* video_capture */) | 1736 ppapi::HostResource /* video_capture */) |
1741 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_EnumerateVideoCaptureDevicesReply, | 1737 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_EnumerateVideoCaptureDevicesReply, |
1742 std::vector<ppapi::DeviceRefData> /* devices */) | 1738 std::vector<ppapi::DeviceRefData> /* devices */) |
1743 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1739 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |