summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/render_messages_internal.h')
-rw-r--r--chrome/common/render_messages_internal.h23
1 files changed, 9 insertions, 14 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
index 61da8e7..ea97bc7 100644
--- a/chrome/common/render_messages_internal.h
+++ b/chrome/common/render_messages_internal.h
@@ -9,6 +9,7 @@
#include <string>
#include <vector>
+#include "base/clipboard.h"
#include "base/gfx/rect.h"
#include "base/shared_memory.h"
#include "chrome/common/ipc_message_macros.h"
@@ -783,21 +784,15 @@ IPC_BEGIN_MESSAGES(ViewHost, 2)
std::wstring /* plugin_path */)
// Clipboard IPC messages
- IPC_MESSAGE_CONTROL0(ViewHostMsg_ClipboardClear)
- IPC_MESSAGE_CONTROL1(ViewHostMsg_ClipboardWriteText,
- std::wstring /* text */)
- IPC_MESSAGE_CONTROL2(ViewHostMsg_ClipboardWriteHTML,
- std::wstring /* html */,
- GURL /* url */)
- IPC_MESSAGE_CONTROL2(ViewHostMsg_ClipboardWriteBookmark,
- std::wstring /* title */,
- GURL /* url */)
- // This message is synchronized so that the renderer known when it is safe to
+
+ // This message is used when the object list does not contain a bitmap.
+ IPC_MESSAGE_CONTROL1(ViewHostMsg_ClipboardWriteObjectsAsync,
+ Clipboard::ObjectMap /* objects */)
+ // This message is used when the object list contains a bitmap.
+ // It is synchronized so that the renderer knows when it is safe to
// free the shared memory used to transfer the bitmap.
- IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_ClipboardWriteBitmap,
- SharedMemoryHandle /* bitmap */,
- gfx::Size /* size */)
- IPC_MESSAGE_CONTROL0(ViewHostMsg_ClipboardWriteWebSmartPaste)
+ IPC_SYNC_MESSAGE_CONTROL1_0(ViewHostMsg_ClipboardWriteObjectsSync,
+ Clipboard::ObjectMap /* objects */)
IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_ClipboardIsFormatAvailable,
int /* format */,
bool /* result */)