DescriptionRemove EventHandler::m_didStartDrag.
EventHandler maintains a ton of state, and making sure everything is in
sync gets rather complicated. m_didStartDrag was only used as by gesture
code, to detect if it should fall back to default handling.
This patch changes handleDrag()'s CheckDragHysteresis parameter to
DragIniator, which more accurately reflects how it's used. The updated
parameter is also used to determine when default handling is needed,
eliminating the need for the m_didStartDrag bool. Yay!
BUG=none
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185337
Patch Set 1 #
Messages
Total messages: 10 (4 generated)
|