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

Issue 2160353002: Added UseCounters for touchstart, mousedown, pointerdown invocation (Closed)

Created:
4 years, 5 months ago by mustaq
Modified:
4 years, 5 months ago
CC:
chromium-reviews, blink-reviews, 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

Added UseCounters for touchstart, mousedown, pointerdown invocation Also added a PointerEventDispatch counter specific to pointerdowns, so be able to guess the # of JS-fired events (the difference between PointerEventDispatchPointerDown & PointerDownFired). BUG= TBR=isherman@chromium.org Committed: https://crrev.com/1f97115c84c175bb4e72d4c4eea6e277b8242b03 Cr-Commit-Position: refs/heads/master@{#406487}

Patch Set 1 #

Patch Set 2 : Added a link to refactor bug. #

Total comments: 2

Patch Set 3 : Fixed static_cast. #

Total comments: 2

Patch Set 4 : Added PointerEventDispatchPointerDown. #

Patch Set 5 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -0 lines) Patch
M third_party/WebKit/Source/core/events/EventTarget.cpp View 1 2 3 4 3 chunks +15 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.cpp View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (11 generated)
mustaq
ptal
4 years, 5 months ago (2016-07-19 19:35:13 UTC) #2
dtapuska
https://codereview.chromium.org/2160353002/diff/20001/third_party/WebKit/Source/core/events/EventTarget.cpp File third_party/WebKit/Source/core/events/EventTarget.cpp (right): https://codereview.chromium.org/2160353002/diff/20001/third_party/WebKit/Source/core/events/EventTarget.cpp#newcode571 third_party/WebKit/Source/core/events/EventTarget.cpp:571: if (static_cast<PointerEvent*>(event)->pointerType() == "touch") This cast is unsafe. With ...
4 years, 5 months ago (2016-07-19 19:43:56 UTC) #3
mustaq
ptal https://codereview.chromium.org/2160353002/diff/20001/third_party/WebKit/Source/core/events/EventTarget.cpp File third_party/WebKit/Source/core/events/EventTarget.cpp (right): https://codereview.chromium.org/2160353002/diff/20001/third_party/WebKit/Source/core/events/EventTarget.cpp#newcode571 third_party/WebKit/Source/core/events/EventTarget.cpp:571: if (static_cast<PointerEvent*>(event)->pointerType() == "touch") On 2016/07/19 19:43:56, dtapuska ...
4 years, 5 months ago (2016-07-19 19:59:07 UTC) #4
dtapuska
https://codereview.chromium.org/2160353002/diff/40001/third_party/WebKit/Source/core/events/EventTarget.cpp File third_party/WebKit/Source/core/events/EventTarget.cpp (right): https://codereview.chromium.org/2160353002/diff/40001/third_party/WebKit/Source/core/events/EventTarget.cpp#newcode571 third_party/WebKit/Source/core/events/EventTarget.cpp:571: if (toPointerEvent(event)->pointerType() == "touch") That is now just going ...
4 years, 5 months ago (2016-07-19 20:01:54 UTC) #5
mustaq
ptal, added PointerEventDispatchPointerDown. https://codereview.chromium.org/2160353002/diff/40001/third_party/WebKit/Source/core/events/EventTarget.cpp File third_party/WebKit/Source/core/events/EventTarget.cpp (right): https://codereview.chromium.org/2160353002/diff/40001/third_party/WebKit/Source/core/events/EventTarget.cpp#newcode571 third_party/WebKit/Source/core/events/EventTarget.cpp:571: if (toPointerEvent(event)->pointerType() == "touch") On 2016/07/19 ...
4 years, 5 months ago (2016-07-19 20:36:08 UTC) #6
dtapuska
On 2016/07/19 20:36:08, mustaq wrote: > ptal, added PointerEventDispatchPointerDown. > > https://codereview.chromium.org/2160353002/diff/40001/third_party/WebKit/Source/core/events/EventTarget.cpp > File third_party/WebKit/Source/core/events/EventTarget.cpp ...
4 years, 5 months ago (2016-07-19 20:45:18 UTC) #8
mustaq
bokan@chromium.org: Please review changes in Source/core isherman@chromium.org: Please review changes in metric/histograms
4 years, 5 months ago (2016-07-19 20:49:56 UTC) #10
bokan
Source/core lgtm
4 years, 5 months ago (2016-07-19 21:14:20 UTC) #12
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/2160353002/80001
4 years, 5 months ago (2016-07-19 21:27:30 UTC) #16
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/258652)
4 years, 5 months ago (2016-07-20 00:52:55 UTC) #18
Ilya Sherman
histograms.xml lgtm
4 years, 5 months ago (2016-07-20 01:42:32 UTC) #19
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/2160353002/80001
4 years, 5 months ago (2016-07-20 02:33:28 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-20 04:31:17 UTC) #23
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 04:33:04 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/1f97115c84c175bb4e72d4c4eea6e277b8242b03
Cr-Commit-Position: refs/heads/master@{#406487}

Powered by Google App Engine
This is Rietveld 408576698