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 30 matching lines...) Expand all Loading... |
41 } | 41 } |
42 | 42 |
43 namespace ash { | 43 namespace ash { |
44 | 44 |
45 class AccessibilityDelegate; | 45 class AccessibilityDelegate; |
46 class CapsLockDelegate; | 46 class CapsLockDelegate; |
47 class LauncherDelegate; | 47 class LauncherDelegate; |
48 struct LauncherItem; | 48 struct LauncherItem; |
49 class MediaDelegate; | 49 class MediaDelegate; |
50 class NewWindowDelegate; | 50 class NewWindowDelegate; |
51 class WindowTreeHostFactory; | 51 class RootWindowHostFactory; |
52 class SessionStateDelegate; | 52 class SessionStateDelegate; |
53 class ShelfModel; | 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, |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 virtual aura::client::UserActionClient* CreateUserActionClient() = 0; | 182 virtual aura::client::UserActionClient* CreateUserActionClient() = 0; |
183 | 183 |
184 // Records that the user performed an action. | 184 // Records that the user performed an action. |
185 virtual void RecordUserMetricsAction(UserMetricsAction action) = 0; | 185 virtual void RecordUserMetricsAction(UserMetricsAction action) = 0; |
186 | 186 |
187 // Creates a menu model of the context for the |root_window|. | 187 // Creates a menu model of the context for the |root_window|. |
188 virtual ui::MenuModel* CreateContextMenu(aura::Window* root_window) = 0; | 188 virtual ui::MenuModel* CreateContextMenu(aura::Window* root_window) = 0; |
189 | 189 |
190 // Creates a root window host factory. Shell takes ownership of the returned | 190 // Creates a root window host factory. Shell takes ownership of the returned |
191 // value. | 191 // value. |
192 virtual WindowTreeHostFactory* CreateWindowTreeHostFactory() = 0; | 192 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; |
193 | 193 |
194 // Get the product name. | 194 // Get the product name. |
195 virtual base::string16 GetProductName() const = 0; | 195 virtual base::string16 GetProductName() const = 0; |
196 }; | 196 }; |
197 | 197 |
198 } // namespace ash | 198 } // namespace ash |
199 | 199 |
200 #endif // ASH_SHELL_DELEGATE_H_ | 200 #endif // ASH_SHELL_DELEGATE_H_ |
OLD | NEW |