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 1402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1413 PP_Bool /* fullscreen */, | 1413 PP_Bool /* fullscreen */, |
1414 PP_Bool /* result */) | 1414 PP_Bool /* result */) |
1415 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBFlash_FlashGetScreenSize, | 1415 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBFlash_FlashGetScreenSize, |
1416 PP_Instance /* instance */, | 1416 PP_Instance /* instance */, |
1417 PP_Bool /* result */, | 1417 PP_Bool /* result */, |
1418 PP_Size /* size */) | 1418 PP_Size /* size */) |
1419 IPC_MESSAGE_ROUTED0(PpapiHostMsg_PPBFlash_UpdateActivity) | 1419 IPC_MESSAGE_ROUTED0(PpapiHostMsg_PPBFlash_UpdateActivity) |
1420 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlash_GetDeviceID, | 1420 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlash_GetDeviceID, |
1421 PP_Instance /* instance */, | 1421 PP_Instance /* instance */, |
1422 ppapi::proxy::SerializedVar /* id */) | 1422 ppapi::proxy::SerializedVar /* id */) |
1423 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlash_IsClipboardFormatAvailable, | |
1424 PP_Instance /* instance */, | |
1425 int /* clipboard_type */, | |
1426 int /* format */, | |
1427 bool /* result */) | |
1428 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlash_ReadClipboardData, | |
1429 PP_Instance /* instance */, | |
1430 int /* clipboard_type */, | |
1431 int /* format */, | |
1432 ppapi::proxy::SerializedVar /* result */) | |
1433 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFlash_WriteClipboardData, | |
1434 PP_Instance /* instance */, | |
1435 int /* clipboard_type */, | |
1436 std::vector<int> /* formats */, | |
1437 std::vector<ppapi::proxy::SerializedVar> /* data */) | |
1438 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBFlash_OpenFileRef, | 1423 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBFlash_OpenFileRef, |
1439 PP_Instance /* instance */, | 1424 PP_Instance /* instance */, |
1440 ppapi::HostResource /* file_ref */, | 1425 ppapi::HostResource /* file_ref */, |
1441 int32_t /* mode */, | 1426 int32_t /* mode */, |
1442 IPC::PlatformFileForTransit /* file_handle */, | 1427 IPC::PlatformFileForTransit /* file_handle */, |
1443 int32_t /* result */) | 1428 int32_t /* result */) |
1444 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBFlash_QueryFileRef, | 1429 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBFlash_QueryFileRef, |
1445 PP_Instance /* instance */, | 1430 PP_Instance /* instance */, |
1446 ppapi::HostResource /* file_ref */, | 1431 ppapi::HostResource /* file_ref */, |
1447 PP_FileInfo /* info */, | 1432 PP_FileInfo /* info */, |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1713 // Unsolicited reply message to notify that the connection is closed without | 1698 // Unsolicited reply message to notify that the connection is closed without |
1714 // any WebSocket_Close request. Server initiated closing handshake or | 1699 // any WebSocket_Close request. Server initiated closing handshake or |
1715 // unexpected network errors will invoke this message. | 1700 // unexpected network errors will invoke this message. |
1716 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_WebSocket_ClosedReply, | 1701 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_WebSocket_ClosedReply, |
1717 unsigned long /* buffered_amount */, | 1702 unsigned long /* buffered_amount */, |
1718 bool /* was_clean */, | 1703 bool /* was_clean */, |
1719 unsigned short /* code */, | 1704 unsigned short /* code */, |
1720 std::string /* reason */) | 1705 std::string /* reason */) |
1721 | 1706 |
1722 #if !defined(OS_NACL) && !defined(NACL_WIN64) | 1707 #if !defined(OS_NACL) && !defined(NACL_WIN64) |
| 1708 |
| 1709 // Flash clipboard. |
| 1710 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashClipboard_Create) |
| 1711 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashClipboard_RegisterCustomFormat, |
| 1712 std::string /* format_name */) |
| 1713 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashClipboard_RegisterCustomFormatReply, |
| 1714 uint32_t /* format */) |
| 1715 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashClipboard_IsFormatAvailable, |
| 1716 uint32_t /* clipboard_type */, |
| 1717 uint32_t /* format */) |
| 1718 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashClipboard_ReadData, |
| 1719 uint32_t /* clipboard_type */, |
| 1720 uint32_t /* format */) |
| 1721 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashClipboard_ReadDataReply, |
| 1722 std::string /* result */) |
| 1723 IPC_MESSAGE_CONTROL3(PpapiHostMsg_FlashClipboard_WriteData, |
| 1724 uint32_t /* clipboard_type */, |
| 1725 std::vector<uint32_t> /* formats */, |
| 1726 std::vector<std::string> /* data */) |
1723 // Flash font file. | 1727 // Flash font file. |
1724 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashFontFile_Create, | 1728 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashFontFile_Create, |
1725 ppapi::proxy::SerializedFontDescription /* description */, | 1729 ppapi::proxy::SerializedFontDescription /* description */, |
1726 PP_PrivateFontCharset /* charset */) | 1730 PP_PrivateFontCharset /* charset */) |
1727 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashFontFile_GetFontTable, | 1731 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashFontFile_GetFontTable, |
1728 uint32_t /* table */) | 1732 uint32_t /* table */) |
1729 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashFontFile_GetFontTableReply, | 1733 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashFontFile_GetFontTableReply, |
1730 std::string /* output */) | 1734 std::string /* output */) |
1731 | 1735 |
1732 // Flash functions. | 1736 // Flash functions. |
1733 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) | 1737 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) |
1734 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_EnumerateVideoCaptureDevices, | 1738 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_EnumerateVideoCaptureDevices, |
1735 ppapi::HostResource /* video_capture */) | 1739 ppapi::HostResource /* video_capture */) |
1736 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_EnumerateVideoCaptureDevicesReply, | 1740 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_EnumerateVideoCaptureDevicesReply, |
1737 std::vector<ppapi::DeviceRefData> /* devices */) | 1741 std::vector<ppapi::DeviceRefData> /* devices */) |
1738 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1742 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |