Determine the source of a drag and drop for the bookmark manager
commit979034577b30629702cac5fcd659407f18fb40ef
authortdanderson@chromium.org <tdanderson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 7 Feb 2014 23:38:00 +0000 (7 23:38 +0000)
committertdanderson@chromium.org <tdanderson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 7 Feb 2014 23:38:00 +0000 (7 23:38 +0000)
tree5239811888a6dc557c76f79130debe359b5d42b1
parentc832f7a44bbea6510573a67f7b9c271194e10d19
Determine the source of a drag and drop for the bookmark manager

Determine whether or not a drag and drop session was started with
touch or mouse and pass this information through to the
DragDropController. Passing the correct source (namely
touch) to the DDC prevents the unresponsiveness described
in issue 316105.

BUG=316105
TEST=See bug

Review URL: https://codereview.chromium.org/153603003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249852 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc
chrome/browser/resources/bookmark_manager/js/dnd.js
chrome/browser/ui/bookmarks/bookmark_drag_drop.h
chrome/browser/ui/cocoa/bookmarks/bookmark_drag_drop_cocoa.mm
chrome/browser/ui/gtk/bookmarks/bookmark_drag_drop_gtk.cc
chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc
chrome/common/extensions/api/bookmark_manager_private.json