diff options
-rw-r--r-- | ash/drag_drop/drag_drop_controller.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ash/drag_drop/drag_drop_controller.cc b/ash/drag_drop/drag_drop_controller.cc index 42a58ab..7bc9025 100644 --- a/ash/drag_drop/drag_drop_controller.cc +++ b/ash/drag_drop/drag_drop_controller.cc @@ -150,6 +150,10 @@ void DragDropController::Drop(aura::Window* target, void DragDropController::DragCancel() { RootWindow::GetInstance()->SetCursor(aura::kCursorPointer); + aura::client::DragDropDelegate* delegate = NULL; + if ((delegate = aura::client::GetDragDropDelegate(dragged_window_))) { + delegate->OnDragExited(); + } Cleanup(); drag_operation_ = 0; StartCanceledAnimation(); |