| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 // passes its ShelfItemDelegate and LauncherItem. | 131 // passes its ShelfItemDelegate and LauncherItem. |
| 132 virtual ui::MenuModel* CreateContextMenu( | 132 virtual ui::MenuModel* CreateContextMenu( |
| 133 aura::Window* root_window, | 133 aura::Window* root_window, |
| 134 ash::ShelfItemDelegate* item_delegate, | 134 ash::ShelfItemDelegate* item_delegate, |
| 135 ash::LauncherItem* item) = 0; | 135 ash::LauncherItem* item) = 0; |
| 136 | 136 |
| 137 // Creates a root window host factory. Shell takes ownership of the returned | 137 // Creates a root window host factory. Shell takes ownership of the returned |
| 138 // value. | 138 // value. |
| 139 virtual WindowTreeHostFactory* CreateWindowTreeHostFactory() = 0; | 139 virtual WindowTreeHostFactory* CreateWindowTreeHostFactory() = 0; |
| 140 | 140 |
| 141 // Creates a GPU support object. Shell takes ownership of the object. |
| 142 virtual GPUSupport* CreateGPUSupport() = 0; |
| 143 |
| 141 // Get the product name. | 144 // Get the product name. |
| 142 virtual base::string16 GetProductName() const = 0; | 145 virtual base::string16 GetProductName() const = 0; |
| 143 }; | 146 }; |
| 144 | 147 |
| 145 } // namespace ash | 148 } // namespace ash |
| 146 | 149 |
| 147 #endif // ASH_SHELL_DELEGATE_H_ | 150 #endif // ASH_SHELL_DELEGATE_H_ |
| OLD | NEW |