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

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: Created 7 years, 1 month 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/shell_delegate.h ('k') | tools/metrics/actions/chromeactions.txt » ('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 2039aad6096f9470b9765bb6f12a798aae8d69d9..6243cf1d4ae9e8e38ed4c95f27a46e716d4916d9 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
@@ -210,6 +210,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"));
« no previous file with comments | « ash/shell_delegate.h ('k') | tools/metrics/actions/chromeactions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698