1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef ASH_METRICS_USER_METRICS_ACTION_H_
6 #define ASH_METRICS_USER_METRICS_ACTION_H_
7 
8 namespace ash {
9 
10 // Ash-owned user metrics.
11 // DEPRECATED: Use base::RecordAction(base::UserMetricsAction("my_action"))
12 // instead of adding things here.
13 enum UserMetricsAction {
14   UMA_DESKTOP_SWITCH_TASK,
15   UMA_LAUNCHER_BUTTON_PRESSED_WITH_MOUSE,
16   UMA_LAUNCHER_BUTTON_PRESSED_WITH_TOUCH,
17   UMA_LAUNCHER_CLICK_ON_APP,
18   UMA_LAUNCHER_CLICK_ON_APPLIST_BUTTON,
19   UMA_LAUNCHER_LAUNCH_TASK,
20   UMA_LAUNCHER_MINIMIZE_TASK,
21   UMA_LAUNCHER_SWITCH_TASK,
22   UMA_SHELF_ALIGNMENT_SET_BOTTOM,
23   UMA_SHELF_ALIGNMENT_SET_LEFT,
24   UMA_SHELF_ALIGNMENT_SET_RIGHT,
25   UMA_STATUS_AREA_AUDIO_CURRENT_INPUT_DEVICE,
26   UMA_STATUS_AREA_AUDIO_CURRENT_OUTPUT_DEVICE,
27   UMA_STATUS_AREA_AUDIO_SWITCH_INPUT_DEVICE,
28   UMA_STATUS_AREA_AUDIO_SWITCH_OUTPUT_DEVICE,
29   UMA_STATUS_AREA_BRIGHTNESS_CHANGED,
30   UMA_STATUS_AREA_BLUETOOTH_DISABLED,
31   UMA_STATUS_AREA_BLUETOOTH_ENABLED,
32   UMA_STATUS_AREA_CAPS_LOCK_DETAILED,
33   UMA_STATUS_AREA_CAPS_LOCK_DISABLED_BY_CLICK,
34   UMA_STATUS_AREA_CAPS_LOCK_ENABLED_BY_CLICK,
35   UMA_STATUS_AREA_CAPS_LOCK_POPUP,
36   UMA_STATUS_AREA_CAST_STOP_CAST,
37   UMA_STATUS_AREA_CONNECT_TO_CONFIGURED_NETWORK,
38   UMA_STATUS_AREA_CONNECT_TO_UNCONFIGURED_NETWORK,
39   UMA_STATUS_AREA_CONNECT_TO_VPN,
40   UMA_STATUS_AREA_CHANGED_VOLUME_MENU,
41   UMA_STATUS_AREA_CHANGED_VOLUME_POPUP,
42   UMA_STATUS_AREA_DETAILED_ACCESSIBILITY,
43   UMA_STATUS_AREA_DETAILED_AUDIO_VIEW,
44   UMA_STATUS_AREA_DETAILED_BLUETOOTH_VIEW,
45   UMA_STATUS_AREA_DETAILED_BRIGHTNESS_VIEW,
46   UMA_STATUS_AREA_DETAILED_CAST_VIEW,
47   UMA_STATUS_AREA_DETAILED_CAST_VIEW_LAUNCH_CAST,
48   UMA_STATUS_AREA_DETAILED_DRIVE_VIEW,
49   UMA_STATUS_AREA_DETAILED_NETWORK_VIEW,
50   UMA_STATUS_AREA_DETAILED_SMS_VIEW,
51   UMA_STATUS_AREA_DETAILED_VPN_VIEW,
52   UMA_STATUS_AREA_DISABLE_WIFI,
53   UMA_STATUS_AREA_DISPLAY_DEFAULT_SELECTED,
54   UMA_STATUS_AREA_DISPLAY_DEFAULT_SHOW_SETTINGS,
55   UMA_STATUS_AREA_DISPLAY_NOTIFICATION_CREATED,
56   UMA_STATUS_AREA_DISPLAY_NOTIFICATION_SELECTED,
57   UMA_STATUS_AREA_DISPLAY_NOTIFICATION_SHOW_SETTINGS,
58   UMA_STATUS_AREA_DRIVE_CANCEL_OPERATION,
59   UMA_STATUS_AREA_DRIVE_SETTINGS,
60   UMA_STATUS_AREA_ENABLE_WIFI,
61   UMA_STATUS_AREA_MENU_OPENED,
62   UMA_STATUS_AREA_NETWORK_JOIN_OTHER_CLICKED,
63   UMA_STATUS_AREA_NETWORK_SETTINGS_OPENED,
64   UMA_STATUS_AREA_OS_UPDATE_DEFAULT_SELECTED,
65   UMA_STATUS_AREA_SCREEN_CAPTURE_CHANGE_SOURCE,
66   UMA_STATUS_AREA_SCREEN_CAPTURE_DEFAULT_STOP,
67   UMA_STATUS_AREA_SCREEN_CAPTURE_NOTIFICATION_STOP,
68   UMA_STATUS_AREA_SHOW_NETWORK_CONNECTION_DETAILS,
69   UMA_STATUS_AREA_SHOW_VPN_CONNECTION_DETAILS,
70   UMA_STATUS_AREA_SIGN_OUT,
71   UMA_STATUS_AREA_SMS_DETAILED_DISMISS_MSG,
72   UMA_STATUS_AREA_SMS_NOTIFICATION_DISMISS_MSG,
73   UMA_STATUS_AREA_TRACING_DEFAULT_SELECTED,
74   UMA_STATUS_AREA_VPN_ADD_BUILT_IN_CLICKED,
75   UMA_STATUS_AREA_VPN_ADD_THIRD_PARTY_CLICKED,
76   UMA_STATUS_AREA_VPN_DISCONNECT_CLICKED,
77   UMA_STATUS_AREA_VPN_SETTINGS_OPENED,
78   UMA_TRAY_HELP,
79   UMA_TRAY_LOCK_SCREEN,
80   UMA_TRAY_NIGHT_LIGHT,
81   UMA_TRAY_OVERVIEW,
82   UMA_TRAY_SETTINGS,
83   UMA_TRAY_SHUT_DOWN,
84 
85   // DEPRECATED: Do not add new values. See top of file.
86 };
87 
88 }  // namespace ash
89 
90 #endif  // ASH_METRICS_USER_METRICS_ACTION_H_
91