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 <string> | 8 #include <string> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 namespace views { | 35 namespace views { |
36 class Widget; | 36 class Widget; |
37 } | 37 } |
38 | 38 |
39 namespace keyboard { | 39 namespace keyboard { |
40 class KeyboardControllerProxy; | 40 class KeyboardControllerProxy; |
41 } | 41 } |
42 | 42 |
43 namespace ash { | 43 namespace ash { |
44 | 44 |
| 45 class AccessibilityDelegate; |
45 class CapsLockDelegate; | 46 class CapsLockDelegate; |
46 class LauncherDelegate; | 47 class LauncherDelegate; |
47 class LauncherModel; | |
48 struct LauncherItem; | 48 struct LauncherItem; |
49 class MediaDelegate; | 49 class MediaDelegate; |
50 class NewWindowDelegate; | 50 class NewWindowDelegate; |
51 class RootWindowHostFactory; | 51 class RootWindowHostFactory; |
52 class AccessibilityDelegate; | |
53 class SessionStateDelegate; | 52 class SessionStateDelegate; |
| 53 class ShelfModel; |
54 class SystemTrayDelegate; | 54 class SystemTrayDelegate; |
55 class UserWallpaperDelegate; | 55 class UserWallpaperDelegate; |
56 | 56 |
57 enum UserMetricsAction { | 57 enum UserMetricsAction { |
58 UMA_ACCEL_KEYBOARD_BRIGHTNESS_DOWN_F6, | 58 UMA_ACCEL_KEYBOARD_BRIGHTNESS_DOWN_F6, |
59 UMA_ACCEL_KEYBOARD_BRIGHTNESS_UP_F7, | 59 UMA_ACCEL_KEYBOARD_BRIGHTNESS_UP_F7, |
60 UMA_ACCEL_LOCK_SCREEN_L, | 60 UMA_ACCEL_LOCK_SCREEN_L, |
61 UMA_ACCEL_LOCK_SCREEN_LOCK_BUTTON, | 61 UMA_ACCEL_LOCK_SCREEN_LOCK_BUTTON, |
62 UMA_ACCEL_LOCK_SCREEN_POWER_BUTTON, | 62 UMA_ACCEL_LOCK_SCREEN_POWER_BUTTON, |
63 UMA_ACCEL_FULLSCREEN_F4, | 63 UMA_ACCEL_FULLSCREEN_F4, |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 | 145 |
146 // Get the current browser context. This will get us the current profile. | 146 // Get the current browser context. This will get us the current profile. |
147 virtual content::BrowserContext* GetCurrentBrowserContext() = 0; | 147 virtual content::BrowserContext* GetCurrentBrowserContext() = 0; |
148 | 148 |
149 // Invoked to create an AppListViewDelegate. Shell takes the ownership of | 149 // Invoked to create an AppListViewDelegate. Shell takes the ownership of |
150 // the created delegate. | 150 // the created delegate. |
151 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() = 0; | 151 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() = 0; |
152 | 152 |
153 // Creates a new LauncherDelegate. Shell takes ownership of the returned | 153 // Creates a new LauncherDelegate. Shell takes ownership of the returned |
154 // value. | 154 // value. |
155 virtual LauncherDelegate* CreateLauncherDelegate( | 155 virtual LauncherDelegate* CreateLauncherDelegate(ShelfModel* model) = 0; |
156 ash::LauncherModel* model) = 0; | |
157 | 156 |
158 // Creates a system-tray delegate. Shell takes ownership of the delegate. | 157 // Creates a system-tray delegate. Shell takes ownership of the delegate. |
159 virtual SystemTrayDelegate* CreateSystemTrayDelegate() = 0; | 158 virtual SystemTrayDelegate* CreateSystemTrayDelegate() = 0; |
160 | 159 |
161 // Creates a user wallpaper delegate. Shell takes ownership of the delegate. | 160 // Creates a user wallpaper delegate. Shell takes ownership of the delegate. |
162 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() = 0; | 161 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() = 0; |
163 | 162 |
164 // Creates a caps lock delegate. Shell takes ownership of the delegate. | 163 // Creates a caps lock delegate. Shell takes ownership of the delegate. |
165 virtual CapsLockDelegate* CreateCapsLockDelegate() = 0; | 164 virtual CapsLockDelegate* CreateCapsLockDelegate() = 0; |
166 | 165 |
(...skipping 22 matching lines...) Expand all Loading... |
189 // value. | 188 // value. |
190 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; | 189 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; |
191 | 190 |
192 // Get the product name. | 191 // Get the product name. |
193 virtual base::string16 GetProductName() const = 0; | 192 virtual base::string16 GetProductName() const = 0; |
194 }; | 193 }; |
195 | 194 |
196 } // namespace ash | 195 } // namespace ash |
197 | 196 |
198 #endif // ASH_SHELL_DELEGATE_H_ | 197 #endif // ASH_SHELL_DELEGATE_H_ |
OLD | NEW |