| 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 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 class CapsLockDelegate; | 33 class CapsLockDelegate; |
| 34 class LauncherDelegate; | 34 class LauncherDelegate; |
| 35 class LauncherModel; | 35 class LauncherModel; |
| 36 struct LauncherItem; | 36 struct LauncherItem; |
| 37 class SystemTray; | 37 class SystemTray; |
| 38 class SystemTrayDelegate; | 38 class SystemTrayDelegate; |
| 39 class UserWallpaperDelegate; | 39 class UserWallpaperDelegate; |
| 40 | 40 |
| 41 enum UserMetricsAction { | 41 enum UserMetricsAction { |
| 42 UMA_ACCEL_MAXIMIZE_RESTORE_F4, |
| 42 UMA_ACCEL_NEWTAB_T, | 43 UMA_ACCEL_NEWTAB_T, |
| 43 UMA_ACCEL_NEXTWINDOW_F5, | 44 UMA_ACCEL_NEXTWINDOW_F5, |
| 44 UMA_ACCEL_NEXTWINDOW_TAB, | 45 UMA_ACCEL_NEXTWINDOW_TAB, |
| 45 UMA_ACCEL_PREVWINDOW_F5, | 46 UMA_ACCEL_PREVWINDOW_F5, |
| 46 UMA_ACCEL_PREVWINDOW_TAB, | 47 UMA_ACCEL_PREVWINDOW_TAB, |
| 47 UMA_ACCEL_SEARCH_LWIN, | 48 UMA_ACCEL_SEARCH_LWIN, |
| 48 UMA_LAUNCHER_CLICK_ON_APP, | 49 UMA_LAUNCHER_CLICK_ON_APP, |
| 49 UMA_LAUNCHER_CLICK_ON_APPLIST_BUTTON, | 50 UMA_LAUNCHER_CLICK_ON_APPLIST_BUTTON, |
| 50 UMA_MOUSE_DOWN, | 51 UMA_MOUSE_DOWN, |
| 51 UMA_TOUCHSCREEN_TAP_DOWN, | 52 UMA_TOUCHSCREEN_TAP_DOWN, |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 | 155 |
| 155 // Produces l10n-ed text of remaining time, e.g.: "13 mins left" or | 156 // Produces l10n-ed text of remaining time, e.g.: "13 mins left" or |
| 156 // "13 Minuten übrig". | 157 // "13 Minuten übrig". |
| 157 // Used, for example, to display the remaining battery life. | 158 // Used, for example, to display the remaining battery life. |
| 158 virtual string16 GetTimeRemainingString(base::TimeDelta delta) = 0; | 159 virtual string16 GetTimeRemainingString(base::TimeDelta delta) = 0; |
| 159 }; | 160 }; |
| 160 | 161 |
| 161 } // namespace ash | 162 } // namespace ash |
| 162 | 163 |
| 163 #endif // ASH_SHELL_DELEGATE_H_ | 164 #endif // ASH_SHELL_DELEGATE_H_ |
| OLD | NEW |