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

Issue 1980113002: Add UMA metric for tracking root level listeners for blocking touch. (Closed)

Created:
4 years, 7 months ago by dtapuska
Modified:
4 years, 7 months ago
CC:
chromium-reviews, blink-reviews, dtapuska+blinkwatch_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UMA metric for tracking root level listeners for blocking touch. Adjust histogram to capture on each phase of targeting the event instead of the old histogram which targeted only where the event handler was registered. BUG=604790 Committed: https://crrev.com/05f9fdad56cd5018c8fb31f1866b232d7444f796 Cr-Commit-Position: refs/heads/master@{#394982}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rename variables, don't log on uncancelable and targets that don't have appropriate listeners #

Total comments: 4

Patch Set 3 : Rebase and add comments #

Total comments: 9

Patch Set 4 : Only log on first touch move and start #

Patch Set 5 : Fix braces after git cl format #

Total comments: 4

Patch Set 6 : Update histogram description #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+282 lines, -69 lines) Patch
M third_party/WebKit/Source/core/events/Event.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/EventTarget.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/EventTarget.cpp View 1 2 5 chunks +17 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/events/NodeEventContext.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/events/TouchEvent.h View 1 2 3 4 chunks +7 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/events/TouchEvent.cpp View 1 2 3 4 3 chunks +139 lines, -2 lines 1 comment Download
M third_party/WebKit/Source/core/input/TouchEventManager.cpp View 1 2 3 2 chunks +1 line, -50 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebInputEventConversionTest.cpp View 1 2 3 8 chunks +8 lines, -8 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 3 chunks +101 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (7 generated)
dtapuska
Does this adequately fix the issue with reporting the event target. Note that events that ...
4 years, 7 months ago (2016-05-16 19:17:25 UTC) #3
tdresser
Dave and I just talked over a few changes here: - Only record touch event ...
4 years, 7 months ago (2016-05-17 14:56:54 UTC) #4
dtapuska
PTAL; I think I've addressed the concerns Tim and I talked about this am. https://codereview.chromium.org/1980113002/diff/1/third_party/WebKit/Source/core/events/Event.h ...
4 years, 7 months ago (2016-05-17 20:50:14 UTC) #5
tdresser
LGTM - if it's reasonably straight forward to add a test for this please do, ...
4 years, 7 months ago (2016-05-18 13:23:10 UTC) #6
dtapuska
https://codereview.chromium.org/1980113002/diff/20001/third_party/WebKit/Source/core/events/EventTarget.cpp File third_party/WebKit/Source/core/events/EventTarget.cpp (right): https://codereview.chromium.org/1980113002/diff/20001/third_party/WebKit/Source/core/events/EventTarget.cpp#newcode504 third_party/WebKit/Source/core/events/EventTarget.cpp:504: // metric where it probably shouldn't because it was ...
4 years, 7 months ago (2016-05-18 15:24:05 UTC) #7
Rick Byers
https://codereview.chromium.org/1980113002/diff/40001/third_party/WebKit/Source/core/events/Event.h File third_party/WebKit/Source/core/events/Event.h (right): https://codereview.chromium.org/1980113002/diff/40001/third_party/WebKit/Source/core/events/Event.h#newcode121 third_party/WebKit/Source/core/events/Event.h:121: virtual void doneDispatchingEventAtCurrentTarget(); nit: you could just inline the ...
4 years, 7 months ago (2016-05-18 18:37:19 UTC) #8
tdresser
https://codereview.chromium.org/1980113002/diff/40001/third_party/WebKit/Source/core/events/TouchEvent.cpp File third_party/WebKit/Source/core/events/TouchEvent.cpp (right): https://codereview.chromium.org/1980113002/diff/40001/third_party/WebKit/Source/core/events/TouchEvent.cpp#newcode230 third_party/WebKit/Source/core/events/TouchEvent.cpp:230: if (!cancelable()) On 2016/05/18 18:37:18, Rick Byers wrote: > ...
4 years, 7 months ago (2016-05-18 18:57:13 UTC) #9
dtapuska
PTAL https://codereview.chromium.org/1980113002/diff/40001/third_party/WebKit/Source/core/events/Event.h File third_party/WebKit/Source/core/events/Event.h (right): https://codereview.chromium.org/1980113002/diff/40001/third_party/WebKit/Source/core/events/Event.h#newcode121 third_party/WebKit/Source/core/events/Event.h:121: virtual void doneDispatchingEventAtCurrentTarget(); On 2016/05/18 18:37:18, Rick Byers ...
4 years, 7 months ago (2016-05-19 16:11:21 UTC) #10
Rick Byers
https://codereview.chromium.org/1980113002/diff/80001/third_party/WebKit/Source/core/events/TouchEvent.cpp File third_party/WebKit/Source/core/events/TouchEvent.cpp (right): https://codereview.chromium.org/1980113002/diff/80001/third_party/WebKit/Source/core/events/TouchEvent.cpp#newcode240 third_party/WebKit/Source/core/events/TouchEvent.cpp:240: // scrolling, have more than one touch point or ...
4 years, 7 months ago (2016-05-19 16:30:51 UTC) #11
dtapuska
https://codereview.chromium.org/1980113002/diff/80001/third_party/WebKit/Source/core/events/TouchEvent.cpp File third_party/WebKit/Source/core/events/TouchEvent.cpp (right): https://codereview.chromium.org/1980113002/diff/80001/third_party/WebKit/Source/core/events/TouchEvent.cpp#newcode240 third_party/WebKit/Source/core/events/TouchEvent.cpp:240: // scrolling, have more than one touch point or ...
4 years, 7 months ago (2016-05-19 18:14:23 UTC) #12
Rick Byers
LGTM, thanks!
4 years, 7 months ago (2016-05-19 19:44:45 UTC) #13
dtapuska
On 2016/05/19 19:44:45, Rick Byers wrote: > LGTM, thanks! +isherman for histograms.xml
4 years, 7 months ago (2016-05-19 20:44:13 UTC) #15
Ilya Sherman
histogram lgtm https://codereview.chromium.org/1980113002/diff/100001/third_party/WebKit/Source/core/events/TouchEvent.cpp File third_party/WebKit/Source/core/events/TouchEvent.cpp (right): https://codereview.chromium.org/1980113002/diff/100001/third_party/WebKit/Source/core/events/TouchEvent.cpp#newcode99 third_party/WebKit/Source/core/events/TouchEvent.cpp:99: }; Optional: Rather than defining one long ...
4 years, 7 months ago (2016-05-19 22:23:23 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1980113002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1980113002/100001
4 years, 7 months ago (2016-05-20 00:10:19 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 7 months ago (2016-05-20 03:33:53 UTC) #21
commit-bot: I haz the power
4 years, 7 months ago (2016-05-20 03:36:22 UTC) #23
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/05f9fdad56cd5018c8fb31f1866b232d7444f796
Cr-Commit-Position: refs/heads/master@{#394982}

Powered by Google App Engine
This is Rietveld 408576698