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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 virtual MediaDelegate* CreateMediaDelegate() = 0; | 138 virtual MediaDelegate* CreateMediaDelegate() = 0; |
140 | 139 |
141 // Creates a menu model of the context for the |root_window|. | 140 // Creates a menu model of the context for the |root_window|. |
142 // When a ContextMenu is used for an item created by ShelfWindowWatcher, | 141 // When a ContextMenu is used for an item created by ShelfWindowWatcher, |
143 // passes its ShelfItemDelegate and ShelfItem. | 142 // passes its ShelfItemDelegate and ShelfItem. |
144 virtual ui::MenuModel* CreateContextMenu( | 143 virtual ui::MenuModel* CreateContextMenu( |
145 aura::Window* root_window, | 144 aura::Window* root_window, |
146 ash::ShelfItemDelegate* item_delegate, | 145 ash::ShelfItemDelegate* item_delegate, |
147 ash::ShelfItem* item) = 0; | 146 ash::ShelfItem* item) = 0; |
148 | 147 |
149 // Creates a root window host factory. Shell takes ownership of the returned | |
150 // value. | |
151 virtual WindowTreeHostFactory* CreateWindowTreeHostFactory() = 0; | |
152 | |
153 // Creates a GPU support object. Shell takes ownership of the object. | 148 // Creates a GPU support object. Shell takes ownership of the object. |
154 virtual GPUSupport* CreateGPUSupport() = 0; | 149 virtual GPUSupport* CreateGPUSupport() = 0; |
155 | 150 |
156 // Get the product name. | 151 // Get the product name. |
157 virtual base::string16 GetProductName() const = 0; | 152 virtual base::string16 GetProductName() const = 0; |
158 }; | 153 }; |
159 | 154 |
160 } // namespace ash | 155 } // namespace ash |
161 | 156 |
162 #endif // ASH_SHELL_DELEGATE_H_ | 157 #endif // ASH_SHELL_DELEGATE_H_ |
OLD | NEW |