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

Unified Diff: content/common/drag_messages.h

Issue 1723763002: Add WebDragData to blink::WebView::dragtargetDrop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 4 years, 6 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
« no previous file with comments | « content/browser/web_contents/web_drag_dest_mac.mm ('k') | content/common/drag_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/drag_messages.h
diff --git a/content/common/drag_messages.h b/content/common/drag_messages.h
index c3e8e7ddfc22bfde6de2eb05cfe8a9f8821f488f..0164368d9fe7f99210d4dd1e56597623af139119 100644
--- a/content/common/drag_messages.h
+++ b/content/common/drag_messages.h
@@ -5,6 +5,8 @@
// IPC messages for drag and drop.
// Multiply-included message file, hence no include guard.
+#include <vector>
+
#include "content/common/drag_event_source_info.h"
#include "content/public/common/drop_data.h"
#include "ipc/ipc_message_macros.h"
@@ -18,7 +20,7 @@
// Messages sent from the browser to the renderer.
IPC_MESSAGE_ROUTED5(DragMsg_TargetDragEnter,
- content::DropData /* drop_data */,
+ std::vector<content::DropData::Metadata> /* drop_data */,
gfx::Point /* client_pt */,
gfx::Point /* screen_pt */,
blink::WebDragOperationsMask /* ops_allowed */,
@@ -32,7 +34,8 @@ IPC_MESSAGE_ROUTED4(DragMsg_TargetDragOver,
IPC_MESSAGE_ROUTED0(DragMsg_TargetDragLeave)
-IPC_MESSAGE_ROUTED3(DragMsg_TargetDrop,
+IPC_MESSAGE_ROUTED4(DragMsg_TargetDrop,
+ content::DropData /* drop_data */,
gfx::Point /* client_pt */,
gfx::Point /* screen_pt */,
int /* key_modifiers */)
« no previous file with comments | « content/browser/web_contents/web_drag_dest_mac.mm ('k') | content/common/drag_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698