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

Issue 2162153002: Added Ash.SystemMenu.DefaultView.VisibleItems histogram. (Closed)

Created:
4 years, 5 months ago by bruthig
Modified:
4 years, 4 months ago
CC:
chromium-reviews, sadrul, dtseng+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, asvitkine+watch_chromium.org, je_julie, dmazzoni+watch_chromium.org, oshima+watch_chromium.org, kalyank, stevenjb+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 Ash.SystemMenu.DefaultView.VisibleRows histogram. Added metrics to track which system menu rows are visible in order to make informed decisions about feature usage. BUG=620509 TEST=SystemTrayTest.* Committed: https://crrev.com/5c85316c5787d77319c5c4fd15a1cb59dbee1fb0 Cr-Commit-Position: refs/heads/master@{#407562}

Patch Set 1 #

Patch Set 2 : Fixed ash_unittests compile errors. #

Total comments: 23

Patch Set 3 : Addressed comments from patch set 2. #

Patch Set 4 : Removed unnecessary includes after self review. #

Total comments: 33

Patch Set 5 : Merge branch 'master' into uma_system_menu_rows #

Patch Set 6 : Addressed comments from patch set 4. #

Total comments: 6

Patch Set 7 : Attempt to fix windows bot failures. #

Patch Set 8 : Addressed nits from patch set 6. #

Total comments: 4

Patch Set 9 : Addressed comments from patch set 8. #

Total comments: 2

Patch Set 10 : Fixed -2 bug in SystemTrayBubble::CreateItemViews(). #

Total comments: 2

Patch Set 11 : Removed the COUNT value from the SystemMenuDefaultViewRows enum. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+494 lines, -320 lines) Patch
M ash/ash.gyp View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M ash/common/system/audio/tray_audio.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/audio/volume_view.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/cast/tray_cast.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M ash/common/system/chromeos/bluetooth/tray_bluetooth.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M ash/common/system/chromeos/brightness/tray_brightness.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/chromeos/enterprise/tray_enterprise.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/chromeos/media_security/multi_profile_media_tray_item.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M ash/common/system/chromeos/network/tray_network.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/chromeos/network/tray_sms.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/chromeos/network/tray_vpn.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M ash/common/system/chromeos/power/tray_power.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/chromeos/screen_security/screen_capture_tray_item.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/chromeos/screen_security/screen_share_tray_item.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/chromeos/screen_security/screen_tray_item.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/chromeos/screen_security/screen_tray_item.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M ash/common/system/chromeos/session/tray_session_length_limit.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/chromeos/settings/tray_settings.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/chromeos/supervised/tray_supervised_user.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/chromeos/tray_caps_lock.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/chromeos/tray_tracing.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M ash/common/system/date/tray_date.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/ime/tray_ime_chromeos.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/tray/system_tray.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M ash/common/system/tray/system_tray_bubble.h View 1 2 3 chunks +9 lines, -0 lines 0 comments Download
M ash/common/system/tray/system_tray_bubble.cc View 1 2 3 4 5 6 7 8 9 7 chunks +47 lines, -19 lines 0 comments Download
M ash/common/system/tray/system_tray_item.h View 1 2 3 4 5 2 chunks +44 lines, -1 line 0 comments Download
M ash/common/system/tray/system_tray_item.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M ash/common/system/tray/system_tray_unittest.cc View 1 2 3 4 5 9 chunks +139 lines, -92 lines 0 comments Download
M ash/common/system/tray/tray_details_view_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
D ash/common/system/tray/tray_empty.h View 1 chunk +0 lines, -33 lines 0 comments Download
D ash/common/system/tray/tray_empty.cc View 1 chunk +0 lines, -62 lines 0 comments Download
M ash/common/system/tray/tray_image_item.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/tray/tray_image_item.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M ash/common/system/tray/tray_popup_item_container.h View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M ash/common/system/tray/tray_popup_item_container.cc View 1 2 3 4 5 2 chunks +7 lines, -6 lines 0 comments Download
M ash/common/system/tray_accessibility.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M ash/common/system/update/tray_update.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/user/tray_user.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/user/tray_user_separator.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf_layout_manager_unittest.cc View 1 2 3 4 5 4 chunks +2 lines, -66 lines 0 comments Download
M ash/system/chromeos/rotation/tray_rotation_lock.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M ash/system/chromeos/tray_display.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ash/system/web_notification/web_notification_tray_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
A ash/test/test_system_tray_item.h View 1 2 3 4 5 6 7 1 chunk +56 lines, -0 lines 0 comments Download
A ash/test/test_system_tray_item.cc View 1 2 3 4 5 6 7 1 chunk +95 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 2 chunks +39 lines, -0 lines 0 comments Download

Messages

Total messages: 46 (26 generated)
bruthig
Terry, can you take a first look?
4 years, 5 months ago (2016-07-19 20:03:01 UTC) #4
tdanderson
LGTM with comments below. https://chromiumcodereview.appspot.com/2162153002/diff/20001/ash/common/system/chromeos/settings/tray_settings.cc File ash/common/system/chromeos/settings/tray_settings.cc (right): https://chromiumcodereview.appspot.com/2162153002/diff/20001/ash/common/system/chromeos/settings/tray_settings.cc#newcode129 ash/common/system/chromeos/settings/tray_settings.cc:129: : SystemTrayItem(system_tray, OS_SETTINGS), default_view_(NULL) {} ...
4 years, 5 months ago (2016-07-19 21:58:40 UTC) #8
bruthig
jamescook@, can you review changes in: - ash/* rkaplow@, can you review changes in: - ...
4 years, 5 months ago (2016-07-20 18:15:52 UTC) #15
James Cook
https://codereview.chromium.org/2162153002/diff/60001/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc File ash/common/system/chromeos/bluetooth/tray_bluetooth.cc (right): https://codereview.chromium.org/2162153002/diff/60001/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc#newcode397 ash/common/system/chromeos/bluetooth/tray_bluetooth.cc:397: : SystemTrayItem(system_tray, BLUETOOTH), default_(NULL), detailed_(NULL) { nit: nullptr while ...
4 years, 5 months ago (2016-07-20 20:13:50 UTC) #16
bruthig
jamescook@, can you please take another look? rkaplow@, can you review changes in: - histograms.xml ...
4 years, 5 months ago (2016-07-21 14:34:59 UTC) #19
James Cook
LGTM with nits https://codereview.chromium.org/2162153002/diff/100001/ash/common/system/tray/system_tray_bubble.cc File ash/common/system/tray/system_tray_bubble.cc (right): https://codereview.chromium.org/2162153002/diff/100001/ash/common/system/tray/system_tray_bubble.cc#newcode336 ash/common/system/tray/system_tray_bubble.cc:336: for (size_t i = 0; i ...
4 years, 5 months ago (2016-07-21 16:14:00 UTC) #24
bruthig
https://codereview.chromium.org/2162153002/diff/100001/ash/common/system/tray/system_tray_bubble.cc File ash/common/system/tray/system_tray_bubble.cc (right): https://codereview.chromium.org/2162153002/diff/100001/ash/common/system/tray/system_tray_bubble.cc#newcode336 ash/common/system/tray/system_tray_bubble.cc:336: for (size_t i = 0; i < item_containers.size() - ...
4 years, 5 months ago (2016-07-21 17:24:25 UTC) #25
James Cook
still lgtm https://codereview.chromium.org/2162153002/diff/140001/ash/common/system/tray/system_tray_bubble.cc File ash/common/system/tray/system_tray_bubble.cc (right): https://codereview.chromium.org/2162153002/diff/140001/ash/common/system/tray/system_tray_bubble.cc#newcode336 ash/common/system/tray/system_tray_bubble.cc:336: for (size_t i = 0; i + ...
4 years, 5 months ago (2016-07-21 17:35:16 UTC) #26
rkaplow
https://codereview.chromium.org/2162153002/diff/140001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2162153002/diff/140001/tools/metrics/histograms/histograms.xml#newcode1408 tools/metrics/histograms/histograms.xml:1408: +<histogram name="Ash.SystemMenu.DefaultView.VisibleRows" units="rows"> since this is an enum histogram, ...
4 years, 5 months ago (2016-07-21 18:34:25 UTC) #27
bruthig
rkaplow@, can you PTAL? https://codereview.chromium.org/2162153002/diff/140001/ash/common/system/tray/system_tray_bubble.cc File ash/common/system/tray/system_tray_bubble.cc (right): https://codereview.chromium.org/2162153002/diff/140001/ash/common/system/tray/system_tray_bubble.cc#newcode336 ash/common/system/tray/system_tray_bubble.cc:336: for (size_t i = 0; ...
4 years, 5 months ago (2016-07-21 19:03:22 UTC) #29
James Cook
https://codereview.chromium.org/2162153002/diff/160001/ash/common/system/tray/system_tray_bubble.cc File ash/common/system/tray/system_tray_bubble.cc (right): https://codereview.chromium.org/2162153002/diff/160001/ash/common/system/tray/system_tray_bubble.cc#newcode336 ash/common/system/tray/system_tray_bubble.cc:336: const int last_item_with_border = static_cast<int>(item_containers.size()); Shouldn't there be a ...
4 years, 5 months ago (2016-07-21 19:04:50 UTC) #31
bruthig
https://codereview.chromium.org/2162153002/diff/160001/ash/common/system/tray/system_tray_bubble.cc File ash/common/system/tray/system_tray_bubble.cc (right): https://codereview.chromium.org/2162153002/diff/160001/ash/common/system/tray/system_tray_bubble.cc#newcode336 ash/common/system/tray/system_tray_bubble.cc:336: const int last_item_with_border = static_cast<int>(item_containers.size()); On 2016/07/21 19:04:50, James ...
4 years, 5 months ago (2016-07-21 19:15:09 UTC) #32
James Cook
still lgtm
4 years, 5 months ago (2016-07-21 21:06:29 UTC) #33
rkaplow
lgtm https://codereview.chromium.org/2162153002/diff/180001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2162153002/diff/180001/tools/metrics/histograms/histograms.xml#newcode92730 tools/metrics/histograms/histograms.xml:92730: + <int value="26" label="COUNT - Should not be ...
4 years, 4 months ago (2016-07-25 17:55:24 UTC) #34
bruthig
https://codereview.chromium.org/2162153002/diff/180001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2162153002/diff/180001/tools/metrics/histograms/histograms.xml#newcode92730 tools/metrics/histograms/histograms.xml:92730: + <int value="26" label="COUNT - Should not be recorded"/> ...
4 years, 4 months ago (2016-07-25 18:02:47 UTC) #35
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/2162153002/200001
4 years, 4 months ago (2016-07-25 18:03:16 UTC) #38
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/110016)
4 years, 4 months ago (2016-07-25 19:14:23 UTC) #40
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/2162153002/200001
4 years, 4 months ago (2016-07-25 19:23:36 UTC) #42
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 4 months ago (2016-07-25 20:23:43 UTC) #44
commit-bot: I haz the power
4 years, 4 months ago (2016-07-25 20:26:15 UTC) #46
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/5c85316c5787d77319c5c4fd15a1cb59dbee1fb0
Cr-Commit-Position: refs/heads/master@{#407562}

Powered by Google App Engine
This is Rietveld 408576698