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

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

Issue 263083005: Remove "Alternate frame caption button style" command line flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « ash/frame/custom_frame_view_ash.cc ('k') | 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_USER_METRICS_RECORDER_H_ 5 #ifndef ASH_USER_METRICS_RECORDER_H_
6 #define ASH_USER_METRICS_RECORDER_H_ 6 #define ASH_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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 UMA_TOUCHSCREEN_TAP_DOWN, 90 UMA_TOUCHSCREEN_TAP_DOWN,
91 UMA_TRAY_HELP, 91 UMA_TRAY_HELP,
92 UMA_TRAY_LOCK_SCREEN, 92 UMA_TRAY_LOCK_SCREEN,
93 UMA_TRAY_SHUT_DOWN, 93 UMA_TRAY_SHUT_DOWN,
94 UMA_WINDOW_APP_CLOSE_BUTTON_CLICK, 94 UMA_WINDOW_APP_CLOSE_BUTTON_CLICK,
95 UMA_WINDOW_CLOSE_BUTTON_CLICK, 95 UMA_WINDOW_CLOSE_BUTTON_CLICK,
96 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_EXIT_FULLSCREEN, 96 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_EXIT_FULLSCREEN,
97 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_MAXIMIZE, 97 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_MAXIMIZE,
98 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_MINIMIZE, 98 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_MINIMIZE,
99 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_RESTORE, 99 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_RESTORE,
100 UMA_WINDOW_MAXIMIZE_BUTTON_MAXIMIZE,
101 UMA_WINDOW_MAXIMIZE_BUTTON_MAXIMIZE_LEFT, 100 UMA_WINDOW_MAXIMIZE_BUTTON_MAXIMIZE_LEFT,
102 UMA_WINDOW_MAXIMIZE_BUTTON_MAXIMIZE_RIGHT, 101 UMA_WINDOW_MAXIMIZE_BUTTON_MAXIMIZE_RIGHT,
103 UMA_WINDOW_MAXIMIZE_BUTTON_MINIMIZE,
104 UMA_WINDOW_MAXIMIZE_BUTTON_RESTORE,
105 UMA_WINDOW_MAXIMIZE_BUTTON_SHOW_BUBBLE,
106 102
107 // Thumbnail sized overview of windows triggered. This is a subset of 103 // Thumbnail sized overview of windows triggered. This is a subset of
108 // UMA_WINDOW_SELECTION triggered by lingering during alt+tab cycles or 104 // UMA_WINDOW_SELECTION triggered by lingering during alt+tab cycles or
109 // pressing the overview key. 105 // pressing the overview key.
110 UMA_WINDOW_OVERVIEW, 106 UMA_WINDOW_OVERVIEW,
111 107
112 // Window selection started by beginning an alt+tab cycle or pressing the 108 // Window selection started by beginning an alt+tab cycle or pressing the
113 // overview key. This does not count each step through an alt+tab cycle. 109 // overview key. This does not count each step through an alt+tab cycle.
114 UMA_WINDOW_SELECTION, 110 UMA_WINDOW_SELECTION,
115 }; 111 };
(...skipping 11 matching lines...) Expand all
127 void RecordUserMetricsAction(ash::UserMetricsAction action); 123 void RecordUserMetricsAction(ash::UserMetricsAction action);
128 private: 124 private:
129 void RecordPeriodicMetrics(); 125 void RecordPeriodicMetrics();
130 126
131 base::RepeatingTimer<UserMetricsRecorder> timer_; 127 base::RepeatingTimer<UserMetricsRecorder> timer_;
132 }; 128 };
133 129
134 } // namespace ash 130 } // namespace ash
135 131
136 #endif // ASH_USER_METRICS_RECORDER_H_ 132 #endif // ASH_USER_METRICS_RECORDER_H_
OLDNEW
« no previous file with comments | « ash/frame/custom_frame_view_ash.cc ('k') | ash/metrics/user_metrics_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698