| 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/dev/ppb_text_input_dev.h" | 22 #include "ppapi/c/dev/ppb_text_input_dev.h" |
| 23 #include "ppapi/c/pp_bool.h" | 23 #include "ppapi/c/pp_bool.h" |
| 24 #include "ppapi/c/pp_file_info.h" | 24 #include "ppapi/c/pp_file_info.h" |
| 25 #include "ppapi/c/pp_instance.h" | 25 #include "ppapi/c/pp_instance.h" |
| 26 #include "ppapi/c/pp_module.h" | 26 #include "ppapi/c/pp_module.h" |
| 27 #include "ppapi/c/pp_point.h" | 27 #include "ppapi/c/pp_point.h" |
| 28 #include "ppapi/c/pp_rect.h" | 28 #include "ppapi/c/pp_rect.h" |
| 29 #include "ppapi/c/pp_resource.h" | 29 #include "ppapi/c/pp_resource.h" |
| 30 #include "ppapi/c/pp_size.h" | 30 #include "ppapi/c/pp_size.h" |
| 31 #include "ppapi/c/dev/pp_video_dev.h" | 31 #include "ppapi/c/dev/pp_video_dev.h" |
| 32 #include "ppapi/c/private/ppb_flash_tcp_socket.h" | 32 #include "ppapi/c/private/ppb_tcp_socket_private.h" |
| 33 #include "ppapi/proxy/ppapi_param_traits.h" | 33 #include "ppapi/proxy/ppapi_param_traits.h" |
| 34 #include "ppapi/proxy/ppapi_proxy_export.h" | 34 #include "ppapi/proxy/ppapi_proxy_export.h" |
| 35 #include "ppapi/proxy/serialized_flash_menu.h" | 35 #include "ppapi/proxy/serialized_flash_menu.h" |
| 36 #include "ppapi/proxy/serialized_structs.h" | 36 #include "ppapi/proxy/serialized_structs.h" |
| 37 #include "ppapi/shared_impl/input_event_impl.h" | 37 #include "ppapi/shared_impl/input_event_impl.h" |
| 38 #include "ppapi/shared_impl/ppapi_preferences.h" | 38 #include "ppapi/shared_impl/ppapi_preferences.h" |
| 39 #include "ppapi/shared_impl/url_request_info_impl.h" | 39 #include "ppapi/shared_impl/url_request_info_impl.h" |
| 40 | 40 |
| 41 #undef IPC_MESSAGE_EXPORT | 41 #undef IPC_MESSAGE_EXPORT |
| 42 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT | 42 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 int32_t /* result */) | 244 int32_t /* result */) |
| 245 | 245 |
| 246 // PPB_Flash_NetConnector. | 246 // PPB_Flash_NetConnector. |
| 247 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBFlashNetConnector_ConnectACK, | 247 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBFlashNetConnector_ConnectACK, |
| 248 ppapi::HostResource /* net_connector */, | 248 ppapi::HostResource /* net_connector */, |
| 249 int32_t /* result */, | 249 int32_t /* result */, |
| 250 IPC::PlatformFileForTransit /* handle */, | 250 IPC::PlatformFileForTransit /* handle */, |
| 251 std::string /* local_addr_as_string */, | 251 std::string /* local_addr_as_string */, |
| 252 std::string /* remote_addr_as_string */) | 252 std::string /* remote_addr_as_string */) |
| 253 | 253 |
| 254 // PPB_Flash_TCPSocket. | 254 // PPB_TCPSocket_Private. |
| 255 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBFlashTCPSocket_ConnectACK, | 255 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPSocketPrivate_ConnectACK, |
| 256 uint32 /* plugin_dispatcher_id */, | 256 uint32 /* plugin_dispatcher_id */, |
| 257 uint32 /* socket_id */, | 257 uint32 /* socket_id */, |
| 258 bool /* succeeded */, | 258 bool /* succeeded */, |
| 259 PP_NetAddress_Private /* local_addr */, | 259 PP_NetAddress_Private /* local_addr */, |
| 260 PP_NetAddress_Private /* remote_addr */) | 260 PP_NetAddress_Private /* remote_addr */) |
| 261 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBFlashTCPSocket_SSLHandshakeACK, | 261 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBTCPSocketPrivate_SSLHandshakeACK, |
| 262 uint32 /* plugin_dispatcher_id */, | 262 uint32 /* plugin_dispatcher_id */, |
| 263 uint32 /* socket_id */, | 263 uint32 /* socket_id */, |
| 264 bool /* succeeded */) | 264 bool /* succeeded */) |
| 265 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBFlashTCPSocket_ReadACK, | 265 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocketPrivate_ReadACK, |
| 266 uint32 /* plugin_dispatcher_id */, | 266 uint32 /* plugin_dispatcher_id */, |
| 267 uint32 /* socket_id */, | 267 uint32 /* socket_id */, |
| 268 bool /* succeeded */, | 268 bool /* succeeded */, |
| 269 std::string /* data */) | 269 std::string /* data */) |
| 270 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBFlashTCPSocket_WriteACK, | 270 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocketPrivate_WriteACK, |
| 271 uint32 /* plugin_dispatcher_id */, | 271 uint32 /* plugin_dispatcher_id */, |
| 272 uint32 /* socket_id */, | 272 uint32 /* socket_id */, |
| 273 bool /* succeeded */, | 273 bool /* succeeded */, |
| 274 int32_t /* bytes_written */) | 274 int32_t /* bytes_written */) |
| 275 | 275 |
| 276 // PPB_Flash_UDPSocket | 276 // PPB__UDPSocket_Private |
| 277 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBFlashUDPSocket_BindACK, | 277 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBUDPSocketPrivate_BindACK, |
| 278 uint32 /* plugin_dispatcher_id */, | 278 uint32 /* plugin_dispatcher_id */, |
| 279 uint32 /* socket_id */, | 279 uint32 /* socket_id */, |
| 280 bool /* succeeded */) | 280 bool /* succeeded */) |
| 281 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBFlashUDPSocket_RecvFromACK, | 281 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBUDPSocketPrivate_RecvFromACK, |
| 282 uint32 /* plugin_dispatcher_id */, | 282 uint32 /* plugin_dispatcher_id */, |
| 283 uint32 /* socket_id */, | 283 uint32 /* socket_id */, |
| 284 bool /* succeeded */, | 284 bool /* succeeded */, |
| 285 std::string /* data */, | 285 std::string /* data */, |
| 286 PP_NetAddress_Private /* remote_addr */) | 286 PP_NetAddress_Private /* remote_addr */) |
| 287 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBFlashUDPSocket_SendToACK, | 287 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBUDPSocketPrivate_SendToACK, |
| 288 uint32 /* plugin_dispatcher_id */, | 288 uint32 /* plugin_dispatcher_id */, |
| 289 uint32 /* socket_id */, | 289 uint32 /* socket_id */, |
| 290 bool /* succeeded */, | 290 bool /* succeeded */, |
| 291 int32_t /* bytes_written */) | 291 int32_t /* bytes_written */) |
| 292 | 292 |
| 293 // PPB_Graphics2D. | 293 // PPB_Graphics2D. |
| 294 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, | 294 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, |
| 295 ppapi::HostResource /* graphics_2d */, | 295 ppapi::HostResource /* graphics_2d */, |
| 296 int32_t /* pp_error */) | 296 int32_t /* pp_error */) |
| 297 | 297 |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 730 PP_Instance /* instance_id */, | 730 PP_Instance /* instance_id */, |
| 731 ppapi::HostResource /* result */) | 731 ppapi::HostResource /* result */) |
| 732 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFlashNetConnector_ConnectTcp, | 732 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFlashNetConnector_ConnectTcp, |
| 733 ppapi::HostResource /* connector */, | 733 ppapi::HostResource /* connector */, |
| 734 std::string /* host */, | 734 std::string /* host */, |
| 735 uint16_t /* port */) | 735 uint16_t /* port */) |
| 736 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlashNetConnector_ConnectTcpAddress, | 736 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlashNetConnector_ConnectTcpAddress, |
| 737 ppapi::HostResource /* connector */, | 737 ppapi::HostResource /* connector */, |
| 738 std::string /* net_address_as_string */) | 738 std::string /* net_address_as_string */) |
| 739 | 739 |
| 740 // PPB_Flash_TCPSocket. | 740 // PPB_TCPSocket_Private. |
| 741 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBFlashTCPSocket_Create, | 741 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBTCPSocketPrivate_Create, |
| 742 int32 /* routing_id */, | 742 int32 /* routing_id */, |
| 743 uint32 /* plugin_dispatcher_id */, | 743 uint32 /* plugin_dispatcher_id */, |
| 744 uint32 /* socket_id */) | 744 uint32 /* socket_id */) |
| 745 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBFlashTCPSocket_Connect, | 745 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPSocketPrivate_Connect, |
| 746 uint32 /* socket_id */, | 746 uint32 /* socket_id */, |
| 747 std::string /* host */, | 747 std::string /* host */, |
| 748 uint16_t /* port */) | 748 uint16_t /* port */) |
| 749 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_ConnectWithNetAddress, | 749 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocketPrivate_ConnectWithNetAddress, |
| 750 uint32 /* socket_id */, | 750 uint32 /* socket_id */, |
| 751 PP_NetAddress_Private /* net_addr */) | 751 PP_NetAddress_Private /* net_addr */) |
| 752 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBFlashTCPSocket_SSLHandshake, | 752 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPSocketPrivate_SSLHandshake, |
| 753 uint32 /* socket_id */, | 753 uint32 /* socket_id */, |
| 754 std::string /* server_name */, | 754 std::string /* server_name */, |
| 755 uint16_t /* server_port */) | 755 uint16_t /* server_port */) |
| 756 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_Read, | 756 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocketPrivate_Read, |
| 757 uint32 /* socket_id */, | 757 uint32 /* socket_id */, |
| 758 int32_t /* bytes_to_read */) | 758 int32_t /* bytes_to_read */) |
| 759 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_Write, | 759 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocketPrivate_Write, |
| 760 uint32 /* socket_id */, | 760 uint32 /* socket_id */, |
| 761 std::string /* data */) | 761 std::string /* data */) |
| 762 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBFlashTCPSocket_Disconnect, | 762 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocketPrivate_Disconnect, |
| 763 uint32 /* socket_id */) | 763 uint32 /* socket_id */) |
| 764 | 764 |
| 765 // PPB_Flash_UDPSocket | 765 // PPB_UDPSocket_Private. |
| 766 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBFlashUDPSocket_Create, | 766 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBUDPSocketPrivate_Create, |
| 767 int32 /* routing_id */, | 767 int32 /* routing_id */, |
| 768 uint32 /* plugin_dispatcher_id */, | 768 uint32 /* plugin_dispatcher_id */, |
| 769 uint32 /* socket_id */) | 769 uint32 /* socket_id */) |
| 770 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashUDPSocket_Bind, | 770 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocketPrivate_Bind, |
| 771 uint32 /* socket_id */, | 771 uint32 /* socket_id */, |
| 772 PP_NetAddress_Private /* net_addr */) | 772 PP_NetAddress_Private /* net_addr */) |
| 773 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashUDPSocket_RecvFrom, | 773 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocketPrivate_RecvFrom, |
| 774 uint32 /* socket_id */, | 774 uint32 /* socket_id */, |
| 775 int32_t /* num_bytes */) | 775 int32_t /* num_bytes */) |
| 776 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBFlashUDPSocket_SendTo, | 776 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocketPrivate_SendTo, |
| 777 uint32 /* socket_id */, | 777 uint32 /* socket_id */, |
| 778 std::string /* data */, | 778 std::string /* data */, |
| 779 PP_NetAddress_Private /* net_addr */) | 779 PP_NetAddress_Private /* net_addr */) |
| 780 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBFlashUDPSocket_Close, | 780 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocketPrivate_Close, |
| 781 uint32 /* socket_id */) | 781 uint32 /* socket_id */) |
| 782 | 782 |
| 783 // PPB_Font. | 783 // PPB_Font. |
| 784 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, | 784 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, |
| 785 std::string /* result */) | 785 std::string /* result */) |
| 786 | 786 |
| 787 // PPB_Graphics2D. | 787 // PPB_Graphics2D. |
| 788 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBGraphics2D_PaintImageData, | 788 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBGraphics2D_PaintImageData, |
| 789 ppapi::HostResource /* graphics_2d */, | 789 ppapi::HostResource /* graphics_2d */, |
| 790 ppapi::HostResource /* image_data */, | 790 ppapi::HostResource /* image_data */, |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1107 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) | 1107 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) |
| 1108 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, | 1108 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, |
| 1109 ppapi::HostResource /* video_decoder */, | 1109 ppapi::HostResource /* video_decoder */, |
| 1110 int32_t /* picture buffer id */) | 1110 int32_t /* picture buffer id */) |
| 1111 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, | 1111 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, |
| 1112 ppapi::HostResource /* video_decoder */) | 1112 ppapi::HostResource /* video_decoder */) |
| 1113 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, | 1113 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, |
| 1114 ppapi::HostResource /* video_decoder */) | 1114 ppapi::HostResource /* video_decoder */) |
| 1115 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, | 1115 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, |
| 1116 ppapi::HostResource /* video_decoder */) | 1116 ppapi::HostResource /* video_decoder */) |
| OLD | NEW |