DescriptionWebView: speed up user gesture notification for GestureTap
Currently, when about to return, WebViewImpl::handleInputEvent notifies
Chromium if user gesture has been registered during event processing.
This notification comes too late when the first input event causes
a form submission, as explained in the code comment, and also in
http://crbug.com/372595#c13 .
This CL adds a special case handling for the only event with this problem:
GestureTap, so that this event is reported as a user gesture even before any
event handling takes place. This implements solution 1) from
http://crbug.com/372595#c14 .
BUG=372595
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174337
Patch Set 1 #Patch Set 2 : Check for the presence of the autofill agent + avoid duplicated 1st user gesture reports #Messages
Total messages: 11 (0 generated)
|