Chromium Code Reviews
DescriptionDelegate dragend to the correct frame's EventHandler.
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/32e50971f32bcd21be8540758efe9aac0ffafcd9
Cr-Commit-Position: refs/heads/master@{#429669}
Patch Set 1 : Tentative fix. #Patch Set 2 : Remove a hopefully redundant hit test. #Patch Set 3 : Make tests pass again. #
Total comments: 1
Patch Set 4 : Applied dcheng's advice. #
Messages
Total messages: 35 (25 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||