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

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: copywrite header 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 d8e579e60d482c9491c1e396e29bf29cb4e98e12..c1e33a8e63e4ef1dddd8a46acb689d0ccb867256 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
@@ -252,6 +252,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