| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 11 matching lines...) Expand all Loading... |
| 22 #include "ppapi/c/pp_bool.h" | 22 #include "ppapi/c/pp_bool.h" |
| 23 #include "ppapi/c/pp_file_info.h" | 23 #include "ppapi/c/pp_file_info.h" |
| 24 #include "ppapi/c/pp_instance.h" | 24 #include "ppapi/c/pp_instance.h" |
| 25 #include "ppapi/c/pp_module.h" | 25 #include "ppapi/c/pp_module.h" |
| 26 #include "ppapi/c/pp_point.h" | 26 #include "ppapi/c/pp_point.h" |
| 27 #include "ppapi/c/pp_rect.h" | 27 #include "ppapi/c/pp_rect.h" |
| 28 #include "ppapi/c/pp_resource.h" | 28 #include "ppapi/c/pp_resource.h" |
| 29 #include "ppapi/c/pp_size.h" | 29 #include "ppapi/c/pp_size.h" |
| 30 #include "ppapi/c/dev/pp_video_dev.h" | 30 #include "ppapi/c/dev/pp_video_dev.h" |
| 31 #include "ppapi/c/private/ppb_flash_tcp_socket.h" | 31 #include "ppapi/c/private/ppb_flash_tcp_socket.h" |
| 32 #include "ppapi/c/private/ppb_flash_udp_socket.h" |
| 32 #include "ppapi/proxy/ppapi_param_traits.h" | 33 #include "ppapi/proxy/ppapi_param_traits.h" |
| 33 #include "ppapi/proxy/serialized_flash_menu.h" | 34 #include "ppapi/proxy/serialized_flash_menu.h" |
| 34 #include "ppapi/proxy/serialized_structs.h" | 35 #include "ppapi/proxy/serialized_structs.h" |
| 35 #include "ppapi/shared_impl/input_event_impl.h" | 36 #include "ppapi/shared_impl/input_event_impl.h" |
| 36 #include "ppapi/shared_impl/ppapi_preferences.h" | 37 #include "ppapi/shared_impl/ppapi_preferences.h" |
| 37 | 38 |
| 38 #define IPC_MESSAGE_START PpapiMsgStart | 39 #define IPC_MESSAGE_START PpapiMsgStart |
| 39 | 40 |
| 40 IPC_ENUM_TRAITS(PP_InputEvent_Type) | 41 IPC_ENUM_TRAITS(PP_InputEvent_Type) |
| 41 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) | 42 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 uint32 /* plugin_dispatcher_id */, | 221 uint32 /* plugin_dispatcher_id */, |
| 221 uint32 /* socket_id */, | 222 uint32 /* socket_id */, |
| 222 bool /* succeeded */, | 223 bool /* succeeded */, |
| 223 std::string /* data */) | 224 std::string /* data */) |
| 224 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBFlashTCPSocket_WriteACK, | 225 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBFlashTCPSocket_WriteACK, |
| 225 uint32 /* plugin_dispatcher_id */, | 226 uint32 /* plugin_dispatcher_id */, |
| 226 uint32 /* socket_id */, | 227 uint32 /* socket_id */, |
| 227 bool /* succeeded */, | 228 bool /* succeeded */, |
| 228 int32_t /* bytes_written */) | 229 int32_t /* bytes_written */) |
| 229 | 230 |
| 231 // PPB_Flash_UDPSocket |
| 232 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBFlashUDPSocket_RecvFromACK, |
| 233 uint32 /* plugin_dispatcher_id */, |
| 234 uint32 /* socket_id */, |
| 235 bool /* succeeded */, |
| 236 std::string /* data */, |
| 237 PP_Flash_NetAddress /* remote_addr */) |
| 238 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBFlashUDPSocket_SendToACK, |
| 239 uint32 /* plugin_dispatcher_id */, |
| 240 uint32 /* socket_id */, |
| 241 bool /* succeeded */, |
| 242 int32_t /* bytes_written */) |
| 243 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBFlashUDPSocket_ReadPendingACK, |
| 244 uint32 /* plugin_dispatcher_id */, |
| 245 uint32 /* socket_id */, |
| 246 bool /* succeeded */ ) |
| 247 |
| 230 // PPB_Graphics2D. | 248 // PPB_Graphics2D. |
| 231 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, | 249 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, |
| 232 ppapi::HostResource /* graphics_2d */, | 250 ppapi::HostResource /* graphics_2d */, |
| 233 int32_t /* pp_error */) | 251 int32_t /* pp_error */) |
| 234 | 252 |
| 235 // PPB_Graphics3D. | 253 // PPB_Graphics3D. |
| 236 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, | 254 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, |
| 237 ppapi::HostResource /* graphics_3d */, | 255 ppapi::HostResource /* graphics_3d */, |
| 238 int32_t /* pp_error */) | 256 int32_t /* pp_error */) |
| 239 | 257 |
| (...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 692 uint16_t /* server_port */) | 710 uint16_t /* server_port */) |
| 693 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_Read, | 711 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_Read, |
| 694 uint32 /* socket_id */, | 712 uint32 /* socket_id */, |
| 695 int32_t /* bytes_to_read */) | 713 int32_t /* bytes_to_read */) |
| 696 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_Write, | 714 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_Write, |
| 697 uint32 /* socket_id */, | 715 uint32 /* socket_id */, |
| 698 std::string /* data */) | 716 std::string /* data */) |
| 699 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBFlashTCPSocket_Disconnect, | 717 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBFlashTCPSocket_Disconnect, |
| 700 uint32 /* socket_id */) | 718 uint32 /* socket_id */) |
| 701 | 719 |
| 720 // PPB_Flash_UDPSocket |
| 721 IPC_SYNC_MESSAGE_CONTROL3_1(PpapiHostMsg_PPBFlashUDPSocket_Create, |
| 722 int32 /* routing_id */, |
| 723 uint32 /* plugin_dispatcher_id */, |
| 724 int32_t /* family */, |
| 725 uint32 /* socket_id */ ) |
| 726 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashUDPSocket_Bind, |
| 727 uint32 /* socket_id */, |
| 728 PP_Flash_NetAddress /* net_addr */) |
| 729 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBFlashUDPSocket_RecvFrom, |
| 730 uint32 /* socket_id */, |
| 731 int32_t /* num_bytes */, |
| 732 PP_Flash_NetAddress /* net_addr */) |
| 733 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBFlashUDPSocket_SendTo, |
| 734 uint32 /* socket_id */, |
| 735 std::string /* data */, |
| 736 PP_Flash_NetAddress /* net_addr */) |
| 737 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBFlashUDPSocket_Disconnect, |
| 738 uint32 /* socket_id */ ) |
| 739 |
| 702 // PPB_Font. | 740 // PPB_Font. |
| 703 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, | 741 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, |
| 704 std::string /* result */) | 742 std::string /* result */) |
| 705 | 743 |
| 706 // PPB_Graphics2D. | 744 // PPB_Graphics2D. |
| 707 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBGraphics2D_PaintImageData, | 745 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBGraphics2D_PaintImageData, |
| 708 ppapi::HostResource /* graphics_2d */, | 746 ppapi::HostResource /* graphics_2d */, |
| 709 ppapi::HostResource /* image_data */, | 747 ppapi::HostResource /* image_data */, |
| 710 PP_Point /* top_left */, | 748 PP_Point /* top_left */, |
| 711 bool /* src_rect_specified */, | 749 bool /* src_rect_specified */, |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1014 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) | 1052 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) |
| 1015 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, | 1053 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, |
| 1016 ppapi::HostResource /* video_decoder */, | 1054 ppapi::HostResource /* video_decoder */, |
| 1017 int32_t /* picture buffer id */) | 1055 int32_t /* picture buffer id */) |
| 1018 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, | 1056 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, |
| 1019 ppapi::HostResource /* video_decoder */) | 1057 ppapi::HostResource /* video_decoder */) |
| 1020 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, | 1058 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, |
| 1021 ppapi::HostResource /* video_decoder */) | 1059 ppapi::HostResource /* video_decoder */) |
| 1022 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, | 1060 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, |
| 1023 ppapi::HostResource /* video_decoder */) | 1061 ppapi::HostResource /* video_decoder */) |
| OLD | NEW |