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 23 matching lines...) Expand all Loading... |
34 namespace views { | 34 namespace views { |
35 class Widget; | 35 class Widget; |
36 } | 36 } |
37 | 37 |
38 namespace ash { | 38 namespace ash { |
39 | 39 |
40 class CapsLockDelegate; | 40 class CapsLockDelegate; |
41 class LauncherDelegate; | 41 class LauncherDelegate; |
42 class LauncherModel; | 42 class LauncherModel; |
43 struct LauncherItem; | 43 struct LauncherItem; |
| 44 class RootWindowHostFactory; |
44 class SystemTrayDelegate; | 45 class SystemTrayDelegate; |
45 class UserWallpaperDelegate; | 46 class UserWallpaperDelegate; |
46 | 47 |
47 enum UserMetricsAction { | 48 enum UserMetricsAction { |
48 UMA_ACCEL_KEYBOARD_BRIGHTNESS_DOWN_F6, | 49 UMA_ACCEL_KEYBOARD_BRIGHTNESS_DOWN_F6, |
49 UMA_ACCEL_KEYBOARD_BRIGHTNESS_UP_F7, | 50 UMA_ACCEL_KEYBOARD_BRIGHTNESS_UP_F7, |
50 UMA_ACCEL_MAXIMIZE_RESTORE_F4, | 51 UMA_ACCEL_MAXIMIZE_RESTORE_F4, |
51 UMA_ACCEL_NEWTAB_T, | 52 UMA_ACCEL_NEWTAB_T, |
52 UMA_ACCEL_NEXTWINDOW_F5, | 53 UMA_ACCEL_NEXTWINDOW_F5, |
53 UMA_ACCEL_NEXTWINDOW_TAB, | 54 UMA_ACCEL_NEXTWINDOW_TAB, |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 | 206 |
206 // Creates a menu model of the context for the |root_window|. | 207 // Creates a menu model of the context for the |root_window|. |
207 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root_window) = 0; | 208 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root_window) = 0; |
208 | 209 |
209 // Creates the stacking client. Shell takes ownership of the object. | 210 // Creates the stacking client. Shell takes ownership of the object. |
210 virtual aura::client::StackingClient* CreateStackingClient() = 0; | 211 virtual aura::client::StackingClient* CreateStackingClient() = 0; |
211 | 212 |
212 // True if the user's preferences have the Search key acting as a Function key | 213 // True if the user's preferences have the Search key acting as a Function key |
213 // modifier for accessing extended keyboard shortcuts. | 214 // modifier for accessing extended keyboard shortcuts. |
214 virtual bool IsSearchKeyActingAsFunctionKey() const = 0; | 215 virtual bool IsSearchKeyActingAsFunctionKey() const = 0; |
| 216 |
| 217 // Creates a root window host factory. Shell takes ownership of the returned |
| 218 // value. |
| 219 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; |
215 }; | 220 }; |
216 | 221 |
217 } // namespace ash | 222 } // namespace ash |
218 | 223 |
219 #endif // ASH_SHELL_DELEGATE_H_ | 224 #endif // ASH_SHELL_DELEGATE_H_ |
OLD | NEW |