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 882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
893 | 893 |
894 // PPB_FileSystem. | 894 // PPB_FileSystem. |
895 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileSystem_Create, | 895 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileSystem_Create, |
896 PP_Instance /* instance */, | 896 PP_Instance /* instance */, |
897 int /* type */, | 897 int /* type */, |
898 ppapi::HostResource /* result */) | 898 ppapi::HostResource /* result */) |
899 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileSystem_Open, | 899 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileSystem_Open, |
900 ppapi::HostResource /* result */, | 900 ppapi::HostResource /* result */, |
901 int64_t /* expected_size */) | 901 int64_t /* expected_size */) |
902 | 902 |
| 903 // Graphics2D. |
| 904 IPC_MESSAGE_CONTROL2(PpapiHostMsg_Graphics2D_Create, |
| 905 PP_Size /* size */, |
| 906 PP_Bool /* is_always_opaque */) |
| 907 IPC_MESSAGE_ROUTED4(PpapiHostMsg_Graphics2D_PaintImageData, |
| 908 ppapi::HostResource /* image_data */, |
| 909 PP_Point /* top_left */, |
| 910 bool /* src_rect_specified */, |
| 911 PP_Rect /* src_rect */) |
| 912 IPC_MESSAGE_ROUTED3(PpapiHostMsg_Graphics2D_Scroll, |
| 913 bool /* clip_specified */, |
| 914 PP_Rect /* clip */, |
| 915 PP_Point /* amount */) |
| 916 IPC_MESSAGE_ROUTED1(PpapiHostMsg_Graphics2D_ReplaceContents, |
| 917 ppapi::HostResource /* image_data */) |
| 918 IPC_MESSAGE_ROUTED0(PpapiHostMsg_Graphics2D_Flush) |
| 919 IPC_MESSAGE_ROUTED1(PpapiHostMsg_Graphics2D_Dev_SetScale, |
| 920 float /* scale */) |
| 921 IPC_MESSAGE_ROUTED2(PpapiHostMsg_Graphics2D_ReadImageData, |
| 922 PP_Resource /* image */, |
| 923 PP_Point /* top_left */) |
| 924 IPC_MESSAGE_CONTROL1(PpapiMsg_Graphics2D_FlushACK, |
| 925 int32_t /* pp_error */) |
| 926 IPC_MESSAGE_CONTROL0(PpapiMsg_Graphics2D_ReadImageDataReply) |
| 927 IPC_MESSAGE_CONTROL0(PpapiMsg_Graphics2D_ReadImageDataAck) |
| 928 |
| 929 |
903 // PPB_Graphics2D. | 930 // PPB_Graphics2D. |
904 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics2D_Create, | 931 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics2D_Create, |
905 PP_Instance /* instance */, | 932 PP_Instance /* instance */, |
906 PP_Size /* size */, | 933 PP_Size /* size */, |
907 PP_Bool /* is_always_opaque */, | 934 PP_Bool /* is_always_opaque */, |
908 ppapi::HostResource /* result */) | 935 ppapi::HostResource /* result */) |
909 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBGraphics2D_PaintImageData, | 936 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBGraphics2D_PaintImageData, |
910 ppapi::HostResource /* graphics_2d */, | 937 ppapi::HostResource /* graphics_2d */, |
911 ppapi::HostResource /* image_data */, | 938 ppapi::HostResource /* image_data */, |
912 PP_Point /* top_left */, | 939 PP_Point /* top_left */, |
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1571 | 1598 |
1572 // Reply to a RequestMemory call. This supplies the shared memory handle. The | 1599 // Reply to a RequestMemory call. This supplies the shared memory handle. The |
1573 // actual handle is passed in the ReplyParams struct. | 1600 // actual handle is passed in the ReplyParams struct. |
1574 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Gamepad_SendMemory) | 1601 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Gamepad_SendMemory) |
1575 | 1602 |
1576 // Printing. | 1603 // Printing. |
1577 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_Create) | 1604 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_Create) |
1578 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_GetDefaultPrintSettings) | 1605 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_GetDefaultPrintSettings) |
1579 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply, | 1606 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply, |
1580 PP_PrintSettings_Dev /* print_settings */) | 1607 PP_PrintSettings_Dev /* print_settings */) |
OLD | NEW |