Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(893)

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 11225021: Move flash clipboard to the new proxy and add custom format support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
1727 uint32_t /* table */) 1712 uint32_t /* table */)
1728 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashFontFile_GetFontTableReply, 1713 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashFontFile_GetFontTableReply,
1729 std::string /* output */) 1714 std::string /* output */)
1730 1715
1731 // Flash functions. 1716 // Flash functions.
1732 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) 1717 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create)
1733 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_EnumerateVideoCaptureDevices, 1718 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_EnumerateVideoCaptureDevices,
1734 ppapi::HostResource /* video_capture */) 1719 ppapi::HostResource /* video_capture */)
1735 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_EnumerateVideoCaptureDevicesReply, 1720 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_EnumerateVideoCaptureDevicesReply,
1736 std::vector<ppapi::DeviceRefData> /* devices */) 1721 std::vector<ppapi::DeviceRefData> /* devices */)
1722
1723 // Flash clipboard.
yzshen1 2012/10/29 16:55:46 nit, optional: sort according to the name (Flash c
raymes 2012/10/29 18:44:58 Done.
1724 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashClipboard_Create)
1725 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FlashClipboard_RegisterCustomFormat,
1726 std::string /* format_name */)
1727 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashClipboard_RegisterCustomFormatReply,
1728 uint32_t /* format */)
1729 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashClipboard_IsFormatAvailable,
1730 uint32_t /* clipboard_type */,
1731 uint32_t /* format */)
1732 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FlashClipboard_ReadData,
1733 uint32_t /* clipboard_type */,
1734 uint32_t /* format */)
1735 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashClipboard_ReadDataReply,
1736 std::string /* result */)
1737 IPC_MESSAGE_CONTROL3(PpapiHostMsg_FlashClipboard_WriteData,
1738 uint32_t /* clipboard_type */,
1739 std::vector<uint32_t> /* formats */,
1740 std::vector<std::string> /* data */)
1737 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1741 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698