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

Unified Diff: content/common/clipboard_messages.h

Issue 1876653003: Register clipboard image blob in the browser process to copy data less. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 months 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 side-by-side diff with in-line comments
Download patch
Index: content/common/clipboard_messages.h
diff --git a/content/common/clipboard_messages.h b/content/common/clipboard_messages.h
index 36877f0a241f1aad14915602c28d7c7b18202298..d4daee4737807a3af578d05309f74ccb5ff46961 100644
--- a/content/common/clipboard_messages.h
+++ b/content/common/clipboard_messages.h
@@ -68,10 +68,11 @@ IPC_SYNC_MESSAGE_CONTROL1_4(ClipboardHostMsg_ReadHTML,
IPC_SYNC_MESSAGE_CONTROL1_1(ClipboardHostMsg_ReadRTF,
ui::ClipboardType /* type */,
std::string /* result */)
-IPC_SYNC_MESSAGE_CONTROL1_2(ClipboardHostMsg_ReadImage,
+IPC_SYNC_MESSAGE_CONTROL1_3(ClipboardHostMsg_ReadImage,
ui::ClipboardType /* type */,
- base::SharedMemoryHandle /* PNG-encoded image */,
- uint32_t /* image size */)
+ std::string /* blob_uuid */,
+ std::string /* mime_type */,
+ int64_t /* size */);
IPC_SYNC_MESSAGE_CONTROL2_1(ClipboardHostMsg_ReadCustomData,
ui::ClipboardType /* type */,
base::string16 /* type */,
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/renderer/renderer_clipboard_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698