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 13 matching lines...) Expand all Loading... |
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/pp_time.h" | 33 #include "ppapi/c/pp_time.h" |
| 34 #include "ppapi/c/private/pp_private_font_charset.h" |
34 #include "ppapi/c/private/ppb_flash.h" | 35 #include "ppapi/c/private/ppb_flash.h" |
35 #include "ppapi/c/private/ppb_host_resolver_private.h" | 36 #include "ppapi/c/private/ppb_host_resolver_private.h" |
36 #include "ppapi/c/private/ppb_net_address_private.h" | 37 #include "ppapi/c/private/ppb_net_address_private.h" |
37 #include "ppapi/c/private/ppb_tcp_socket_private.h" | 38 #include "ppapi/c/private/ppb_tcp_socket_private.h" |
38 #include "ppapi/c/private/ppb_udp_socket_private.h" | 39 #include "ppapi/c/private/ppb_udp_socket_private.h" |
39 #include "ppapi/c/private/ppp_flash_browser_operations.h" | 40 #include "ppapi/c/private/ppp_flash_browser_operations.h" |
40 #include "ppapi/proxy/ppapi_param_traits.h" | 41 #include "ppapi/proxy/ppapi_param_traits.h" |
41 #include "ppapi/proxy/ppapi_proxy_export.h" | 42 #include "ppapi/proxy/ppapi_proxy_export.h" |
42 #include "ppapi/proxy/resource_message_params.h" | 43 #include "ppapi/proxy/resource_message_params.h" |
43 #include "ppapi/proxy/serialized_flash_menu.h" | 44 #include "ppapi/proxy/serialized_flash_menu.h" |
44 #include "ppapi/proxy/serialized_structs.h" | 45 #include "ppapi/proxy/serialized_structs.h" |
| 46 #include "ppapi/proxy/serialized_var.h" |
45 #include "ppapi/shared_impl/ppapi_preferences.h" | 47 #include "ppapi/shared_impl/ppapi_preferences.h" |
46 #include "ppapi/shared_impl/ppb_device_ref_shared.h" | 48 #include "ppapi/shared_impl/ppb_device_ref_shared.h" |
47 #include "ppapi/shared_impl/ppb_input_event_shared.h" | 49 #include "ppapi/shared_impl/ppb_input_event_shared.h" |
48 #include "ppapi/shared_impl/ppb_network_list_private_shared.h" | 50 #include "ppapi/shared_impl/ppb_network_list_private_shared.h" |
49 #include "ppapi/shared_impl/ppb_view_shared.h" | 51 #include "ppapi/shared_impl/ppb_view_shared.h" |
50 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h" | 52 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h" |
51 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h" | 53 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h" |
52 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" | 54 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" |
53 #include "ppapi/shared_impl/url_request_info_data.h" | 55 #include "ppapi/shared_impl/url_request_info_data.h" |
54 | 56 |
55 #undef IPC_MESSAGE_EXPORT | 57 #undef IPC_MESSAGE_EXPORT |
56 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT | 58 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT |
57 | 59 |
58 #define IPC_MESSAGE_START PpapiMsgStart | 60 #define IPC_MESSAGE_START PpapiMsgStart |
59 | 61 |
60 IPC_ENUM_TRAITS(PP_DeviceType_Dev) | 62 IPC_ENUM_TRAITS(PP_DeviceType_Dev) |
61 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) | 63 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) |
62 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType) | 64 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType) |
63 IPC_ENUM_TRAITS(PP_FlashSetting) | 65 IPC_ENUM_TRAITS(PP_FlashSetting) |
64 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) | 66 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) |
65 IPC_ENUM_TRAITS(PP_InputEvent_Type) | 67 IPC_ENUM_TRAITS(PP_InputEvent_Type) |
66 IPC_ENUM_TRAITS(PP_NetAddressFamily_Private) | 68 IPC_ENUM_TRAITS(PP_NetAddressFamily_Private) |
67 IPC_ENUM_TRAITS(PP_NetworkListState_Private) | 69 IPC_ENUM_TRAITS(PP_NetworkListState_Private) |
68 IPC_ENUM_TRAITS(PP_NetworkListType_Private) | 70 IPC_ENUM_TRAITS(PP_NetworkListType_Private) |
69 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev) | 71 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev) |
70 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev) | 72 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev) |
71 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev) | 73 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev) |
| 74 IPC_ENUM_TRAITS(PP_PrivateFontCharset) |
72 IPC_ENUM_TRAITS(PP_TextInput_Type) | 75 IPC_ENUM_TRAITS(PP_TextInput_Type) |
73 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) | 76 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) |
74 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile) | 77 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile) |
75 | 78 |
76 IPC_STRUCT_TRAITS_BEGIN(PP_Point) | 79 IPC_STRUCT_TRAITS_BEGIN(PP_Point) |
77 IPC_STRUCT_TRAITS_MEMBER(x) | 80 IPC_STRUCT_TRAITS_MEMBER(x) |
78 IPC_STRUCT_TRAITS_MEMBER(y) | 81 IPC_STRUCT_TRAITS_MEMBER(y) |
79 IPC_STRUCT_TRAITS_END() | 82 IPC_STRUCT_TRAITS_END() |
80 | 83 |
81 IPC_STRUCT_TRAITS_BEGIN(PP_FloatPoint) | 84 IPC_STRUCT_TRAITS_BEGIN(PP_FloatPoint) |
(...skipping 1573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1655 int32_t /* state */) | 1658 int32_t /* state */) |
1656 | 1659 |
1657 // Unsolicited reply message to notify that the connection is closed without | 1660 // Unsolicited reply message to notify that the connection is closed without |
1658 // any WebSocket_Close request. Server initiated closing handshake or | 1661 // any WebSocket_Close request. Server initiated closing handshake or |
1659 // unexpected network errors will invoke this message. | 1662 // unexpected network errors will invoke this message. |
1660 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_WebSocket_ClosedReply, | 1663 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_WebSocket_ClosedReply, |
1661 unsigned long /* buffered_amount */, | 1664 unsigned long /* buffered_amount */, |
1662 bool /* was_clean */, | 1665 bool /* was_clean */, |
1663 unsigned short /* code */, | 1666 unsigned short /* code */, |
1664 std::string /* reason */) | 1667 std::string /* reason */) |
| 1668 |
| 1669 #if !defined(OS_NACL) && !defined(NACL_WIN64) |
| 1670 // Flash font file. |
| 1671 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashFontFile_Create, |
| 1672 ppapi::proxy::SerializedFontDescription /* description */, |
| 1673 PP_PrivateFontCharset /* charset */) |
| 1674 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashFontFile_GetFontTable, |
| 1675 uint32_t /* table */) |
| 1676 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashFontFile_GetFontTableReply, |
| 1677 std::string /* output */) |
| 1678 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |