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

Issue 2631113003: Add metric to know how user use scrollbar (Closed)

Created:
3 years, 11 months ago by chaopeng
Modified:
3 years, 11 months ago
CC:
asvitkine+watch_chromium.org, blink-reviews, chromium-reviews, kinuko+watch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add metric to know how user use scrollbar This patch is adding metric to know how user use scrollbar separately for scrollbar button, clicking on the track, or dragging the thumb in different scrollbar. BUG=675593 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2631113003 Cr-Commit-Position: refs/heads/master@{#444550} Committed: https://chromium.googlesource.com/chromium/src/+/f7734aba4cc737cdb271dd31867baad2efb83fbb

Patch Set 1 #

Total comments: 4

Patch Set 2 : bokan comments addressed #

Total comments: 1

Patch Set 3 : move to framehost #

Patch Set 4 : move to UseCounter #

Total comments: 1

Patch Set 5 : move to PaintInvalidationCapableScrollableArea #

Patch Set 6 : add null checker #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -0 lines) Patch
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintInvalidationCapableScrollableArea.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintInvalidationCapableScrollableArea.cpp View 1 2 3 4 2 chunks +35 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollableArea.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/Scrollbar.cpp View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 46 (27 generated)
chaopeng
3 years, 11 months ago (2017-01-16 19:56:46 UTC) #3
bokan
https://codereview.chromium.org/2631113003/diff/1/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp File third_party/WebKit/Source/platform/scroll/Scrollbar.cpp (right): https://codereview.chromium.org/2631113003/diff/1/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp#newcode322 third_party/WebKit/Source/platform/scroll/Scrollbar.cpp:322: ScrollbarPressedPart scrollbarPressedPart = IgnorePart; Put all of this into ...
3 years, 11 months ago (2017-01-16 21:25:33 UTC) #4
chaopeng
Updated, PTAL. Thank you.
3 years, 11 months ago (2017-01-16 22:14:24 UTC) #6
bokan
https://codereview.chromium.org/2631113003/diff/40001/third_party/WebKit/Source/core/frame/FrameView.h File third_party/WebKit/Source/core/frame/FrameView.h (right): https://codereview.chromium.org/2631113003/diff/40001/third_party/WebKit/Source/core/frame/FrameView.h#newcode1109 third_party/WebKit/Source/core/frame/FrameView.h:1109: std::bitset<ScrollbarUseUMAMax> m_sentScrollbarUseUMA; A page will have multiple FrameViews. Put ...
3 years, 11 months ago (2017-01-17 17:04:05 UTC) #7
chaopeng
PTAL. Thank you.
3 years, 11 months ago (2017-01-17 18:13:48 UTC) #8
bokan
Actually, sorry to make you redo work but I think this'll be more straight forward ...
3 years, 11 months ago (2017-01-17 18:49:01 UTC) #9
chaopeng
PTAL Thank you
3 years, 11 months ago (2017-01-17 20:27:53 UTC) #10
bokan
https://codereview.chromium.org/2631113003/diff/80001/third_party/WebKit/Source/platform/Widget.h File third_party/WebKit/Source/platform/Widget.h (right): https://codereview.chromium.org/2631113003/diff/80001/third_party/WebKit/Source/platform/Widget.h#newcode130 third_party/WebKit/Source/platform/Widget.h:130: virtual void sendScrollbarUseUMA(ScrollbarPart, ScrollbarOrientation) {} Rather than going through ...
3 years, 11 months ago (2017-01-17 21:24:01 UTC) #11
chaopeng
Moved the logic to PaintInvalidationCapableScrollableArea. PTAL. Thank you.
3 years, 11 months ago (2017-01-18 00:45:00 UTC) #13
bokan
lgtm, thanks.
3 years, 11 months ago (2017-01-18 12:46:17 UTC) #22
chaopeng
jbroman@chromium.org: Please review changes. Thank you.
3 years, 11 months ago (2017-01-18 15:30:22 UTC) #24
bokan
You also need someone for histograms.xml. +holte@ for that
3 years, 11 months ago (2017-01-18 15:34:29 UTC) #29
jbroman
lgtm
3 years, 11 months ago (2017-01-18 15:40:14 UTC) #31
Steven Holte
histograms lgtm
3 years, 11 months ago (2017-01-18 19:27:28 UTC) #33
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/2631113003/120001
3 years, 11 months ago (2017-01-18 19:30:52 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/344453)
3 years, 11 months ago (2017-01-18 19:38:35 UTC) #37
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/2631113003/120001
3 years, 11 months ago (2017-01-18 21:56:48 UTC) #39
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/2631113003/140001
3 years, 11 months ago (2017-01-18 22:09:10 UTC) #43
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 23:53:38 UTC) #46
Message was sent while issue was closed.
Committed patchset #7 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/f7734aba4cc737cdb271dd31867b...

Powered by Google App Engine
This is Rietveld 408576698