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

Unified Diff: chrome/browser/ui/ash/chrome_shell_delegate.cc

Issue 24096024: Add UMA metrics for window selection and overview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Improve the wording of histogram descriptions and fix selection uma count. Created 7 years, 3 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/wm/overview/window_selector_controller.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/chrome_shell_delegate.cc
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate.cc b/chrome/browser/ui/ash/chrome_shell_delegate.cc
index 116aee885bbbca2081516d220ac8b961d7563999..d778bb2726aa9ec9eaf767e2cf6b181ab4e1ccfe 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
@@ -417,6 +417,14 @@ void ChromeShellDelegate::RecordUserMetricsAction(
case ash::UMA_WINDOW_MAXIMIZE_BUTTON_SHOW_BUBBLE:
content::RecordAction(content::UserMetricsAction("MaxButton_ShowBubble"));
break;
+ case ash::UMA_WINDOW_OVERVIEW:
+ content::RecordAction(
+ content::UserMetricsAction("WindowSelector_Overview"));
+ break;
+ case ash::UMA_WINDOW_SELECTION:
+ content::RecordAction(
+ content::UserMetricsAction("WindowSelector_Selection"));
+ break;
}
}
« no previous file with comments | « ash/wm/overview/window_selector_controller.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698