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

Side by Side Diff: ash/metrics/user_metrics_recorder.h

Issue 1138253002: Add user action for changing the active window in Ash overview mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tests added Created 5 years, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | ash/metrics/user_metrics_recorder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 // User selected a window in overview mode different from the
124 // previously-active window.
125 UMA_WINDOW_OVERVIEW_ACTIVE_WINDOW_CHANGED,
126
123 // Selecting a window in overview mode by pressing the enter key. 127 // Selecting a window in overview mode by pressing the enter key.
124 UMA_WINDOW_OVERVIEW_ENTER_KEY, 128 UMA_WINDOW_OVERVIEW_ENTER_KEY,
125 129
126 // Window selection started by beginning an alt+tab cycle. This does not count 130 // Window selection started by beginning an alt+tab cycle. This does not count
127 // each step through an alt+tab cycle. 131 // each step through an alt+tab cycle.
128 UMA_WINDOW_CYCLE, 132 UMA_WINDOW_CYCLE,
129 }; 133 };
130 134
131 // User Metrics Recorder provides a repeating callback (RecordPeriodicMetrics) 135 // User Metrics Recorder provides a repeating callback (RecordPeriodicMetrics)
132 // on a timer to allow recording of state data over time to the UMA records. 136 // 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
167 171
168 // The periodic timer that triggers metrics to be recorded. 172 // The periodic timer that triggers metrics to be recorded.
169 base::RepeatingTimer<UserMetricsRecorder> timer_; 173 base::RepeatingTimer<UserMetricsRecorder> timer_;
170 174
171 DISALLOW_COPY_AND_ASSIGN(UserMetricsRecorder); 175 DISALLOW_COPY_AND_ASSIGN(UserMetricsRecorder);
172 }; 176 };
173 177
174 } // namespace ash 178 } // namespace ash
175 179
176 #endif // ASH_METRICS_USER_METRICS_RECORDER_H_ 180 #endif // ASH_METRICS_USER_METRICS_RECORDER_H_
OLDNEW
« no previous file with comments | « no previous file | ash/metrics/user_metrics_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698