| 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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 ppapi::HostResource /* resource */, | 427 ppapi::HostResource /* resource */, |
| 428 int /* callback_id */, | 428 int /* callback_id */, |
| 429 int32_t /* result */) | 429 int32_t /* result */) |
| 430 | 430 |
| 431 // PPB_FileSystem. | 431 // PPB_FileSystem. |
| 432 IPC_MESSAGE_ROUTED2( | 432 IPC_MESSAGE_ROUTED2( |
| 433 PpapiMsg_PPBFileSystem_OpenComplete, | 433 PpapiMsg_PPBFileSystem_OpenComplete, |
| 434 ppapi::HostResource /* filesystem */, | 434 ppapi::HostResource /* filesystem */, |
| 435 int32_t /* result */) | 435 int32_t /* result */) |
| 436 | 436 |
| 437 // PPB_Graphics2D. | |
| 438 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, | |
| 439 ppapi::HostResource /* graphics_2d */, | |
| 440 int32_t /* pp_error */) | |
| 441 | |
| 442 // PPB_Graphics3D. | 437 // PPB_Graphics3D. |
| 443 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, | 438 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, |
| 444 ppapi::HostResource /* graphics_3d */, | 439 ppapi::HostResource /* graphics_3d */, |
| 445 int32_t /* pp_error */) | 440 int32_t /* pp_error */) |
| 446 | 441 |
| 447 // PPB_ImageData. | 442 // PPB_ImageData. |
| 448 IPC_MESSAGE_ROUTED1(PpapiMsg_PPBImageData_NotifyUnusedImageData, | 443 IPC_MESSAGE_ROUTED1(PpapiMsg_PPBImageData_NotifyUnusedImageData, |
| 449 ppapi::HostResource /* old_image_data */) | 444 ppapi::HostResource /* old_image_data */) |
| 450 | 445 |
| 451 // PPB_Instance. | 446 // PPB_Instance. |
| (...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 891 | 886 |
| 892 // PPB_FileSystem. | 887 // PPB_FileSystem. |
| 893 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileSystem_Create, | 888 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileSystem_Create, |
| 894 PP_Instance /* instance */, | 889 PP_Instance /* instance */, |
| 895 int /* type */, | 890 int /* type */, |
| 896 ppapi::HostResource /* result */) | 891 ppapi::HostResource /* result */) |
| 897 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileSystem_Open, | 892 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileSystem_Open, |
| 898 ppapi::HostResource /* result */, | 893 ppapi::HostResource /* result */, |
| 899 int64_t /* expected_size */) | 894 int64_t /* expected_size */) |
| 900 | 895 |
| 901 // PPB_Graphics2D. | 896 // Graphics2D. |
| 902 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics2D_Create, | 897 IPC_MESSAGE_CONTROL2(PpapiHostMsg_Graphics2D_Create, |
| 903 PP_Instance /* instance */, | 898 PP_Size /* size */, |
| 904 PP_Size /* size */, | 899 PP_Bool /* is_always_opaque */) |
| 905 PP_Bool /* is_always_opaque */, | 900 IPC_MESSAGE_ROUTED4(PpapiHostMsg_Graphics2D_PaintImageData, |
| 906 ppapi::HostResource /* result */) | |
| 907 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBGraphics2D_PaintImageData, | |
| 908 ppapi::HostResource /* graphics_2d */, | |
| 909 ppapi::HostResource /* image_data */, | 901 ppapi::HostResource /* image_data */, |
| 910 PP_Point /* top_left */, | 902 PP_Point /* top_left */, |
| 911 bool /* src_rect_specified */, | 903 bool /* src_rect_specified */, |
| 912 PP_Rect /* src_rect */) | 904 PP_Rect /* src_rect */) |
| 913 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBGraphics2D_Scroll, | 905 IPC_MESSAGE_ROUTED3(PpapiHostMsg_Graphics2D_Scroll, |
| 914 ppapi::HostResource /* graphics_2d */, | |
| 915 bool /* clip_specified */, | 906 bool /* clip_specified */, |
| 916 PP_Rect /* clip */, | 907 PP_Rect /* clip */, |
| 917 PP_Point /* amount */) | 908 PP_Point /* amount */) |
| 918 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_ReplaceContents, | 909 IPC_MESSAGE_ROUTED1(PpapiHostMsg_Graphics2D_ReplaceContents, |
| 919 ppapi::HostResource /* graphics_2d */, | |
| 920 ppapi::HostResource /* image_data */) | 910 ppapi::HostResource /* image_data */) |
| 921 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics2D_Flush, | 911 IPC_MESSAGE_ROUTED1(PpapiHostMsg_Graphics2D_Dev_SetScale, |
| 922 ppapi::HostResource /* graphics_2d */) | |
| 923 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_Dev_SetScale, | |
| 924 ppapi::HostResource /* graphics_2d */, | |
| 925 float /* scale */) | 912 float /* scale */) |
| 926 | 913 |
| 914 IPC_MESSAGE_ROUTED0(PpapiHostMsg_Graphics2D_Flush) |
| 915 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Graphics2D_FlushAck) |
| 916 |
| 917 IPC_MESSAGE_ROUTED2(PpapiHostMsg_Graphics2D_ReadImageData, |
| 918 PP_Resource /* image */, |
| 919 PP_Point /* top_left */) |
| 920 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Graphics2D_ReadImageDataAck) |
| 921 |
| 922 |
| 927 // PPB_Graphics3D. | 923 // PPB_Graphics3D. |
| 928 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create, | 924 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create, |
| 929 PP_Instance /* instance */, | 925 PP_Instance /* instance */, |
| 930 ppapi::HostResource /* share_context */, | 926 ppapi::HostResource /* share_context */, |
| 931 std::vector<int32_t> /* attrib_list */, | 927 std::vector<int32_t> /* attrib_list */, |
| 932 ppapi::HostResource /* result */) | 928 ppapi::HostResource /* result */) |
| 933 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBGraphics3D_InitCommandBuffer, | 929 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBGraphics3D_InitCommandBuffer, |
| 934 ppapi::HostResource /* context */) | 930 ppapi::HostResource /* context */) |
| 935 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, | 931 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, |
| 936 ppapi::HostResource /* context */, | 932 ppapi::HostResource /* context */, |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 982 | 978 |
| 983 // PPB_Instance. | 979 // PPB_Instance. |
| 984 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, | 980 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, |
| 985 PP_Instance /* instance */, | 981 PP_Instance /* instance */, |
| 986 ppapi::proxy::SerializedVar /* result */) | 982 ppapi::proxy::SerializedVar /* result */) |
| 987 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject, | 983 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject, |
| 988 PP_Instance /* instance */, | 984 PP_Instance /* instance */, |
| 989 ppapi::proxy::SerializedVar /* result */) | 985 ppapi::proxy::SerializedVar /* result */) |
| 990 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics, | 986 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics, |
| 991 PP_Instance /* instance */, | 987 PP_Instance /* instance */, |
| 992 ppapi::HostResource /* device */, | 988 PP_Resource /* device */, |
| 993 PP_Bool /* result */) | 989 PP_Bool /* result */) |
| 994 IPC_SYNC_MESSAGE_ROUTED1_1( | 990 IPC_SYNC_MESSAGE_ROUTED1_1( |
| 995 PpapiHostMsg_PPBInstance_GetAudioHardwareOutputSampleRate, | 991 PpapiHostMsg_PPBInstance_GetAudioHardwareOutputSampleRate, |
| 996 PP_Instance /* instance */, | 992 PP_Instance /* instance */, |
| 997 uint32_t /* result */) | 993 uint32_t /* result */) |
| 998 IPC_SYNC_MESSAGE_ROUTED1_1( | 994 IPC_SYNC_MESSAGE_ROUTED1_1( |
| 999 PpapiHostMsg_PPBInstance_GetAudioHardwareOutputBufferSize, | 995 PpapiHostMsg_PPBInstance_GetAudioHardwareOutputBufferSize, |
| 1000 PP_Instance /* instance */, | 996 PP_Instance /* instance */, |
| 1001 uint32_t /* result */) | 997 uint32_t /* result */) |
| 1002 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_IsFullFrame, | 998 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_IsFullFrame, |
| (...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1575 | 1571 |
| 1576 // Reply to a RequestMemory call. This supplies the shared memory handle. The | 1572 // Reply to a RequestMemory call. This supplies the shared memory handle. The |
| 1577 // actual handle is passed in the ReplyParams struct. | 1573 // actual handle is passed in the ReplyParams struct. |
| 1578 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Gamepad_SendMemory) | 1574 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Gamepad_SendMemory) |
| 1579 | 1575 |
| 1580 // Printing. | 1576 // Printing. |
| 1581 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_Create) | 1577 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_Create) |
| 1582 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_GetDefaultPrintSettings) | 1578 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_GetDefaultPrintSettings) |
| 1583 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply, | 1579 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply, |
| 1584 PP_PrintSettings_Dev /* print_settings */) | 1580 PP_PrintSettings_Dev /* print_settings */) |
| OLD | NEW |