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

Issue 2698673006: Add User Actions and adding more details to UMA metrics for overscroll navigation (Closed)

Created:
3 years, 10 months ago by mfomitchev
Modified:
3 years, 9 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, jam, jbauman+watch_chromium.org, kalyank, nona+watch_chromium.org, piman+watch_chromium.org, shuchen+watch_chromium.org, James Su, yusukes+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add User Actions and adding more details to UMA metrics for overscroll navigation One of the goals is to get more detailed information on gesture navigation usage. Another is to run a Finch experiment comparing the current gesture navigation UI agains the new MD gesture navigation UI implemented in https://codereview.chromium.org/2656463002/ UMA changes: instead of simply logging navigation direction, we now also log the source (touch screen vs. trackpad) for each interaction. User Actions: four new actions added: - Overscroll_Navigated.Back - Overscroll_Navigated.Forward - Overscroll_Cancelled.Back - Overscroll_Cancelled.Forward BUG=668296 Review-Url: https://codereview.chromium.org/2698673006 Cr-Commit-Position: refs/heads/master@{#454342} Committed: https://chromium.googlesource.com/chromium/src/+/09f0d64a9f882c2957469e72a05d7ad85bc35eff

Patch Set 1 #

Total comments: 17

Patch Set 2 : Rebase #

Patch Set 3 : Addressing feedback #

Total comments: 1

Patch Set 4 : Addressing a nit #

Total comments: 3

Patch Set 5 : Adding back histograms which were deprecated as of Chrome 44. #

Total comments: 2

Patch Set 6 : Adding DCHECK #

Patch Set 7 : Trailing period #

Unified diffs Side-by-side diffs Delta from patch set Stats (+380 lines, -68 lines) Patch
M content/browser/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/overscroll_controller.h View 1 2 2 chunks +12 lines, -3 lines 0 comments Download
M content/browser/renderer_host/overscroll_controller.cc View 1 2 3 4 5 6 7 chunks +17 lines, -10 lines 0 comments Download
M content/browser/renderer_host/overscroll_controller_delegate.h View 1 chunk +5 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/web_contents/aura/gesture_nav_simple.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/web_contents/aura/gesture_nav_simple.cc View 1 2 3 2 chunks +8 lines, -2 lines 0 comments Download
M content/browser/web_contents/aura/overscroll_navigation_overlay.h View 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/web_contents/aura/overscroll_navigation_overlay.cc View 1 2 6 chunks +43 lines, -8 lines 0 comments Download
M content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc View 1 2 12 chunks +126 lines, -17 lines 0 comments Download
M content/browser/web_contents/aura/overscroll_window_animation.h View 1 2 2 chunks +13 lines, -1 line 0 comments Download
M content/browser/web_contents/aura/overscroll_window_animation.cc View 1 2 2 chunks +7 lines, -1 line 0 comments Download
M content/browser/web_contents/aura/overscroll_window_animation_unittest.cc View 1 2 6 chunks +20 lines, -6 lines 0 comments Download
M content/browser/web_contents/aura/overscroll_window_delegate.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/web_contents/aura/overscroll_window_delegate.cc View 1 2 4 chunks +10 lines, -7 lines 0 comments Download
M content/browser/web_contents/aura/overscroll_window_delegate_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
A content/browser/web_contents/aura/uma_navigation_type.h View 1 chunk +18 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 1 chunk +4 lines, -3 lines 0 comments Download
M tools/metrics/actions/actions.xml View 1 1 chunk +34 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 7 chunks +49 lines, -1 line 0 comments Download

Messages

Total messages: 48 (27 generated)
mfomitchev
Mohsen, can you PTAL?
3 years, 10 months ago (2017-02-17 16:00:29 UTC) #6
mohsen
https://codereview.chromium.org/2698673006/diff/1/content/browser/renderer_host/overscroll_controller.cc File content/browser/renderer_host/overscroll_controller.cc (right): https://codereview.chromium.org/2698673006/diff/1/content/browser/renderer_host/overscroll_controller.cc#newcode371 content/browser/renderer_host/overscroll_controller.cc:371: if (overscroll_mode_ == OVERSCROLL_NONE) nit: Curly braces for multi-line ...
3 years, 10 months ago (2017-02-21 20:47:58 UTC) #7
mfomitchev
https://codereview.chromium.org/2698673006/diff/1/content/browser/renderer_host/overscroll_controller.cc File content/browser/renderer_host/overscroll_controller.cc (right): https://codereview.chromium.org/2698673006/diff/1/content/browser/renderer_host/overscroll_controller.cc#newcode371 content/browser/renderer_host/overscroll_controller.cc:371: if (overscroll_mode_ == OVERSCROLL_NONE) On 2017/02/21 20:47:58, mohsen wrote: ...
3 years, 10 months ago (2017-02-23 02:59:43 UTC) #9
mohsen
Thanks. LGTM https://codereview.chromium.org/2698673006/diff/1/content/browser/renderer_host/overscroll_controller.cc File content/browser/renderer_host/overscroll_controller.cc (right): https://codereview.chromium.org/2698673006/diff/1/content/browser/renderer_host/overscroll_controller.cc#newcode373 content/browser/renderer_host/overscroll_controller.cc:373: new_mode, is_touchpad ? OVERSCROLL_TOUCHPAD : OVERSCROLL_TOUCHSCREEN); On ...
3 years, 9 months ago (2017-02-23 19:19:10 UTC) #14
mfomitchev
asvitkine@chromium.org: Please review changes in tools/metrics sadrul@chromium.org: Please review changes in content/browser
3 years, 9 months ago (2017-02-24 22:43:36 UTC) #16
mfomitchev
-asvitkine since he has marked himself slow to review +holte for changes in tools/metrics
3 years, 9 months ago (2017-02-24 22:45:03 UTC) #18
Steven Holte
https://codereview.chromium.org/2698673006/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/2698673006/diff/80001/tools/metrics/histograms/histograms.xml#oldcode43409 tools/metrics/histograms/histograms.xml:43409: -<histogram name="Overscroll.Navigated" enum="OverscrollMode"> Don't delete the old histograms.
3 years, 9 months ago (2017-02-25 01:33:27 UTC) #24
mfomitchev
https://codereview.chromium.org/2698673006/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/2698673006/diff/80001/tools/metrics/histograms/histograms.xml#oldcode43409 tools/metrics/histograms/histograms.xml:43409: -<histogram name="Overscroll.Navigated" enum="OverscrollMode"> On 2017/02/25 01:33:27, Steven Holte wrote: ...
3 years, 9 months ago (2017-02-25 03:40:12 UTC) #25
Steven Holte
https://codereview.chromium.org/2698673006/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/2698673006/diff/80001/tools/metrics/histograms/histograms.xml#oldcode43409 tools/metrics/histograms/histograms.xml:43409: -<histogram name="Overscroll.Navigated" enum="OverscrollMode"> On 2017/02/25 03:40:11, mfomitchev wrote: > ...
3 years, 9 months ago (2017-02-27 20:19:18 UTC) #26
mfomitchev
On 2017/02/27 20:19:18, Steven Holte wrote: > https://codereview.chromium.org/2698673006/diff/80001/tools/metrics/histograms/histograms.xml > File tools/metrics/histograms/histograms.xml (left): > > https://codereview.chromium.org/2698673006/diff/80001/tools/metrics/histograms/histograms.xml#oldcode43409 ...
3 years, 9 months ago (2017-02-27 20:28:57 UTC) #27
Steven Holte
thanks, lgtm
3 years, 9 months ago (2017-02-27 23:21:21 UTC) #28
sadrul
lgtm https://codereview.chromium.org/2698673006/diff/100001/content/browser/renderer_host/overscroll_controller.cc File content/browser/renderer_host/overscroll_controller.cc (right): https://codereview.chromium.org/2698673006/diff/100001/content/browser/renderer_host/overscroll_controller.cc#newcode419 content/browser/renderer_host/overscroll_controller.cc:419: if (overscroll_mode_ == mode) Can this DCHECK that ...
3 years, 9 months ago (2017-03-01 21:18:35 UTC) #29
mfomitchev
https://codereview.chromium.org/2698673006/diff/100001/content/browser/renderer_host/overscroll_controller.cc File content/browser/renderer_host/overscroll_controller.cc (right): https://codereview.chromium.org/2698673006/diff/100001/content/browser/renderer_host/overscroll_controller.cc#newcode419 content/browser/renderer_host/overscroll_controller.cc:419: if (overscroll_mode_ == mode) On 2017/03/01 21:18:35, sadrul wrote: ...
3 years, 9 months ago (2017-03-01 23:45:28 UTC) #30
mfomitchev
+creis@ for content/browser/BUILD.gn
3 years, 9 months ago (2017-03-01 23:46:39 UTC) #31
mfomitchev
+creis@ for content/browser/BUILD.gn
3 years, 9 months ago (2017-03-01 23:47:14 UTC) #33
mfomitchev
-creis as he has marked himself slow +dgozman@ for content/browser/BUILD.gn
3 years, 9 months ago (2017-03-01 23:50:44 UTC) #37
dgozman
content/browser/BUILD.gn lgtm
3 years, 9 months ago (2017-03-02 00:01:46 UTC) #38
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/2698673006/140001
3 years, 9 months ago (2017-03-02 03:35:59 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/242645)
3 years, 9 months ago (2017-03-02 07:27:11 UTC) #43
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/2698673006/140001
3 years, 9 months ago (2017-03-02 18:52:33 UTC) #45
commit-bot: I haz the power
3 years, 9 months ago (2017-03-02 19:40:51 UTC) #48
Message was sent while issue was closed.
Committed patchset #7 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/09f0d64a9f882c2957469e72a05d...

Powered by Google App Engine
This is Rietveld 408576698