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

Unified Diff: ash/system/tray/system_tray.cc

Issue 2193913002: Added Ash.SystemMenu.DefaultView.VisibleRows histogram. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Merge remote-tracking branch 'refs/remotes/branch-heads/2785' into drover_2785 Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/chromeos/tray_display.cc ('k') | ash/system/tray/system_tray_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray.cc
diff --git a/ash/system/tray/system_tray.cc b/ash/system/tray/system_tray.cc
index 9b5f6928eb63e94e83c2940bd51ce66932ee89d9..7b43b43b0c875739ceaf3ab531a660b911a418f9 100644
--- a/ash/system/tray/system_tray.cc
+++ b/ash/system/tray/system_tray.cc
@@ -747,6 +747,8 @@ void SystemTray::CloseSystemBubbleAndDeactivateSystemTray() {
void SystemTray::RecordSystemMenuMetrics() {
DCHECK(system_bubble_);
+ system_bubble_->bubble()->RecordVisibleRowMetrics();
+
TrayBubbleView* bubble_view = system_bubble_->bubble_view();
int num_rows = 0;
for (int i = 0; i < bubble_view->child_count(); i++) {
« no previous file with comments | « ash/system/chromeos/tray_display.cc ('k') | ash/system/tray/system_tray_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698