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" |
11 #include "ash/magnifier/magnifier_constants.h" | 11 #include "ash/magnifier/magnifier_constants.h" |
12 #include "ash/shell.h" | 12 #include "ash/shell.h" |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/string16.h" | 14 #include "base/string16.h" |
15 #include "base/time.h" | 15 #include "base/time.h" |
16 | 16 |
17 namespace app_list { | 17 namespace app_list { |
18 class AppListViewDelegate; | 18 class AppListViewDelegate; |
19 } | 19 } |
20 | 20 |
21 namespace aura { | 21 namespace aura { |
22 class RootWindow; | 22 class RootWindow; |
| 23 class RootWindowDelegate; |
23 class Window; | 24 class Window; |
24 namespace client { | 25 namespace client { |
25 class StackingClient; | 26 class StackingClient; |
26 class UserActionClient; | 27 class UserActionClient; |
27 } | 28 } |
28 } | 29 } |
29 | 30 |
30 namespace ui { | 31 namespace ui { |
31 class MenuModel; | 32 class MenuModel; |
32 } | 33 } |
(...skipping 172 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 delegate. Shell takes ownership of the returned |
| 218 // value. |
| 219 virtual aura::RootWindowDelegate* CreateRootWindowDelegate() = 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 |