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 29 matching lines...) Expand all Loading... |
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 SessionStateDelegate; | 45 class SessionStateDelegate; |
46 class ShelfDelegate; | 46 class ShelfDelegate; |
47 class ShelfItemDelegate; | 47 class ShelfItemDelegate; |
48 class ShelfModel; | 48 class ShelfModel; |
49 class SystemTrayDelegate; | 49 class SystemTrayDelegate; |
| 50 class UserMetricsRecorderProxy; |
50 class UserWallpaperDelegate; | 51 class UserWallpaperDelegate; |
51 struct ShelfItem; | 52 struct ShelfItem; |
52 | 53 |
53 class ASH_EXPORT VirtualKeyboardStateObserver { | 54 class ASH_EXPORT VirtualKeyboardStateObserver { |
54 public: | 55 public: |
55 // Called when keyboard is activated/deactivated. | 56 // Called when keyboard is activated/deactivated. |
56 virtual void OnVirtualKeyboardStateChanged(bool activated) {} | 57 virtual void OnVirtualKeyboardStateChanged(bool activated) {} |
57 | 58 |
58 protected: | 59 protected: |
59 virtual ~VirtualKeyboardStateObserver() {} | 60 virtual ~VirtualKeyboardStateObserver() {} |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 // When a ContextMenu is used for an item created by ShelfWindowWatcher, | 147 // When a ContextMenu is used for an item created by ShelfWindowWatcher, |
147 // passes its ShelfItemDelegate and ShelfItem. | 148 // passes its ShelfItemDelegate and ShelfItem. |
148 virtual ui::MenuModel* CreateContextMenu( | 149 virtual ui::MenuModel* CreateContextMenu( |
149 aura::Window* root_window, | 150 aura::Window* root_window, |
150 ash::ShelfItemDelegate* item_delegate, | 151 ash::ShelfItemDelegate* item_delegate, |
151 ash::ShelfItem* item) = 0; | 152 ash::ShelfItem* item) = 0; |
152 | 153 |
153 // Creates a GPU support object. Shell takes ownership of the object. | 154 // Creates a GPU support object. Shell takes ownership of the object. |
154 virtual GPUSupport* CreateGPUSupport() = 0; | 155 virtual GPUSupport* CreateGPUSupport() = 0; |
155 | 156 |
| 157 // TODO(bruthig): |
| 158 virtual UserMetricsRecorderProxy* CreateUserMetricsRecorderProxy() = 0; |
| 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; |
158 }; | 162 }; |
159 | 163 |
160 } // namespace ash | 164 } // namespace ash |
161 | 165 |
162 #endif // ASH_SHELL_DELEGATE_H_ | 166 #endif // ASH_SHELL_DELEGATE_H_ |
OLD | NEW |