#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_MEMBER(path)
IPC_STRUCT_TRAITS_MEMBER(custom_data)
IPC_STRUCT_TRAITS_END()
-IPC_ENUM_TRAITS(ui::DragDropTypes::DragEventSource)
-
IPC_STRUCT_TRAITS_BEGIN(content::DragEventSourceInfo)
IPC_STRUCT_TRAITS_MEMBER(event_location)
IPC_STRUCT_TRAITS_MEMBER(event_source)