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 12 matching lines...) Expand all Loading... |
23 #include "ppapi/c/dev/ppb_text_input_dev.h" | 23 #include "ppapi/c/dev/ppb_text_input_dev.h" |
24 #include "ppapi/c/dev/ppp_printing_dev.h" | 24 #include "ppapi/c/dev/ppp_printing_dev.h" |
25 #include "ppapi/c/pp_bool.h" | 25 #include "ppapi/c/pp_bool.h" |
26 #include "ppapi/c/pp_file_info.h" | 26 #include "ppapi/c/pp_file_info.h" |
27 #include "ppapi/c/pp_instance.h" | 27 #include "ppapi/c/pp_instance.h" |
28 #include "ppapi/c/pp_module.h" | 28 #include "ppapi/c/pp_module.h" |
29 #include "ppapi/c/pp_point.h" | 29 #include "ppapi/c/pp_point.h" |
30 #include "ppapi/c/pp_rect.h" | 30 #include "ppapi/c/pp_rect.h" |
31 #include "ppapi/c/pp_resource.h" | 31 #include "ppapi/c/pp_resource.h" |
32 #include "ppapi/c/pp_size.h" | 32 #include "ppapi/c/pp_size.h" |
| 33 #include "ppapi/c/private/ppb_host_resolver_private.h" |
33 #include "ppapi/c/private/ppb_tcp_socket_private.h" | 34 #include "ppapi/c/private/ppb_tcp_socket_private.h" |
34 #include "ppapi/proxy/ppapi_param_traits.h" | 35 #include "ppapi/proxy/ppapi_param_traits.h" |
35 #include "ppapi/proxy/ppapi_proxy_export.h" | 36 #include "ppapi/proxy/ppapi_proxy_export.h" |
36 #include "ppapi/proxy/serialized_flash_menu.h" | 37 #include "ppapi/proxy/serialized_flash_menu.h" |
37 #include "ppapi/proxy/serialized_structs.h" | 38 #include "ppapi/proxy/serialized_structs.h" |
38 #include "ppapi/shared_impl/ppapi_preferences.h" | 39 #include "ppapi/shared_impl/ppapi_preferences.h" |
39 #include "ppapi/shared_impl/ppb_device_ref_shared.h" | 40 #include "ppapi/shared_impl/ppb_device_ref_shared.h" |
40 #include "ppapi/shared_impl/ppb_input_event_shared.h" | 41 #include "ppapi/shared_impl/ppb_input_event_shared.h" |
41 #include "ppapi/shared_impl/ppb_url_request_info_shared.h" | 42 #include "ppapi/shared_impl/ppb_url_request_info_shared.h" |
42 #include "ppapi/shared_impl/ppb_view_shared.h" | 43 #include "ppapi/shared_impl/ppb_view_shared.h" |
| 44 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h" |
43 | 45 |
44 #undef IPC_MESSAGE_EXPORT | 46 #undef IPC_MESSAGE_EXPORT |
45 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT | 47 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT |
46 | 48 |
47 #define IPC_MESSAGE_START PpapiMsgStart | 49 #define IPC_MESSAGE_START PpapiMsgStart |
48 | 50 |
49 IPC_ENUM_TRAITS(PP_DeviceType_Dev) | 51 IPC_ENUM_TRAITS(PP_DeviceType_Dev) |
50 IPC_ENUM_TRAITS(PP_InputEvent_Type) | 52 IPC_ENUM_TRAITS(PP_InputEvent_Type) |
51 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) | 53 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) |
52 IPC_ENUM_TRAITS(PP_TextInput_Type) | 54 IPC_ENUM_TRAITS(PP_TextInput_Type) |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 uint32 /* plugin_dispatcher_id */, | 315 uint32 /* plugin_dispatcher_id */, |
314 uint32 /* socket_id */, | 316 uint32 /* socket_id */, |
315 bool /* succeeded */, | 317 bool /* succeeded */, |
316 std::string /* data */) | 318 std::string /* data */) |
317 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_WriteACK, | 319 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_WriteACK, |
318 uint32 /* plugin_dispatcher_id */, | 320 uint32 /* plugin_dispatcher_id */, |
319 uint32 /* socket_id */, | 321 uint32 /* socket_id */, |
320 bool /* succeeded */, | 322 bool /* succeeded */, |
321 int32_t /* bytes_written */) | 323 int32_t /* bytes_written */) |
322 | 324 |
323 // PPB_UDPSocket_Private | 325 // PPB_UDPSocket_Private. |
324 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBUDPSocket_BindACK, | 326 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBUDPSocket_BindACK, |
325 uint32 /* plugin_dispatcher_id */, | 327 uint32 /* plugin_dispatcher_id */, |
326 uint32 /* socket_id */, | 328 uint32 /* socket_id */, |
327 bool /* succeeded */, | 329 bool /* succeeded */, |
328 PP_NetAddress_Private /* bound_addr */) | 330 PP_NetAddress_Private /* bound_addr */) |
329 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBUDPSocket_RecvFromACK, | 331 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBUDPSocket_RecvFromACK, |
330 uint32 /* plugin_dispatcher_id */, | 332 uint32 /* plugin_dispatcher_id */, |
331 uint32 /* socket_id */, | 333 uint32 /* socket_id */, |
332 bool /* succeeded */, | 334 bool /* succeeded */, |
333 std::string /* data */, | 335 std::string /* data */, |
(...skipping 17 matching lines...) Expand all Loading... |
351 uint32 /* real_socket_id */, | 353 uint32 /* real_socket_id */, |
352 uint32 /* temp_socket_id */, | 354 uint32 /* temp_socket_id */, |
353 int32_t /* status */) | 355 int32_t /* status */) |
354 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPServerSocket_AcceptACK, | 356 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPServerSocket_AcceptACK, |
355 uint32 /* plugin_dispatcher_id */, | 357 uint32 /* plugin_dispatcher_id */, |
356 uint32 /* real_server_socket_id */, | 358 uint32 /* real_server_socket_id */, |
357 uint32 /* accepted_socket_id */, | 359 uint32 /* accepted_socket_id */, |
358 PP_NetAddress_Private /* local_addr */, | 360 PP_NetAddress_Private /* local_addr */, |
359 PP_NetAddress_Private /* remote_addr */) | 361 PP_NetAddress_Private /* remote_addr */) |
360 | 362 |
| 363 // PPB_HostResolver_Private. |
| 364 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBHostResolver_ResolveACK, |
| 365 uint32 /* plugin_dispatcher_id */, |
| 366 uint32 /* host_resolver_id */, |
| 367 bool /* succeeded */, |
| 368 ppapi::NetworkList /* network_list */) |
| 369 |
361 // PPB_Graphics2D. | 370 // PPB_Graphics2D. |
362 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, | 371 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, |
363 ppapi::HostResource /* graphics_2d */, | 372 ppapi::HostResource /* graphics_2d */, |
364 int32_t /* pp_error */) | 373 int32_t /* pp_error */) |
365 | 374 |
366 // PPB_Graphics3D. | 375 // PPB_Graphics3D. |
367 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, | 376 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, |
368 ppapi::HostResource /* graphics_3d */, | 377 ppapi::HostResource /* graphics_3d */, |
369 int32_t /* pp_error */) | 378 int32_t /* pp_error */) |
370 | 379 |
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
900 int32 /* routing_id */, | 909 int32 /* routing_id */, |
901 uint32 /* plugin_dispatcher_id */, | 910 uint32 /* plugin_dispatcher_id */, |
902 uint32 /* temp_socket_id */, | 911 uint32 /* temp_socket_id */, |
903 PP_NetAddress_Private /* addr */, | 912 PP_NetAddress_Private /* addr */, |
904 int32_t /* backlog */) | 913 int32_t /* backlog */) |
905 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Accept, | 914 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Accept, |
906 uint32 /* real_socket_id */) | 915 uint32 /* real_socket_id */) |
907 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Destroy, | 916 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Destroy, |
908 uint32 /* real_socket_id */) | 917 uint32 /* real_socket_id */) |
909 | 918 |
| 919 // PPB_HostResolver_Private. |
| 920 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBHostResolver_Resolve, |
| 921 int32 /* routing_id */, |
| 922 uint32 /* plugin_dispatcher_id */, |
| 923 uint32 /* host_resolver_id */, |
| 924 ppapi::HostPortPair /* host_port */, |
| 925 PP_HostResolver_Private_Hint /* hint */) |
| 926 |
910 // PPB_Font. | 927 // PPB_Font. |
911 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, | 928 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, |
912 std::string /* result */) | 929 std::string /* result */) |
913 | 930 |
914 // PPB_Graphics2D. | 931 // PPB_Graphics2D. |
915 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics2D_Create, | 932 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics2D_Create, |
916 PP_Instance /* instance */, | 933 PP_Instance /* instance */, |
917 PP_Size /* size */, | 934 PP_Size /* size */, |
918 PP_Bool /* is_always_opaque */, | 935 PP_Bool /* is_always_opaque */, |
919 ppapi::HostResource /* result */) | 936 ppapi::HostResource /* result */) |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1234 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) | 1251 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) |
1235 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, | 1252 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, |
1236 ppapi::HostResource /* video_decoder */, | 1253 ppapi::HostResource /* video_decoder */, |
1237 int32_t /* picture buffer id */) | 1254 int32_t /* picture buffer id */) |
1238 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, | 1255 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, |
1239 ppapi::HostResource /* video_decoder */) | 1256 ppapi::HostResource /* video_decoder */) |
1240 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, | 1257 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, |
1241 ppapi::HostResource /* video_decoder */) | 1258 ppapi::HostResource /* video_decoder */) |
1242 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, | 1259 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, |
1243 ppapi::HostResource /* video_decoder */) | 1260 ppapi::HostResource /* video_decoder */) |
OLD | NEW |