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 | 35 |
36 namespace keyboard { | 36 namespace keyboard { |
37 class KeyboardControllerProxy; | 37 class KeyboardControllerProxy; |
38 } | 38 } |
39 | 39 |
40 namespace ash { | 40 namespace ash { |
41 | 41 |
42 class AccessibilityDelegate; | 42 class AccessibilityDelegate; |
43 class MediaDelegate; | 43 class MediaDelegate; |
44 class NewWindowDelegate; | 44 class NewWindowDelegate; |
45 class WindowTreeHostFactory; | |
46 class SessionStateDelegate; | 45 class SessionStateDelegate; |
47 class ShelfDelegate; | 46 class ShelfDelegate; |
48 class ShelfItemDelegate; | 47 class ShelfItemDelegate; |
49 class ShelfModel; | 48 class ShelfModel; |
50 class SystemTrayDelegate; | 49 class SystemTrayDelegate; |
51 class UserWallpaperDelegate; | 50 class UserWallpaperDelegate; |
52 struct ShelfItem; | 51 struct ShelfItem; |
53 | 52 |
54 class ASH_EXPORT VirtualKeyboardStateObserver { | 53 class ASH_EXPORT VirtualKeyboardStateObserver { |
55 public: | 54 public: |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 virtual MediaDelegate* CreateMediaDelegate() = 0; | 135 virtual MediaDelegate* CreateMediaDelegate() = 0; |
137 | 136 |
138 // Creates a menu model of the context for the |root_window|. | 137 // Creates a menu model of the context for the |root_window|. |
139 // When a ContextMenu is used for an item created by ShelfWindowWatcher, | 138 // When a ContextMenu is used for an item created by ShelfWindowWatcher, |
140 // passes its ShelfItemDelegate and ShelfItem. | 139 // passes its ShelfItemDelegate and ShelfItem. |
141 virtual ui::MenuModel* CreateContextMenu( | 140 virtual ui::MenuModel* CreateContextMenu( |
142 aura::Window* root_window, | 141 aura::Window* root_window, |
143 ash::ShelfItemDelegate* item_delegate, | 142 ash::ShelfItemDelegate* item_delegate, |
144 ash::ShelfItem* item) = 0; | 143 ash::ShelfItem* item) = 0; |
145 | 144 |
146 // Creates a root window host factory. Shell takes ownership of the returned | |
147 // value. | |
148 virtual WindowTreeHostFactory* CreateWindowTreeHostFactory() = 0; | |
149 | |
150 // Creates a GPU support object. Shell takes ownership of the object. | 145 // Creates a GPU support object. Shell takes ownership of the object. |
151 virtual GPUSupport* CreateGPUSupport() = 0; | 146 virtual GPUSupport* CreateGPUSupport() = 0; |
152 | 147 |
153 // Get the product name. | 148 // Get the product name. |
154 virtual base::string16 GetProductName() const = 0; | 149 virtual base::string16 GetProductName() const = 0; |
155 }; | 150 }; |
156 | 151 |
157 } // namespace ash | 152 } // namespace ash |
158 | 153 |
159 #endif // ASH_SHELL_DELEGATE_H_ | 154 #endif // ASH_SHELL_DELEGATE_H_ |
OLD | NEW |