DescriptionForward mouse down node information to WebWidgetClient
There are some chrome clients, e.g. PageClickTracker, wants
to listen on mouse press and gesture tap event to get the
information of the last clicked node. Currently clients
do an extra call of hit test on the mouse/tap event to get
the click node after the event has been processed in blink.
This is wasteful since the event processing part has already
done the hit test and known the clicked node.
So lets get rid of this extra call of hit testing. At the
end of mouse press/tap event processing, we can pass the
mouse down node information to WebWidgetClient through
onMouseDown(const WebNode&).
BUG=498150
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197400
Patch Set 1 #
Total comments: 11
Patch Set 2 : add ASSERT for event type #
Total comments: 4
Patch Set 3 : call onMouseDown for GestureTap righter after MousePress is dispatched #
Messages
Total messages: 24 (7 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||