diff options
author | varunjain@chromium.org <varunjain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-05 09:43:16 +0000 |
---|---|---|
committer | varunjain@chromium.org <varunjain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-05 09:43:16 +0000 |
commit | 7b73bbc974ff74e28aecdad6cbf10b43d99a29e3 (patch) | |
tree | e144e1a6dc7326656ea2bdc88108e3e5263aec5d /ash | |
parent | baa0e34f39f96dd52ff7421c3d4058a663f14d38 (diff) | |
download | chromium_src-7b73bbc974ff74e28aecdad6cbf10b43d99a29e3.zip chromium_src-7b73bbc974ff74e28aecdad6cbf10b43d99a29e3.tar.gz chromium_src-7b73bbc974ff74e28aecdad6cbf10b43d99a29e3.tar.bz2 |
Aura: Adds custom cursors for drag and drop.
BUG=121135
TEST=none
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=135378
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=135426
Review URL: http://codereview.chromium.org/10316019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135533 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash')
-rw-r--r-- | ash/drag_drop/drag_drop_controller.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/drag_drop/drag_drop_controller.cc b/ash/drag_drop/drag_drop_controller.cc index 8bc0b67..7a76eca 100644 --- a/ash/drag_drop/drag_drop_controller.cc +++ b/ash/drag_drop/drag_drop_controller.cc @@ -114,7 +114,7 @@ void DragDropController::DragUpdate(aura::Window* target, drag_operation_); int op = delegate->OnDragUpdated(e); gfx::NativeCursor cursor = (op == ui::DragDropTypes::DRAG_NONE)? - ui::kCursorMove : ui::kCursorHand; + ui::kCursorNoDrop : ui::kCursorCopy; Shell::GetRootWindow()->SetCursor(cursor); } } |