| 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 28 matching lines...) Expand all Loading... |
| 39 namespace keyboard { | 39 namespace keyboard { |
| 40 class KeyboardControllerProxy; | 40 class KeyboardControllerProxy; |
| 41 } | 41 } |
| 42 | 42 |
| 43 namespace ash { | 43 namespace ash { |
| 44 | 44 |
| 45 class AccessibilityDelegate; | 45 class AccessibilityDelegate; |
| 46 class CapsLockDelegate; | 46 class CapsLockDelegate; |
| 47 class MediaDelegate; | 47 class MediaDelegate; |
| 48 class NewWindowDelegate; | 48 class NewWindowDelegate; |
| 49 class RootWindowHostFactory; | 49 class WindowTreeHostFactory; |
| 50 class SessionStateDelegate; | 50 class SessionStateDelegate; |
| 51 class ShelfDelegate; | 51 class ShelfDelegate; |
| 52 class ShelfModel; | 52 class ShelfModel; |
| 53 class SystemTrayDelegate; | 53 class SystemTrayDelegate; |
| 54 class UserWallpaperDelegate; | 54 class UserWallpaperDelegate; |
| 55 struct LauncherItem; | 55 struct LauncherItem; |
| 56 | 56 |
| 57 // Delegate of the Shell. | 57 // Delegate of the Shell. |
| 58 class ASH_EXPORT ShellDelegate { | 58 class ASH_EXPORT ShellDelegate { |
| 59 public: | 59 public: |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 virtual MediaDelegate* CreateMediaDelegate() = 0; | 123 virtual MediaDelegate* CreateMediaDelegate() = 0; |
| 124 | 124 |
| 125 // Creates a user action client. Shell takes ownership of the object. | 125 // Creates a user action client. Shell takes ownership of the object. |
| 126 virtual aura::client::UserActionClient* CreateUserActionClient() = 0; | 126 virtual aura::client::UserActionClient* CreateUserActionClient() = 0; |
| 127 | 127 |
| 128 // Creates a menu model of the context for the |root_window|. | 128 // Creates a menu model of the context for the |root_window|. |
| 129 virtual ui::MenuModel* CreateContextMenu(aura::Window* root_window) = 0; | 129 virtual ui::MenuModel* CreateContextMenu(aura::Window* root_window) = 0; |
| 130 | 130 |
| 131 // Creates a root window host factory. Shell takes ownership of the returned | 131 // Creates a root window host factory. Shell takes ownership of the returned |
| 132 // value. | 132 // value. |
| 133 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; | 133 virtual WindowTreeHostFactory* CreateWindowTreeHostFactory() = 0; |
| 134 | 134 |
| 135 // Get the product name. | 135 // Get the product name. |
| 136 virtual base::string16 GetProductName() const = 0; | 136 virtual base::string16 GetProductName() const = 0; |
| 137 }; | 137 }; |
| 138 | 138 |
| 139 } // namespace ash | 139 } // namespace ash |
| 140 | 140 |
| 141 #endif // ASH_SHELL_DELEGATE_H_ | 141 #endif // ASH_SHELL_DELEGATE_H_ |
| OLD | NEW |