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

Issue 320303002: Added UMA stats to overview mode (Closed)

Created:
6 years, 6 months ago by Nina
Modified:
6 years, 6 months ago
CC:
chromium-reviews, sadrul, tdanderson+overview_chromium.org, jar+watch_chromium.org, asvitkine+watch_chromium.org, kalyank, ben+ash_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Added UMA stats to overview mode This patch: * Brought back WindowSelector.CycleTime histogram with different name (WindowCycleController.CycleTime). * Renamed WindowSelector.Selection to WindowCycleController.Cycle and fixed that it counted incorrectly overview mode selections. * Fixed a bug in which the number of items in overview mode were not counted correctly. * Added stats for: ** Number of closed items. ** Number of times the enter key is used to select a window. ** Number of arrow key presses per session. ** Ratio between arrow key presses and number of items. BUG=364590 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276710

Patch Set 1 #

Total comments: 18

Patch Set 2 : Fixed Terry's nits #

Total comments: 8

Patch Set 3 : Fixed Rob's comments. #

Total comments: 2

Patch Set 4 : Added DCHECK #

Total comments: 6

Patch Set 5 : Fixed Ilya's comments. #

Total comments: 2

Patch Set 6 : Fixed last nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -33 lines) Patch
M ash/metrics/user_metrics_recorder.h View 1 chunk +7 lines, -6 lines 0 comments Download
M ash/metrics/user_metrics_recorder.cc View 2 chunks +7 lines, -3 lines 0 comments Download
M ash/wm/overview/window_selector.h View 1 2 2 chunks +11 lines, -3 lines 0 comments Download
M ash/wm/overview/window_selector.cc View 1 2 3 5 chunks +28 lines, -7 lines 0 comments Download
M ash/wm/overview/window_selector_controller.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M ash/wm/window_cycle_controller.h View 2 chunks +3 lines, -0 lines 0 comments Download
M ash/wm/window_cycle_controller.cc View 3 chunks +5 lines, -0 lines 0 comments Download
M tools/metrics/actions/actions.xml View 1 2 3 4 5 2 chunks +23 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 4 chunks +46 lines, -10 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Nina
Hi Terry, can you please give this patch a first look? Thanks!
6 years, 6 months ago (2014-06-09 15:55:24 UTC) #1
tdanderson
Some nits below, otherwise LGTM. Send to Rob when ready. https://codereview.chromium.org/320303002/diff/1/ash/wm/overview/window_grid.cc File ash/wm/overview/window_grid.cc (right): https://codereview.chromium.org/320303002/diff/1/ash/wm/overview/window_grid.cc#newcode311 ...
6 years, 6 months ago (2014-06-09 17:50:46 UTC) #2
Nina
Terry, I got your comments either fixed or answered. Rob, can you give the patch ...
6 years, 6 months ago (2014-06-09 18:12:51 UTC) #3
flackr
Are you forgetting to upload a patchset 2?
6 years, 6 months ago (2014-06-09 21:23:30 UTC) #4
Nina
Yes I was. Please have a look now.
6 years, 6 months ago (2014-06-09 22:11:07 UTC) #5
flackr
https://codereview.chromium.org/320303002/diff/20001/ash/wm/overview/window_selector.cc File ash/wm/overview/window_selector.cc (right): https://codereview.chromium.org/320303002/diff/20001/ash/wm/overview/window_selector.cc#newcode177 ash/wm/overview/window_selector.cc:177: num_closed_items_); This metric seems like it is the same ...
6 years, 6 months ago (2014-06-10 15:39:42 UTC) #6
Nina
Thanks for the comments, got them covered. Please have another look. https://codereview.chromium.org/320303002/diff/20001/ash/wm/overview/window_selector.cc File ash/wm/overview/window_selector.cc (right): ...
6 years, 6 months ago (2014-06-10 16:10:14 UTC) #7
flackr
lgtm with nit. https://codereview.chromium.org/320303002/diff/40001/ash/wm/overview/window_selector.cc File ash/wm/overview/window_selector.cc (right): https://codereview.chromium.org/320303002/diff/40001/ash/wm/overview/window_selector.cc#newcode180 ash/wm/overview/window_selector.cc:180: UMA_HISTOGRAM_COUNTS_100("Ash.WindowSelector.OverviewClosedItems", nit: DCHECK(num_items_ > remaining_items) before ...
6 years, 6 months ago (2014-06-10 17:08:06 UTC) #8
Nina
Sky, please review ash/metrics/user_metrics_recorder.(h|cc) Ilya, please review tools/metrics/* Thanks! https://codereview.chromium.org/320303002/diff/40001/ash/wm/overview/window_selector.cc File ash/wm/overview/window_selector.cc (right): https://codereview.chromium.org/320303002/diff/40001/ash/wm/overview/window_selector.cc#newcode180 ash/wm/overview/window_selector.cc:180: ...
6 years, 6 months ago (2014-06-10 18:38:23 UTC) #9
sky
LGTM
6 years, 6 months ago (2014-06-10 19:32:08 UTC) #10
Ilya Sherman
https://codereview.chromium.org/320303002/diff/60001/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (left): https://codereview.chromium.org/320303002/diff/60001/tools/metrics/actions/actions.xml#oldcode10991 tools/metrics/actions/actions.xml:10991: </action> Please mark the action as obsolete rather than ...
6 years, 6 months ago (2014-06-10 23:45:13 UTC) #11
Nina
Ilya, please review this patch again. Cheers! https://codereview.chromium.org/320303002/diff/60001/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (left): https://codereview.chromium.org/320303002/diff/60001/tools/metrics/actions/actions.xml#oldcode10991 tools/metrics/actions/actions.xml:10991: </action> On ...
6 years, 6 months ago (2014-06-11 14:07:00 UTC) #12
Ilya Sherman
LGTM % nits. Thanks. https://codereview.chromium.org/320303002/diff/80001/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/320303002/diff/80001/tools/metrics/actions/actions.xml#newcode11010 tools/metrics/actions/actions.xml:11010: overview mode. nit: Please include ...
6 years, 6 months ago (2014-06-11 17:27:48 UTC) #13
tdanderson
The CQ bit was checked by tdanderson@chromium.org
6 years, 6 months ago (2014-06-11 23:36:13 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nsatragno@chromium.org/320303002/100001
6 years, 6 months ago (2014-06-11 23:37:11 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_dbg_simulator on tryserver.chromium ...
6 years, 6 months ago (2014-06-12 00:59:46 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-12 01:05:42 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/160500) ios_rel_device_ninja on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device_ninja/builds/22000)
6 years, 6 months ago (2014-06-12 01:05:44 UTC) #18
tdanderson
The CQ bit was checked by tdanderson@chromium.org
6 years, 6 months ago (2014-06-12 13:36:29 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nsatragno@chromium.org/320303002/100001
6 years, 6 months ago (2014-06-12 13:38:49 UTC) #20
commit-bot: I haz the power
6 years, 6 months ago (2014-06-12 16:45:15 UTC) #21
Message was sent while issue was closed.
Change committed as 276710

Powered by Google App Engine
This is Rietveld 408576698