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

Issue 2308823002: Add UMA stats for pen palette (Closed)

Created:
4 years, 3 months ago by xiaoyinh(OOO Sep 11-29)
Modified:
4 years, 3 months ago
CC:
chromium-reviews, kalyank, sadrul, asvitkine+watch_chromium.org, oshima+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UMA stats for pen palette This CL adds the following metrics: 1. Usage of each pen palette option 2. Usage of each pen palette option on auto-open 3. Length of time spent in each mode 4. count of Mode cancellation BUG=643798 Committed: https://crrev.com/50a94860a8398abd112028dc645b5d523372f26a Cr-Commit-Position: refs/heads/master@{#418645}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 38

Patch Set 3 : incorporate comments and rebase #

Total comments: 4

Patch Set 4 : nits #

Total comments: 4

Patch Set 5 : nits and rebase #

Patch Set 6 : rebase #

Total comments: 4

Patch Set 7 : incorporate comments and rebase #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -9 lines) Patch
M ash/common/system/chromeos/palette/common_palette_tool.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M ash/common/system/chromeos/palette/common_palette_tool.cc View 1 2 3 4 5 6 5 chunks +23 lines, -2 lines 0 comments Download
M ash/common/system/chromeos/palette/mock_palette_tool_delegate.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ash/common/system/chromeos/palette/palette_ids.h View 1 2 3 4 5 6 1 chunk +32 lines, -0 lines 0 comments Download
M ash/common/system/chromeos/palette/palette_ids.cc View 1 2 3 4 5 6 1 chunk +34 lines, -0 lines 0 comments Download
M ash/common/system/chromeos/palette/palette_tool.h View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M ash/common/system/chromeos/palette/palette_tool_manager.h View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
M ash/common/system/chromeos/palette/palette_tool_manager.cc View 1 2 3 4 5 6 3 chunks +14 lines, -1 line 0 comments Download
M ash/common/system/chromeos/palette/palette_tool_manager_unittest.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ash/common/system/chromeos/palette/palette_tray.h View 1 2 3 4 2 chunks +9 lines, -0 lines 0 comments Download
M ash/common/system/chromeos/palette/palette_tray.cc View 1 2 3 4 5 6 7 chunks +41 lines, -6 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 2 chunks +55 lines, -0 lines 0 comments Download

Messages

Total messages: 43 (28 generated)
xiaoyinh(OOO Sep 11-29)
4 years, 3 months ago (2016-09-02 21:14:30 UTC) #4
Ilya Sherman
https://codereview.chromium.org/2308823002/diff/20001/ash/common/system/chromeos/palette/common_palette_tool.cc File ash/common/system/chromeos/palette/common_palette_tool.cc (right): https://codereview.chromium.org/2308823002/diff/20001/ash/common/system/chromeos/palette/common_palette_tool.cc#newcode67 ash/common/system/chromeos/palette/common_palette_tool.cc:67: UMA_HISTOGRAM_LONG_TIMES_100("Ash.Shelf.Palette.InLaserPointerMode", Hmm, are values under 100 ms at all ...
4 years, 3 months ago (2016-09-02 21:39:31 UTC) #7
jdufault
https://codereview.chromium.org/2308823002/diff/20001/ash/common/system/chromeos/palette/common_palette_tool.cc File ash/common/system/chromeos/palette/common_palette_tool.cc (right): https://codereview.chromium.org/2308823002/diff/20001/ash/common/system/chromeos/palette/common_palette_tool.cc#newcode66 ash/common/system/chromeos/palette/common_palette_tool.cc:66: if (GetToolId() == ash::PaletteToolId::LASER_POINTER) { What about something like ...
4 years, 3 months ago (2016-09-02 21:54:30 UTC) #8
Ilya Sherman
https://codereview.chromium.org/2308823002/diff/20001/ash/common/system/chromeos/palette/common_palette_tool.cc File ash/common/system/chromeos/palette/common_palette_tool.cc (right): https://codereview.chromium.org/2308823002/diff/20001/ash/common/system/chromeos/palette/common_palette_tool.cc#newcode66 ash/common/system/chromeos/palette/common_palette_tool.cc:66: if (GetToolId() == ash::PaletteToolId::LASER_POINTER) { On 2016/09/02 21:54:30, jdufault ...
4 years, 3 months ago (2016-09-02 22:02:49 UTC) #9
xiaoyinh(OOO Sep 11-29)
https://codereview.chromium.org/2308823002/diff/20001/ash/common/system/chromeos/palette/common_palette_tool.cc File ash/common/system/chromeos/palette/common_palette_tool.cc (right): https://codereview.chromium.org/2308823002/diff/20001/ash/common/system/chromeos/palette/common_palette_tool.cc#newcode67 ash/common/system/chromeos/palette/common_palette_tool.cc:67: UMA_HISTOGRAM_LONG_TIMES_100("Ash.Shelf.Palette.InLaserPointerMode", On 2016/09/02 21:39:30, Ilya Sherman wrote: > Hmm, ...
4 years, 3 months ago (2016-09-06 17:40:06 UTC) #10
Ilya Sherman
Thanks! Metrics LGTM % nits: https://codereview.chromium.org/2308823002/diff/40001/ash/common/system/chromeos/palette/common_palette_tool.cc File ash/common/system/chromeos/palette/common_palette_tool.cc (right): https://codereview.chromium.org/2308823002/diff/40001/ash/common/system/chromeos/palette/common_palette_tool.cc#newcode97 ash/common/system/chromeos/palette/common_palette_tool.cc:97: delegate()->EnableTool(GetToolId()); nit: Please add ...
4 years, 3 months ago (2016-09-06 20:45:32 UTC) #15
xiaoyinh(OOO Sep 11-29)
https://codereview.chromium.org/2308823002/diff/40001/ash/common/system/chromeos/palette/common_palette_tool.cc File ash/common/system/chromeos/palette/common_palette_tool.cc (right): https://codereview.chromium.org/2308823002/diff/40001/ash/common/system/chromeos/palette/common_palette_tool.cc#newcode97 ash/common/system/chromeos/palette/common_palette_tool.cc:97: delegate()->EnableTool(GetToolId()); On 2016/09/06 20:45:32, Ilya Sherman wrote: > nit: ...
4 years, 3 months ago (2016-09-06 22:31:35 UTC) #16
xiaoyinh(OOO Sep 11-29)
stevenjb@, jdufault@, please take a look. Thanks!
4 years, 3 months ago (2016-09-08 16:27:57 UTC) #17
jdufault
lgtm https://codereview.chromium.org/2308823002/diff/60001/ash/common/system/chromeos/palette/palette_tray.cc File ash/common/system/chromeos/palette/palette_tray.cc (right): https://codereview.chromium.org/2308823002/diff/60001/ash/common/system/chromeos/palette/palette_tray.cc#newcode181 ash/common/system/chromeos/palette/palette_tray.cc:181: if (num_actions_in_bubble_ == 0) { nit: drop {} ...
4 years, 3 months ago (2016-09-08 19:51:35 UTC) #18
xiaoyinh(OOO Sep 11-29)
https://codereview.chromium.org/2308823002/diff/60001/ash/common/system/chromeos/palette/palette_tray.cc File ash/common/system/chromeos/palette/palette_tray.cc (right): https://codereview.chromium.org/2308823002/diff/60001/ash/common/system/chromeos/palette/palette_tray.cc#newcode181 ash/common/system/chromeos/palette/palette_tray.cc:181: if (num_actions_in_bubble_ == 0) { On 2016/09/08 19:51:35, jdufault ...
4 years, 3 months ago (2016-09-08 23:20:59 UTC) #21
stevenjb
lgtm w/ one suggestion https://codereview.chromium.org/2308823002/diff/100001/ash/common/system/chromeos/palette/common_palette_tool.cc File ash/common/system/chromeos/palette/common_palette_tool.cc (right): https://codereview.chromium.org/2308823002/diff/100001/ash/common/system/chromeos/palette/common_palette_tool.cc#newcode77 ash/common/system/chromeos/palette/common_palette_tool.cc:77: } Do we anticipate adding ...
4 years, 3 months ago (2016-09-13 16:32:18 UTC) #28
xiaoyinh(OOO Sep 11-29)
https://codereview.chromium.org/2308823002/diff/100001/ash/common/system/chromeos/palette/common_palette_tool.cc File ash/common/system/chromeos/palette/common_palette_tool.cc (right): https://codereview.chromium.org/2308823002/diff/100001/ash/common/system/chromeos/palette/common_palette_tool.cc#newcode77 ash/common/system/chromeos/palette/common_palette_tool.cc:77: } On 2016/09/13 16:32:18, stevenjb wrote: > Do we ...
4 years, 3 months ago (2016-09-14 00:51:25 UTC) #29
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/2308823002/140001
4 years, 3 months ago (2016-09-14 19:37:30 UTC) #40
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 3 months ago (2016-09-14 19:45:01 UTC) #41
commit-bot: I haz the power
4 years, 3 months ago (2016-09-14 19:47:16 UTC) #43
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/50a94860a8398abd112028dc645b5d523372f26a
Cr-Commit-Position: refs/heads/master@{#418645}

Powered by Google App Engine
This is Rietveld 408576698