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

Unified Diff: content/common/drag_traits.h

Issue 1723763002: Add WebDragData to blink::WebView::dragtargetDrop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile on aura Created 4 years, 7 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/drag_traits.h
diff --git a/content/common/drag_traits.h b/content/common/drag_traits.h
index 39f75cba886460370bf8c532e986f4f88dc5334f..5a507669596a13290aca80da733a236b39910d59 100644
--- a/content/common/drag_traits.h
+++ b/content/common/drag_traits.h
@@ -14,6 +14,8 @@
IPC_ENUM_TRAITS(blink::WebDragOperation) // Bitmask.
IPC_ENUM_TRAITS_MAX_VALUE(ui::DragDropTypes::DragEventSource,
ui::DragDropTypes::DRAG_EVENT_SOURCE_LAST)
+IPC_ENUM_TRAITS_MAX_VALUE(content::DropData::Kind,
+ content::DropData::Kind::LAST)
IPC_STRUCT_TRAITS_BEGIN(ui::FileInfo)
IPC_STRUCT_TRAITS_MEMBER(path)
@@ -41,6 +43,13 @@ IPC_STRUCT_TRAITS_BEGIN(content::DropData::FileSystemFileInfo)
IPC_STRUCT_TRAITS_MEMBER(size)
IPC_STRUCT_TRAITS_END()
+IPC_STRUCT_TRAITS_BEGIN(content::DropData::MetaData)
+ IPC_STRUCT_TRAITS_MEMBER(kind)
+ IPC_STRUCT_TRAITS_MEMBER(mime_type)
+ IPC_STRUCT_TRAITS_MEMBER(filename)
+ IPC_STRUCT_TRAITS_MEMBER(file_system_url)
+IPC_STRUCT_TRAITS_END()
+
IPC_STRUCT_TRAITS_BEGIN(content::DragEventSourceInfo)
IPC_STRUCT_TRAITS_MEMBER(event_location)
IPC_STRUCT_TRAITS_MEMBER(event_source)

Powered by Google App Engine
This is Rietveld 408576698