| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ASH_METRICS_USER_METRICS_RECORDER_H_ | 5 #ifndef ASH_METRICS_USER_METRICS_RECORDER_H_ |
| 6 #define ASH_METRICS_USER_METRICS_RECORDER_H_ | 6 #define ASH_METRICS_USER_METRICS_RECORDER_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "base/timer/timer.h" | 9 #include "base/timer/timer.h" |
| 10 | 10 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_EXIT_FULLSCREEN, | 113 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_EXIT_FULLSCREEN, |
| 114 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_MAXIMIZE, | 114 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_MAXIMIZE, |
| 115 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_MINIMIZE, | 115 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_MINIMIZE, |
| 116 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_RESTORE, | 116 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_RESTORE, |
| 117 UMA_WINDOW_MAXIMIZE_BUTTON_MAXIMIZE_LEFT, | 117 UMA_WINDOW_MAXIMIZE_BUTTON_MAXIMIZE_LEFT, |
| 118 UMA_WINDOW_MAXIMIZE_BUTTON_MAXIMIZE_RIGHT, | 118 UMA_WINDOW_MAXIMIZE_BUTTON_MAXIMIZE_RIGHT, |
| 119 | 119 |
| 120 // Thumbnail sized overview of windows triggered by pressing the overview key. | 120 // Thumbnail sized overview of windows triggered by pressing the overview key. |
| 121 UMA_WINDOW_OVERVIEW, | 121 UMA_WINDOW_OVERVIEW, |
| 122 | 122 |
| 123 // Change in active window between entering and exiting overview mode. |
| 124 UMA_WINDOW_OVERVIEW_ACTIVE_WINDOW_CHANGED, |
| 125 |
| 123 // Selecting a window in overview mode by pressing the enter key. | 126 // Selecting a window in overview mode by pressing the enter key. |
| 124 UMA_WINDOW_OVERVIEW_ENTER_KEY, | 127 UMA_WINDOW_OVERVIEW_ENTER_KEY, |
| 125 | 128 |
| 126 // Window selection started by beginning an alt+tab cycle. This does not count | 129 // Window selection started by beginning an alt+tab cycle. This does not count |
| 127 // each step through an alt+tab cycle. | 130 // each step through an alt+tab cycle. |
| 128 UMA_WINDOW_CYCLE, | 131 UMA_WINDOW_CYCLE, |
| 129 }; | 132 }; |
| 130 | 133 |
| 131 // User Metrics Recorder provides a repeating callback (RecordPeriodicMetrics) | 134 // User Metrics Recorder provides a repeating callback (RecordPeriodicMetrics) |
| 132 // on a timer to allow recording of state data over time to the UMA records. | 135 // on a timer to allow recording of state data over time to the UMA records. |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 | 170 |
| 168 // The periodic timer that triggers metrics to be recorded. | 171 // The periodic timer that triggers metrics to be recorded. |
| 169 base::RepeatingTimer<UserMetricsRecorder> timer_; | 172 base::RepeatingTimer<UserMetricsRecorder> timer_; |
| 170 | 173 |
| 171 DISALLOW_COPY_AND_ASSIGN(UserMetricsRecorder); | 174 DISALLOW_COPY_AND_ASSIGN(UserMetricsRecorder); |
| 172 }; | 175 }; |
| 173 | 176 |
| 174 } // namespace ash | 177 } // namespace ash |
| 175 | 178 |
| 176 #endif // ASH_METRICS_USER_METRICS_RECORDER_H_ | 179 #endif // ASH_METRICS_USER_METRICS_RECORDER_H_ |
| OLD | NEW |