summaryrefslogtreecommitdiffstats
path: root/ash/shell_delegate.h
diff options
context:
space:
mode:
authorderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-14 21:08:17 +0000
committerderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-14 21:08:17 +0000
commit2ccf20bdda6c42bc621ac55f204916d2f67c2332 (patch)
tree95b0a01e535694d89334ef20cc3ac41e60b3f3b4 /ash/shell_delegate.h
parent26c0e6ab780b929477ccb995e36c462c465e1523 (diff)
downloadchromium_src-2ccf20bdda6c42bc621ac55f204916d2f67c2332.zip
chromium_src-2ccf20bdda6c42bc621ac55f204916d2f67c2332.tar.gz
chromium_src-2ccf20bdda6c42bc621ac55f204916d2f67c2332.tar.bz2
ash: Add metrics for screen lock and shutdown.
This adds user action metrics for locking the screen and shutting down via keyboard accelerators or the system tray: Accel_LockScreen_L Accel_LockScreen_LockButton Accel_LockScreen_PowerButton Accel_ShutDown_PowerButton Tray_LockScreen Tray_ShutDown (I'm also throwing in Tray_Help so the help button won't feel lonely.) BUG=181808 Review URL: https://chromiumcodereview.appspot.com/12481018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188193 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell_delegate.h')
-rw-r--r--ash/shell_delegate.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h
index 8fbfeb3..a5a2744 100644
--- a/ash/shell_delegate.h
+++ b/ash/shell_delegate.h
@@ -47,6 +47,9 @@ class UserWallpaperDelegate;
enum UserMetricsAction {
UMA_ACCEL_KEYBOARD_BRIGHTNESS_DOWN_F6,
UMA_ACCEL_KEYBOARD_BRIGHTNESS_UP_F7,
+ UMA_ACCEL_LOCK_SCREEN_L,
+ UMA_ACCEL_LOCK_SCREEN_LOCK_BUTTON,
+ UMA_ACCEL_LOCK_SCREEN_POWER_BUTTON,
UMA_ACCEL_MAXIMIZE_RESTORE_F4,
UMA_ACCEL_NEWTAB_T,
UMA_ACCEL_NEXTWINDOW_F5,
@@ -54,6 +57,7 @@ enum UserMetricsAction {
UMA_ACCEL_PREVWINDOW_F5,
UMA_ACCEL_PREVWINDOW_TAB,
UMA_ACCEL_SEARCH_LWIN,
+ UMA_ACCEL_SHUT_DOWN_POWER_BUTTON,
UMA_MAXIMIZE_BUTTON_MAXIMIZE,
UMA_MAXIMIZE_BUTTON_MAXIMIZE_LEFT,
UMA_MAXIMIZE_BUTTON_MAXIMIZE_RIGHT,
@@ -66,6 +70,9 @@ enum UserMetricsAction {
UMA_TOGGLE_MAXIMIZE_CAPTION_CLICK,
UMA_TOGGLE_MAXIMIZE_CAPTION_GESTURE,
UMA_TOUCHSCREEN_TAP_DOWN,
+ UMA_TRAY_HELP,
+ UMA_TRAY_LOCK_SCREEN,
+ UMA_TRAY_SHUT_DOWN,
};
enum AccessibilityNotificationVisibility {