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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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. | 437 // PPB_Graphics2D. |
438 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, | 438 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, |
brettw
2012/10/05 22:38:06
We should be able to delete the old graphics_2d_pr
victorhsieh
2012/10/05 23:26:57
Done.
| |
439 ppapi::HostResource /* graphics_2d */, | 439 ppapi::HostResource /* graphics_2d */, |
440 int32_t /* pp_error */) | 440 int32_t /* pp_error */) |
441 | 441 |
442 // PPB_Graphics3D. | 442 // PPB_Graphics3D. |
443 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, | 443 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, |
444 ppapi::HostResource /* graphics_3d */, | 444 ppapi::HostResource /* graphics_3d */, |
445 int32_t /* pp_error */) | 445 int32_t /* pp_error */) |
446 | 446 |
447 // PPB_ImageData. | 447 // PPB_ImageData. |
448 IPC_MESSAGE_ROUTED1(PpapiMsg_PPBImageData_NotifyUnusedImageData, | 448 IPC_MESSAGE_ROUTED1(PpapiMsg_PPBImageData_NotifyUnusedImageData, |
(...skipping 444 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) | |
brettw
2012/10/05 22:38:06
I'm trying to do a better job documenting these me
victorhsieh
2012/10/05 23:26:57
Does it look better if we just put them next to ea
| |
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 */) | |
brettw
2012/10/05 22:38:06
You shouldn't need this parameter. The reply param
victorhsieh
2012/10/05 23:26:57
Done.
| |
926 IPC_MESSAGE_CONTROL0(PpapiMsg_Graphics2D_ReadImageDataReply) | |
brettw
2012/10/05 22:38:06
I don't think you use this message (looks like you
victorhsieh
2012/10/05 23:26:57
Done.
| |
927 IPC_MESSAGE_CONTROL0(PpapiMsg_Graphics2D_ReadImageDataAck) | |
brettw
2012/10/05 22:38:06
I'm trying to call the reply messages "PpapiPlugin
victorhsieh
2012/10/05 23:26:57
Done.
| |
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 |