summaryrefslogtreecommitdiffstats
path: root/chromium/content/common/drag_traits.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/common/drag_traits.h')
-rw-r--r--chromium/content/common/drag_traits.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/chromium/content/common/drag_traits.h b/chromium/content/common/drag_traits.h
index e462680d34f..fa8d358f763 100644
--- a/chromium/content/common/drag_traits.h
+++ b/chromium/content/common/drag_traits.h
@@ -11,9 +11,11 @@
#define IPC_MESSAGE_START DragMsgStart
-IPC_ENUM_TRAITS(blink::WebDragOperation)
+IPC_ENUM_TRAITS(blink::WebDragOperation) // Bitmask.
+IPC_ENUM_TRAITS_MAX_VALUE(ui::DragDropTypes::DragEventSource,
+ ui::DragDropTypes::DRAG_EVENT_SOURCE_LAST)
-IPC_STRUCT_TRAITS_BEGIN(content::DropData::FileInfo)
+IPC_STRUCT_TRAITS_BEGIN(ui::FileInfo)
IPC_STRUCT_TRAITS_MEMBER(path)
IPC_STRUCT_TRAITS_MEMBER(display_name)
IPC_STRUCT_TRAITS_END()
@@ -25,6 +27,7 @@ IPC_STRUCT_TRAITS_BEGIN(content::DropData)
IPC_STRUCT_TRAITS_MEMBER(referrer_policy)
IPC_STRUCT_TRAITS_MEMBER(filenames)
IPC_STRUCT_TRAITS_MEMBER(filesystem_id)
+ IPC_STRUCT_TRAITS_MEMBER(file_system_files)
IPC_STRUCT_TRAITS_MEMBER(text)
IPC_STRUCT_TRAITS_MEMBER(html)
IPC_STRUCT_TRAITS_MEMBER(html_base_url)
@@ -33,7 +36,10 @@ IPC_STRUCT_TRAITS_BEGIN(content::DropData)
IPC_STRUCT_TRAITS_MEMBER(custom_data)
IPC_STRUCT_TRAITS_END()
-IPC_ENUM_TRAITS(ui::DragDropTypes::DragEventSource)
+IPC_STRUCT_TRAITS_BEGIN(content::DropData::FileSystemFileInfo)
+ IPC_STRUCT_TRAITS_MEMBER(url)
+ IPC_STRUCT_TRAITS_MEMBER(size)
+IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(content::DragEventSourceInfo)
IPC_STRUCT_TRAITS_MEMBER(event_location)