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 17 matching lines...) Expand all Loading... |
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/pp_time.h" | 33 #include "ppapi/c/pp_time.h" |
34 #include "ppapi/c/private/ppb_flash.h" | 34 #include "ppapi/c/private/ppb_flash.h" |
35 #include "ppapi/c/private/ppb_host_resolver_private.h" | 35 #include "ppapi/c/private/ppb_host_resolver_private.h" |
36 #include "ppapi/c/private/ppb_net_address_private.h" | 36 #include "ppapi/c/private/ppb_net_address_private.h" |
37 #include "ppapi/c/private/ppb_tcp_socket_private.h" | 37 #include "ppapi/c/private/ppb_tcp_socket_private.h" |
| 38 #include "ppapi/c/private/ppb_udp_socket_private.h" |
38 #include "ppapi/c/private/ppp_flash_browser_operations.h" | 39 #include "ppapi/c/private/ppp_flash_browser_operations.h" |
39 #include "ppapi/proxy/ppapi_param_traits.h" | 40 #include "ppapi/proxy/ppapi_param_traits.h" |
40 #include "ppapi/proxy/ppapi_proxy_export.h" | 41 #include "ppapi/proxy/ppapi_proxy_export.h" |
41 #include "ppapi/proxy/resource_message_params.h" | 42 #include "ppapi/proxy/resource_message_params.h" |
42 #include "ppapi/proxy/serialized_flash_menu.h" | 43 #include "ppapi/proxy/serialized_flash_menu.h" |
43 #include "ppapi/proxy/serialized_structs.h" | 44 #include "ppapi/proxy/serialized_structs.h" |
44 #include "ppapi/shared_impl/ppapi_preferences.h" | 45 #include "ppapi/shared_impl/ppapi_preferences.h" |
45 #include "ppapi/shared_impl/ppb_device_ref_shared.h" | 46 #include "ppapi/shared_impl/ppb_device_ref_shared.h" |
46 #include "ppapi/shared_impl/ppb_input_event_shared.h" | 47 #include "ppapi/shared_impl/ppb_input_event_shared.h" |
47 #include "ppapi/shared_impl/ppb_network_list_private_shared.h" | 48 #include "ppapi/shared_impl/ppb_network_list_private_shared.h" |
48 #include "ppapi/shared_impl/ppb_url_request_info_shared.h" | 49 #include "ppapi/shared_impl/ppb_url_request_info_shared.h" |
49 #include "ppapi/shared_impl/ppb_view_shared.h" | 50 #include "ppapi/shared_impl/ppb_view_shared.h" |
50 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h" | 51 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h" |
51 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h" | 52 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h" |
52 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" | 53 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" |
53 | 54 |
54 #undef IPC_MESSAGE_EXPORT | 55 #undef IPC_MESSAGE_EXPORT |
55 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT | 56 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT |
56 | 57 |
57 #define IPC_MESSAGE_START PpapiMsgStart | 58 #define IPC_MESSAGE_START PpapiMsgStart |
58 | 59 |
59 IPC_ENUM_TRAITS(PP_DeviceType_Dev) | 60 IPC_ENUM_TRAITS(PP_DeviceType_Dev) |
60 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) | 61 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) |
61 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType) | 62 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType) |
62 IPC_ENUM_TRAITS(PP_FlashSetting) | 63 IPC_ENUM_TRAITS(PP_FlashSetting) |
63 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) | 64 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) |
64 IPC_ENUM_TRAITS(PP_InputEvent_Type) | 65 IPC_ENUM_TRAITS(PP_InputEvent_Type) |
65 IPC_ENUM_TRAITS(PP_NetAddressFamily_Private) | 66 IPC_ENUM_TRAITS(PP_NetAddressFamily_Private) |
| 67 IPC_ENUM_TRAITS(PP_NetworkListState_Private) |
66 IPC_ENUM_TRAITS(PP_NetworkListType_Private) | 68 IPC_ENUM_TRAITS(PP_NetworkListType_Private) |
67 IPC_ENUM_TRAITS(PP_NetworkListState_Private) | |
68 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev) | 69 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev) |
69 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev) | 70 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev) |
70 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev) | 71 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev) |
71 IPC_ENUM_TRAITS(PP_TextInput_Type) | 72 IPC_ENUM_TRAITS(PP_TextInput_Type) |
72 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) | 73 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) |
73 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile) | 74 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile) |
74 | 75 |
75 IPC_STRUCT_TRAITS_BEGIN(PP_Point) | 76 IPC_STRUCT_TRAITS_BEGIN(PP_Point) |
76 IPC_STRUCT_TRAITS_MEMBER(x) | 77 IPC_STRUCT_TRAITS_MEMBER(x) |
77 IPC_STRUCT_TRAITS_MEMBER(y) | 78 IPC_STRUCT_TRAITS_MEMBER(y) |
(...skipping 1358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1436 uint32 /* socket_id */, | 1437 uint32 /* socket_id */, |
1437 std::string /* data */) | 1438 std::string /* data */) |
1438 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocket_Disconnect, | 1439 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocket_Disconnect, |
1439 uint32 /* socket_id */) | 1440 uint32 /* socket_id */) |
1440 | 1441 |
1441 // PPB_UDPSocket_Private. | 1442 // PPB_UDPSocket_Private. |
1442 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBUDPSocket_Create, | 1443 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBUDPSocket_Create, |
1443 int32 /* routing_id */, | 1444 int32 /* routing_id */, |
1444 uint32 /* plugin_dispatcher_id */, | 1445 uint32 /* plugin_dispatcher_id */, |
1445 uint32 /* socket_id */) | 1446 uint32 /* socket_id */) |
| 1447 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBUDPSocket_SetBoolSocketFeature, |
| 1448 int32 /* routing_id */, |
| 1449 uint32 /* socket_id */, |
| 1450 int32_t /* name */, |
| 1451 bool /* value */) |
1446 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_Bind, | 1452 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_Bind, |
1447 int32 /* routing_id */, | 1453 int32 /* routing_id */, |
1448 uint32 /* socket_id */, | 1454 uint32 /* socket_id */, |
1449 PP_NetAddress_Private /* net_addr */) | 1455 PP_NetAddress_Private /* net_addr */) |
1450 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom, | 1456 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom, |
1451 uint32 /* socket_id */, | 1457 uint32 /* socket_id */, |
1452 int32_t /* num_bytes */) | 1458 int32_t /* num_bytes */) |
1453 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_SendTo, | 1459 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_SendTo, |
1454 uint32 /* socket_id */, | 1460 uint32 /* socket_id */, |
1455 std::string /* data */, | 1461 std::string /* data */, |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1529 std::string /* suggested_file_name */, | 1535 std::string /* suggested_file_name */, |
1530 std::vector<std::string> /* accept_mime_types */) | 1536 std::vector<std::string> /* accept_mime_types */) |
1531 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, | 1537 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, |
1532 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) | 1538 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) |
1533 | 1539 |
1534 // Gamepad. | 1540 // Gamepad. |
1535 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_Create) | 1541 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_Create) |
1536 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_RequestMemory) | 1542 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_RequestMemory) |
1537 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Gamepad_SendMemory, | 1543 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Gamepad_SendMemory, |
1538 base::SharedMemoryHandle /* handle */) | 1544 base::SharedMemoryHandle /* handle */) |
OLD | NEW |