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

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

Issue 26373009: ash:Shelf - Added UMA stats for ShelfAlignment (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more specific UMA counts Created 7 years, 2 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
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 f0543bcd06a5f08718ae8d81a0cb61226a9fadac..328c3bb5093be16e5d3cb42191b1d2dd793cf47b 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
@@ -362,6 +362,18 @@ void ChromeShellDelegate::RecordUserMetricsAction(
case ash::UMA_MOUSE_DOWN:
content::RecordAction(content::UserMetricsAction("Mouse_Down"));
break;
+ case ash::UMA_SHELF_ALIGNMENT_SET_BOTTOM:
+ content::RecordAction(
+ content::UserMetricsAction("Shelf_AlignmentSetBottom"));
+ break;
+ case ash::UMA_SHELF_ALIGNMENT_SET_LEFT:
+ content::RecordAction(
+ content::UserMetricsAction("Shelf_AlignmentSetLeft"));
+ break;
+ case ash::UMA_SHELF_ALIGNMENT_SET_RIGHT:
+ content::RecordAction(
+ content::UserMetricsAction("Shelf_AlignmentSetRight"));
+ break;
case ash::UMA_TOGGLE_MAXIMIZE_CAPTION_CLICK:
content::RecordAction(
content::UserMetricsAction("Caption_ClickTogglesMaximize"));

Powered by Google App Engine
This is Rietveld 408576698