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 16 matching lines...) Expand all Loading... |
27 } | 27 } |
28 | 28 |
29 namespace ui { | 29 namespace ui { |
30 class MenuModel; | 30 class MenuModel; |
31 } | 31 } |
32 | 32 |
33 namespace views { | 33 namespace views { |
34 class Widget; | 34 class Widget; |
35 } | 35 } |
36 | 36 |
| 37 namespace keyboard { |
| 38 class KeyboardControllerProxy; |
| 39 } |
| 40 |
37 namespace ash { | 41 namespace ash { |
38 | 42 |
39 class CapsLockDelegate; | 43 class CapsLockDelegate; |
40 class LauncherDelegate; | 44 class LauncherDelegate; |
41 class LauncherModel; | 45 class LauncherModel; |
42 struct LauncherItem; | 46 struct LauncherItem; |
43 class RootWindowHostFactory; | 47 class RootWindowHostFactory; |
44 class SystemTrayDelegate; | 48 class SystemTrayDelegate; |
45 class UserWallpaperDelegate; | 49 class UserWallpaperDelegate; |
46 | 50 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 // Invoked when the user uses Shift+Ctrl+T to restore the closed tab. | 151 // Invoked when the user uses Shift+Ctrl+T to restore the closed tab. |
148 virtual void RestoreTab() = 0; | 152 virtual void RestoreTab() = 0; |
149 | 153 |
150 // Moves keyboard focus to the next pane. Returns false if no browser window | 154 // Moves keyboard focus to the next pane. Returns false if no browser window |
151 // is created. | 155 // is created. |
152 virtual bool RotatePaneFocus(Shell::Direction direction) = 0; | 156 virtual bool RotatePaneFocus(Shell::Direction direction) = 0; |
153 | 157 |
154 // Shows the keyboard shortcut overlay. | 158 // Shows the keyboard shortcut overlay. |
155 virtual void ShowKeyboardOverlay() = 0; | 159 virtual void ShowKeyboardOverlay() = 0; |
156 | 160 |
| 161 // Create a shell-specific keyboard::KeyboardControllerProxy |
| 162 virtual keyboard::KeyboardControllerProxy* |
| 163 CreateKeyboardControllerProxy() = 0; |
| 164 |
157 // Shows the task manager window. | 165 // Shows the task manager window. |
158 virtual void ShowTaskManager() = 0; | 166 virtual void ShowTaskManager() = 0; |
159 | 167 |
160 // Get the current browser context. This will get us the current profile. | 168 // Get the current browser context. This will get us the current profile. |
161 virtual content::BrowserContext* GetCurrentBrowserContext() = 0; | 169 virtual content::BrowserContext* GetCurrentBrowserContext() = 0; |
162 | 170 |
163 // Invoked to toggle spoken feedback for accessibility | 171 // Invoked to toggle spoken feedback for accessibility |
164 virtual void ToggleSpokenFeedback( | 172 virtual void ToggleSpokenFeedback( |
165 AccessibilityNotificationVisibility notify) = 0; | 173 AccessibilityNotificationVisibility notify) = 0; |
166 | 174 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 // value. | 255 // value. |
248 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; | 256 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; |
249 | 257 |
250 // Get the product name. | 258 // Get the product name. |
251 virtual string16 GetProductName() const = 0; | 259 virtual string16 GetProductName() const = 0; |
252 }; | 260 }; |
253 | 261 |
254 } // namespace ash | 262 } // namespace ash |
255 | 263 |
256 #endif // ASH_SHELL_DELEGATE_H_ | 264 #endif // ASH_SHELL_DELEGATE_H_ |
OLD | NEW |