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

Issue 2287613002: Count Touch events via WebTouchPoint::State values instead. (Closed)

Created:
4 years, 3 months ago by wjmaclean
Modified:
4 years, 3 months ago
Reviewers:
Mark P, tdresser, mpearson
CC:
chromium-reviews, jam, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Count Touch events via WebTouchPoint::State values instead. Don't assume that there is one WebTouchEvent for each ui::ET_TOUCH_PRESSED/RELEASED/CANCELLED event. Instead, check the states of the WebTouchPoints in each WebTouchEvent to determine how many ui-Touch events it represents. A temporary UMA stat is added to allow detection of empty gesture queues. When it drops to zero we'll know the problem has been solved (this will create a lot less noise than DumpWithoutCrashing). https://crbug.com/642008 tracks the removal/disabling of this UMA stat when it's no longer needed. BUG=595422 Committed: https://crrev.com/266191e27be990d0e26b12e0dd43f830ad7d31ad Cr-Commit-Position: refs/heads/master@{#415279}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Address comments, add UMA histogram. #

Total comments: 2

Patch Set 3 : Add DCHECK, bug reference. #

Total comments: 4

Patch Set 4 : Address suggestions. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -9 lines) Patch
M content/browser/renderer_host/render_widget_host_input_event_router.cc View 1 2 3 5 chunks +48 lines, -9 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (19 generated)
wjmaclean
I think this might be a solution to our missing gesture-target bug ... could you ...
4 years, 3 months ago (2016-08-26 20:36:24 UTC) #7
tdresser
https://codereview.chromium.org/2287613002/diff/1/content/browser/renderer_host/render_widget_host_input_event_router.cc File content/browser/renderer_host/render_widget_host_input_event_router.cc (left): https://codereview.chromium.org/2287613002/diff/1/content/browser/renderer_host/render_widget_host_input_event_router.cc#oldcode216 content/browser/renderer_host/render_widget_host_input_event_router.cc:216: return; We could move modifying active_touches_ up, and then ...
4 years, 3 months ago (2016-08-29 14:36:34 UTC) #8
wjmaclean
tdresser@ - I've addressed your comments, please let me know what you think. I've also ...
4 years, 3 months ago (2016-08-29 15:40:58 UTC) #10
tdresser
LGTM with nits. https://codereview.chromium.org/2287613002/diff/1/content/browser/renderer_host/render_widget_host_input_event_router.cc File content/browser/renderer_host/render_widget_host_input_event_router.cc (right): https://codereview.chromium.org/2287613002/diff/1/content/browser/renderer_host/render_widget_host_input_event_router.cc#newcode217 content/browser/renderer_host/render_widget_host_input_event_router.cc:217: return changed_count; On 2016/08/29 15:40:58, wjmaclean ...
4 years, 3 months ago (2016-08-29 15:52:46 UTC) #13
wjmaclean
Done ... bug filed, DCHECK added, and issue description updated.
4 years, 3 months ago (2016-08-29 17:09:30 UTC) #17
Mark P
histograms.xml lgtm baring comments below https://codereview.chromium.org/2287613002/diff/40001/content/browser/renderer_host/render_widget_host_input_event_router.cc File content/browser/renderer_host/render_widget_host_input_event_router.cc (right): https://codereview.chromium.org/2287613002/diff/40001/content/browser/renderer_host/render_widget_host_input_event_router.cc#newcode480 content/browser/renderer_host/render_widget_host_input_event_router.cc:480: // it's puspose, namely ...
4 years, 3 months ago (2016-08-29 19:31:33 UTC) #19
wjmaclean
https://codereview.chromium.org/2287613002/diff/40001/content/browser/renderer_host/render_widget_host_input_event_router.cc File content/browser/renderer_host/render_widget_host_input_event_router.cc (right): https://codereview.chromium.org/2287613002/diff/40001/content/browser/renderer_host/render_widget_host_input_event_router.cc#newcode480 content/browser/renderer_host/render_widget_host_input_event_router.cc:480: // it's puspose, namely telling us when the incidents ...
4 years, 3 months ago (2016-08-29 19:52:38 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2287613002/60001
4 years, 3 months ago (2016-08-29 20:23:27 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/283548)
4 years, 3 months ago (2016-08-30 03:41:32 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2287613002/60001
4 years, 3 months ago (2016-08-30 11:28:11 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-08-30 12:52:19 UTC) #29
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 12:54:17 UTC) #31
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/266191e27be990d0e26b12e0dd43f830ad7d31ad
Cr-Commit-Position: refs/heads/master@{#415279}

Powered by Google App Engine
This is Rietveld 408576698