| 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" |
| 11 #include "ash/shell.h" | 11 #include "ash/shell.h" |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
| 14 | 14 |
| 15 namespace app_list { | 15 namespace app_list { |
| 16 class AppListViewDelegate; | 16 class AppListViewDelegate; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace aura { | 19 namespace aura { |
| 20 class RootWindow; | 20 class RootWindow; |
| 21 class Window; | 21 class Window; |
| 22 } | 22 } |
| 23 | 23 |
| 24 namespace content { | 24 namespace content { |
| 25 class BrowserContext; | 25 class BrowserContext; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace gfx { |
| 29 class Image; |
| 30 } |
| 31 |
| 28 namespace ui { | 32 namespace ui { |
| 29 class MenuModel; | 33 class MenuModel; |
| 30 } | 34 } |
| 31 | 35 |
| 32 namespace views { | 36 namespace views { |
| 33 class Widget; | 37 class Widget; |
| 34 } | 38 } |
| 35 | 39 |
| 36 namespace keyboard { | 40 namespace keyboard { |
| 37 class KeyboardControllerProxy; | 41 class KeyboardControllerProxy; |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 virtual ui::MenuModel* CreateContextMenu( | 152 virtual ui::MenuModel* CreateContextMenu( |
| 149 aura::Window* root_window, | 153 aura::Window* root_window, |
| 150 ash::ShelfItemDelegate* item_delegate, | 154 ash::ShelfItemDelegate* item_delegate, |
| 151 ash::ShelfItem* item) = 0; | 155 ash::ShelfItem* item) = 0; |
| 152 | 156 |
| 153 // Creates a GPU support object. Shell takes ownership of the object. | 157 // Creates a GPU support object. Shell takes ownership of the object. |
| 154 virtual GPUSupport* CreateGPUSupport() = 0; | 158 virtual GPUSupport* CreateGPUSupport() = 0; |
| 155 | 159 |
| 156 // Get the product name. | 160 // Get the product name. |
| 157 virtual base::string16 GetProductName() const = 0; | 161 virtual base::string16 GetProductName() const = 0; |
| 162 |
| 163 virtual void OpenKeyboardShortcutHelpPage() const {} |
| 164 |
| 165 virtual gfx::Image GetDeprecatedAcceleratorImage() const = 0; |
| 158 }; | 166 }; |
| 159 | 167 |
| 160 } // namespace ash | 168 } // namespace ash |
| 161 | 169 |
| 162 #endif // ASH_SHELL_DELEGATE_H_ | 170 #endif // ASH_SHELL_DELEGATE_H_ |
| OLD | NEW |