Index: ash/drag_drop/drag_drop_controller.cc |
diff --git a/ash/drag_drop/drag_drop_controller.cc b/ash/drag_drop/drag_drop_controller.cc |
index 1bff88aea564133dad3ef09aafd4bb643b8b4f37..46d1a5529e7a4f6d4bed982d1b896d28364b2b5a 100644 |
--- a/ash/drag_drop/drag_drop_controller.cc |
+++ b/ash/drag_drop/drag_drop_controller.cc |
@@ -104,6 +104,7 @@ void DragDropController::DragUpdate(aura::Window* target, |
event.location(), |
event.root_location(), |
drag_operation_); |
+ e.set_flags(event.flags()); |
delegate->OnDragEntered(e); |
} |
} else { |
@@ -112,6 +113,7 @@ void DragDropController::DragUpdate(aura::Window* target, |
event.location(), |
event.root_location(), |
drag_operation_); |
+ e.set_flags(event.flags()); |
int op = delegate->OnDragUpdated(e); |
gfx::NativeCursor cursor = (op == ui::DragDropTypes::DRAG_NONE)? |
ui::kCursorNoDrop : ui::kCursorCopy; |
@@ -141,6 +143,7 @@ void DragDropController::Drop(aura::Window* target, |
if ((delegate = aura::client::GetDragDropDelegate(target))) { |
aura::DropTargetEvent e( |
*drag_data_, event.location(), event.root_location(), drag_operation_); |
+ e.set_flags(event.flags()); |
drag_operation_ = delegate->OnPerformDrop(e); |
if (drag_operation_ == 0) |
StartCanceledAnimation(); |