Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Issue 288423002: WebView: speed up user gesture notification for GestureTap (Closed)

Created:
6 years, 7 months ago by vabr (Chromium)
Modified:
6 years, 7 months ago
Reviewers:
tkent
CC:
blink-reviews
Visibility:
Public.

Description

WebView: 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M Source/web/WebViewImpl.cpp View 1 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
vabr (Chromium)
Hello Kent, You helped me improve my recent code for password value unblocking in https://codereview.chromium.org/235983016/, ...
6 years, 7 months ago (2014-05-16 19:22:07 UTC) #1
tkent
lgtm
6 years, 7 months ago (2014-05-18 23:32:32 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/288423002/1
6 years, 7 months ago (2014-05-18 23:32:54 UTC) #3
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-19 05:33:31 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-19 05:42:16 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/8106)
6 years, 7 months ago (2014-05-19 05:42:16 UTC) #6
vabr (Chromium)
Thank you, Kent. Following the broken tests, I had to fix a NULL dereference and ...
6 years, 7 months ago (2014-05-19 15:18:52 UTC) #7
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 7 months ago (2014-05-20 01:39:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/288423002/20001
6 years, 7 months ago (2014-05-20 01:39:32 UTC) #9
commit-bot: I haz the power
Change committed as 174337
6 years, 7 months ago (2014-05-20 01:56:14 UTC) #10
vabr (Chromium)
6 years, 7 months ago (2014-05-20 12:02:15 UTC) #11
Message was sent while issue was closed.
Thanks!

For the record, the test for this fix is in
https://codereview.chromium.org/297693002/.

Powered by Google App Engine
This is Rietveld 408576698