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