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

Side by Side Diff: ash/shell_delegate.h

Issue 10834070: ash: Add some UMA for touch-events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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 | « no previous file | ash/touch/touch_uma.cc » ('j') | ash/touch/touch_uma.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SHELL_DELEGATE_H_ 5 #ifndef ASH_SHELL_DELEGATE_H_
6 #define ASH_SHELL_DELEGATE_H_ 6 #define ASH_SHELL_DELEGATE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 24 matching lines...) Expand all
35 class SystemTray; 35 class SystemTray;
36 class SystemTrayDelegate; 36 class SystemTrayDelegate;
37 class UserWallpaperDelegate; 37 class UserWallpaperDelegate;
38 38
39 enum UserMetricsAction { 39 enum UserMetricsAction {
40 UMA_ACCEL_PREVWINDOW_TAB, 40 UMA_ACCEL_PREVWINDOW_TAB,
41 UMA_ACCEL_NEXTWINDOW_TAB, 41 UMA_ACCEL_NEXTWINDOW_TAB,
42 UMA_ACCEL_PREVWINDOW_F5, 42 UMA_ACCEL_PREVWINDOW_F5,
43 UMA_ACCEL_NEXTWINDOW_F5, 43 UMA_ACCEL_NEXTWINDOW_F5,
44 UMA_ACCEL_NEWTAB_T, 44 UMA_ACCEL_NEWTAB_T,
45 UMA_ACCEL_SEARCH_LWIN 45 UMA_ACCEL_SEARCH_LWIN,
46 UMA_TOUCHPAD_TAP_DOWN,
47 UMA_TOUCHSCREEN_TAP_DOWN,
46 }; 48 };
47 49
48 // Delegate of the Shell. 50 // Delegate of the Shell.
49 class ASH_EXPORT ShellDelegate { 51 class ASH_EXPORT ShellDelegate {
50 public: 52 public:
51 // The Shell owns the delegate. 53 // The Shell owns the delegate.
52 virtual ~ShellDelegate() {} 54 virtual ~ShellDelegate() {}
53 55
54 // Returns true if user has logged in. 56 // Returns true if user has logged in.
55 virtual bool IsUserLoggedIn() = 0; 57 virtual bool IsUserLoggedIn() = 0;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // Opens the feedback page for "Report Issue". 133 // Opens the feedback page for "Report Issue".
132 virtual void OpenFeedbackPage() = 0; 134 virtual void OpenFeedbackPage() = 0;
133 135
134 // Records that the user performed an action. 136 // Records that the user performed an action.
135 virtual void RecordUserMetricsAction(UserMetricsAction action) = 0; 137 virtual void RecordUserMetricsAction(UserMetricsAction action) = 0;
136 }; 138 };
137 139
138 } // namespace ash 140 } // namespace ash
139 141
140 #endif // ASH_SHELL_DELEGATE_H_ 142 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | ash/touch/touch_uma.cc » ('j') | ash/touch/touch_uma.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698