OLD | NEW |
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 19 matching lines...) Expand all Loading... |
30 namespace ash { | 30 namespace ash { |
31 | 31 |
32 class LauncherDelegate; | 32 class LauncherDelegate; |
33 class LauncherModel; | 33 class LauncherModel; |
34 struct LauncherItem; | 34 struct LauncherItem; |
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_NEWTAB_T, |
| 41 UMA_ACCEL_NEXTWINDOW_F5, |
41 UMA_ACCEL_NEXTWINDOW_TAB, | 42 UMA_ACCEL_NEXTWINDOW_TAB, |
42 UMA_ACCEL_PREVWINDOW_F5, | 43 UMA_ACCEL_PREVWINDOW_F5, |
43 UMA_ACCEL_NEXTWINDOW_F5, | 44 UMA_ACCEL_PREVWINDOW_TAB, |
44 UMA_ACCEL_NEWTAB_T, | |
45 UMA_ACCEL_SEARCH_LWIN, | 45 UMA_ACCEL_SEARCH_LWIN, |
| 46 UMA_LAUNCHER_CLICK_ON_APP, |
| 47 UMA_LAUNCHER_CLICK_ON_APPLIST_BUTTON, |
46 UMA_MOUSE_DOWN, | 48 UMA_MOUSE_DOWN, |
47 UMA_TOUCHSCREEN_TAP_DOWN, | 49 UMA_TOUCHSCREEN_TAP_DOWN, |
48 }; | 50 }; |
49 | 51 |
50 // Delegate of the Shell. | 52 // Delegate of the Shell. |
51 class ASH_EXPORT ShellDelegate { | 53 class ASH_EXPORT ShellDelegate { |
52 public: | 54 public: |
53 // The Shell owns the delegate. | 55 // The Shell owns the delegate. |
54 virtual ~ShellDelegate() {} | 56 virtual ~ShellDelegate() {} |
55 | 57 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 // Opens the feedback page for "Report Issue". | 135 // Opens the feedback page for "Report Issue". |
134 virtual void OpenFeedbackPage() = 0; | 136 virtual void OpenFeedbackPage() = 0; |
135 | 137 |
136 // Records that the user performed an action. | 138 // Records that the user performed an action. |
137 virtual void RecordUserMetricsAction(UserMetricsAction action) = 0; | 139 virtual void RecordUserMetricsAction(UserMetricsAction action) = 0; |
138 }; | 140 }; |
139 | 141 |
140 } // namespace ash | 142 } // namespace ash |
141 | 143 |
142 #endif // ASH_SHELL_DELEGATE_H_ | 144 #endif // ASH_SHELL_DELEGATE_H_ |
OLD | NEW |