Chromium Code Reviews
DescriptionDelegate dragend to the correct frame's EventHandler.
This is a re-land of https://crrev.com/32e50971f32bcd21be8540758efe9aac0ffafcd9
whose description is below.
Currently, most drag-and-drop events are correctly delegated to the
EventHandler of the frame that contains the events' target elements, in
EventHandler::updateDragAndDrop. However,
EventHandler::dragSourceEndedAt does not implement this delegation. The
issue is visible to the Web in a subtle way -- the frame of the
EventHandler is used to populate the DragEvent's view, which is used to
compute the clientX and clientY attributes, which are user-visible.
This CL implements the delegation used by
MouseEventManager::dispatchDragSrcEvent, into
MouseEventManager::dispatchDragSrcEvent.
BUG=618770
Committed: https://crrev.com/fb74d203dc9797b1e12592cac7c86f1d2b923eab
Cr-Commit-Position: refs/heads/master@{#430432}
Patch Set 1 : https://codereview.chromium.org/2469863003 #Patch Set 2 : The LSAN-reported leak was actually a failure to reset the drag state in MouseEventHandler. #
Total comments: 8
Patch Set 3 : Addressed some of the feedback. #Messages
Total messages: 23 (12 generated)
|