| 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 1493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1575 | 1578 |
| 1576 // Reply to a RequestMemory call. This supplies the shared memory handle. The | 1579 // Reply to a RequestMemory call. This supplies the shared memory handle. The |
| 1577 // actual handle is passed in the ReplyParams struct. | 1580 // actual handle is passed in the ReplyParams struct. |
| 1578 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Gamepad_SendMemory) | 1581 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Gamepad_SendMemory) |
| 1579 | 1582 |
| 1580 // Printing. | 1583 // Printing. |
| 1581 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_Create) | 1584 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_Create) |
| 1582 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_GetDefaultPrintSettings) | 1585 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_GetDefaultPrintSettings) |
| 1583 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply, | 1586 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply, |
| 1584 PP_PrintSettings_Dev /* print_settings */) | 1587 PP_PrintSettings_Dev /* print_settings */) |
| 1588 |
| 1589 #if !defined(OS_NACL) && !defined(NACL_WIN64) |
| 1590 // Flash font file. |
| 1591 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashFontFile_Create, |
| 1592 ppapi::proxy::SerializedFontDescription /* description */, |
| 1593 PP_PrivateFontCharset /* charset */) |
| 1594 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashFontFile_GetFontTable, |
| 1595 uint32_t /* table */) |
| 1596 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashFontFile_GetFontTableReply, |
| 1597 std::string /* output */) |
| 1598 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
| OLD | NEW |