| 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 29 matching lines...) Expand all Loading... |
| 40 #include "ppapi/c/private/ppb_net_address_private.h" | 40 #include "ppapi/c/private/ppb_net_address_private.h" |
| 41 #include "ppapi/c/private/ppb_tcp_socket_private.h" | 41 #include "ppapi/c/private/ppb_tcp_socket_private.h" |
| 42 #include "ppapi/c/private/ppb_udp_socket_private.h" | 42 #include "ppapi/c/private/ppb_udp_socket_private.h" |
| 43 #include "ppapi/c/private/ppp_flash_browser_operations.h" | 43 #include "ppapi/c/private/ppp_flash_browser_operations.h" |
| 44 #include "ppapi/proxy/ppapi_param_traits.h" | 44 #include "ppapi/proxy/ppapi_param_traits.h" |
| 45 #include "ppapi/proxy/ppapi_proxy_export.h" | 45 #include "ppapi/proxy/ppapi_proxy_export.h" |
| 46 #include "ppapi/proxy/resource_message_params.h" | 46 #include "ppapi/proxy/resource_message_params.h" |
| 47 #include "ppapi/proxy/serialized_flash_menu.h" | 47 #include "ppapi/proxy/serialized_flash_menu.h" |
| 48 #include "ppapi/proxy/serialized_structs.h" | 48 #include "ppapi/proxy/serialized_structs.h" |
| 49 #include "ppapi/proxy/serialized_var.h" | 49 #include "ppapi/proxy/serialized_var.h" |
| 50 #include "ppapi/shared_impl/dir_contents.h" | |
| 51 #include "ppapi/shared_impl/file_path.h" | |
| 52 #include "ppapi/shared_impl/ppapi_preferences.h" | 50 #include "ppapi/shared_impl/ppapi_preferences.h" |
| 53 #include "ppapi/shared_impl/ppb_device_ref_shared.h" | 51 #include "ppapi/shared_impl/ppb_device_ref_shared.h" |
| 54 #include "ppapi/shared_impl/ppb_input_event_shared.h" | 52 #include "ppapi/shared_impl/ppb_input_event_shared.h" |
| 55 #include "ppapi/shared_impl/ppb_network_list_private_shared.h" | 53 #include "ppapi/shared_impl/ppb_network_list_private_shared.h" |
| 56 #include "ppapi/shared_impl/ppb_view_shared.h" | 54 #include "ppapi/shared_impl/ppb_view_shared.h" |
| 57 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h" | 55 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h" |
| 58 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h" | 56 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h" |
| 59 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" | 57 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" |
| 60 #include "ppapi/shared_impl/url_request_info_data.h" | 58 #include "ppapi/shared_impl/url_request_info_data.h" |
| 61 #include "ppapi/shared_impl/url_response_info_data.h" | 59 #include "ppapi/shared_impl/url_response_info_data.h" |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 IPC_STRUCT_TRAITS_MEMBER(query) | 155 IPC_STRUCT_TRAITS_MEMBER(query) |
| 158 IPC_STRUCT_TRAITS_MEMBER(ref) | 156 IPC_STRUCT_TRAITS_MEMBER(ref) |
| 159 IPC_STRUCT_TRAITS_END() | 157 IPC_STRUCT_TRAITS_END() |
| 160 | 158 |
| 161 IPC_STRUCT_TRAITS_BEGIN(ppapi::DeviceRefData) | 159 IPC_STRUCT_TRAITS_BEGIN(ppapi::DeviceRefData) |
| 162 IPC_STRUCT_TRAITS_MEMBER(type) | 160 IPC_STRUCT_TRAITS_MEMBER(type) |
| 163 IPC_STRUCT_TRAITS_MEMBER(name) | 161 IPC_STRUCT_TRAITS_MEMBER(name) |
| 164 IPC_STRUCT_TRAITS_MEMBER(id) | 162 IPC_STRUCT_TRAITS_MEMBER(id) |
| 165 IPC_STRUCT_TRAITS_END() | 163 IPC_STRUCT_TRAITS_END() |
| 166 | 164 |
| 167 IPC_STRUCT_TRAITS_BEGIN(ppapi::DirEntry) | |
| 168 IPC_STRUCT_TRAITS_MEMBER(name) | |
| 169 IPC_STRUCT_TRAITS_MEMBER(is_dir) | |
| 170 IPC_STRUCT_TRAITS_END() | |
| 171 | |
| 172 IPC_STRUCT_TRAITS_BEGIN(ppapi::FlashSiteSetting) | 165 IPC_STRUCT_TRAITS_BEGIN(ppapi::FlashSiteSetting) |
| 173 IPC_STRUCT_TRAITS_MEMBER(site) | 166 IPC_STRUCT_TRAITS_MEMBER(site) |
| 174 IPC_STRUCT_TRAITS_MEMBER(permission) | 167 IPC_STRUCT_TRAITS_MEMBER(permission) |
| 175 IPC_STRUCT_TRAITS_END() | 168 IPC_STRUCT_TRAITS_END() |
| 176 | 169 |
| 177 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData) | 170 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData) |
| 178 IPC_STRUCT_TRAITS_MEMBER(rect) | 171 IPC_STRUCT_TRAITS_MEMBER(rect) |
| 179 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen) | 172 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen) |
| 180 IPC_STRUCT_TRAITS_MEMBER(is_page_visible) | 173 IPC_STRUCT_TRAITS_MEMBER(is_page_visible) |
| 181 IPC_STRUCT_TRAITS_MEMBER(clip_rect) | 174 IPC_STRUCT_TRAITS_MEMBER(clip_rect) |
| (...skipping 1092 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1274 PP_Bool /* from_user_action */, | 1267 PP_Bool /* from_user_action */, |
| 1275 int32_t /* result */) | 1268 int32_t /* result */) |
| 1276 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetLocalTimeZoneOffset, | 1269 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetLocalTimeZoneOffset, |
| 1277 PP_Instance /* instance */, | 1270 PP_Instance /* instance */, |
| 1278 PP_Time /* t */, | 1271 PP_Time /* t */, |
| 1279 double /* offset */) | 1272 double /* offset */) |
| 1280 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_IsRectTopmost, | 1273 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_IsRectTopmost, |
| 1281 PP_Instance /* instance */, | 1274 PP_Instance /* instance */, |
| 1282 PP_Rect /* rect */, | 1275 PP_Rect /* rect */, |
| 1283 PP_Bool /* result */) | 1276 PP_Bool /* result */) |
| 1277 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBFlash_OpenFileRef, |
| 1278 PP_Instance /* instance */, |
| 1279 ppapi::HostResource /* file_ref */, |
| 1280 int32_t /* mode */, |
| 1281 IPC::PlatformFileForTransit /* file_handle */, |
| 1282 int32_t /* result */) |
| 1283 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBFlash_QueryFileRef, |
| 1284 PP_Instance /* instance */, |
| 1285 ppapi::HostResource /* file_ref */, |
| 1286 PP_FileInfo /* info */, |
| 1287 int32_t /* result */) |
| 1284 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetSetting, | 1288 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetSetting, |
| 1285 PP_Instance /* instance */, | 1289 PP_Instance /* instance */, |
| 1286 PP_FlashSetting /* setting */, | 1290 PP_FlashSetting /* setting */, |
| 1287 ppapi::proxy::SerializedVar /* result */) | 1291 ppapi::proxy::SerializedVar /* result */) |
| 1288 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBFlash_InvokePrinting, | 1292 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBFlash_InvokePrinting, |
| 1289 PP_Instance /* instance */) | 1293 PP_Instance /* instance */) |
| 1290 | 1294 |
| 1291 // PPB_Flash_DeviceID. | 1295 // PPB_Flash_DeviceID. |
| 1292 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlashDeviceID_Get, | 1296 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlashDeviceID_Get, |
| 1293 int32 /* routing_id */, | 1297 int32 /* routing_id */, |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1628 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashClipboard_ReadData, | 1632 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashClipboard_ReadData, |
| 1629 uint32_t /* clipboard_type */, | 1633 uint32_t /* clipboard_type */, |
| 1630 uint32_t /* format */) | 1634 uint32_t /* format */) |
| 1631 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashClipboard_ReadDataReply, | 1635 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashClipboard_ReadDataReply, |
| 1632 std::string /* result */) | 1636 std::string /* result */) |
| 1633 IPC_MESSAGE_CONTROL3(PpapiHostMsg_FlashClipboard_WriteData, | 1637 IPC_MESSAGE_CONTROL3(PpapiHostMsg_FlashClipboard_WriteData, |
| 1634 uint32_t /* clipboard_type */, | 1638 uint32_t /* clipboard_type */, |
| 1635 std::vector<uint32_t> /* formats */, | 1639 std::vector<uint32_t> /* formats */, |
| 1636 std::vector<std::string> /* data */) | 1640 std::vector<std::string> /* data */) |
| 1637 | 1641 |
| 1638 // Flash file. | |
| 1639 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashFile_Create) | |
| 1640 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashFile_OpenFile, | |
| 1641 ppapi::PepperFilePath /* path */, | |
| 1642 int /* flags */) | |
| 1643 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashFile_RenameFile, | |
| 1644 ppapi::PepperFilePath /* from_path */, | |
| 1645 ppapi::PepperFilePath /* to_path */) | |
| 1646 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashFile_DeleteFileOrDir, | |
| 1647 ppapi::PepperFilePath /* path */, | |
| 1648 bool /* recursive */) | |
| 1649 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashFile_CreateDir, | |
| 1650 ppapi::PepperFilePath /* path */) | |
| 1651 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashFile_QueryFile, | |
| 1652 ppapi::PepperFilePath /* path */) | |
| 1653 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashFile_QueryFileReply, | |
| 1654 base::PlatformFileInfo /* file_info */) | |
| 1655 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashFile_GetDirContents, | |
| 1656 ppapi::PepperFilePath /* path */) | |
| 1657 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashFile_GetDirContentsReply, | |
| 1658 ppapi::DirContents /* entries */) | |
| 1659 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashFile_CreateTemporaryFile) | |
| 1660 | |
| 1661 // Flash font file. | 1642 // Flash font file. |
| 1662 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashFontFile_Create, | 1643 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashFontFile_Create, |
| 1663 ppapi::proxy::SerializedFontDescription /* description */, | 1644 ppapi::proxy::SerializedFontDescription /* description */, |
| 1664 PP_PrivateFontCharset /* charset */) | 1645 PP_PrivateFontCharset /* charset */) |
| 1665 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashFontFile_GetFontTable, | 1646 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashFontFile_GetFontTable, |
| 1666 uint32_t /* table */) | 1647 uint32_t /* table */) |
| 1667 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashFontFile_GetFontTableReply, | 1648 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashFontFile_GetFontTableReply, |
| 1668 std::string /* output */) | 1649 std::string /* output */) |
| 1669 | 1650 |
| 1670 // Flash fullscreen. | 1651 // Flash fullscreen. |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1723 std::vector<ppapi::HostResource> /* buffers */, | 1704 std::vector<ppapi::HostResource> /* buffers */, |
| 1724 uint32_t /* buffer_size */) | 1705 uint32_t /* buffer_size */) |
| 1725 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 1706 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
| 1726 uint32_t /* status */) | 1707 uint32_t /* status */) |
| 1727 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 1708 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
| 1728 uint32_t /* error */) | 1709 uint32_t /* error */) |
| 1729 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 1710 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
| 1730 uint32_t /* buffer */) | 1711 uint32_t /* buffer */) |
| 1731 | 1712 |
| 1732 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1713 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
| OLD | NEW |