Index: content/common/drag_traits.h |
diff --git a/content/common/drag_traits.h b/content/common/drag_traits.h |
index 0f22b5aef133009b4d614e61802b2cc1fe44d7a1..afb39c88b900a7fd2b88c57000a7f2181c4023b7 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) |
@@ -22,6 +24,7 @@ IPC_STRUCT_TRAITS_END() |
IPC_STRUCT_TRAITS_BEGIN(content::DropData) |
IPC_STRUCT_TRAITS_MEMBER(key_modifiers) |
+ IPC_STRUCT_TRAITS_MEMBER(has_url) |
IPC_STRUCT_TRAITS_MEMBER(url) |
IPC_STRUCT_TRAITS_MEMBER(url_title) |
IPC_STRUCT_TRAITS_MEMBER(download_metadata) |
@@ -42,6 +45,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) |