Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Side by Side Diff: ash/shell_delegate.h

Issue 13164002: Create and show the virtual keyboard. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/magnifier/magnifier_constants.h" 11 #include "ash/magnifier/magnifier_constants.h"
12 #include "ash/shell.h" 12 #include "ash/shell.h"
13 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "base/string16.h" 14 #include "base/string16.h"
15 #include "base/time.h" 15 #include "base/time.h"
16 16
17 namespace app_list { 17 namespace app_list {
18 class AppListViewDelegate; 18 class AppListViewDelegate;
19 } 19 }
20 20
21 namespace aura { 21 namespace aura {
22 class RootWindow; 22 class RootWindow;
23 class Window; 23 class Window;
24 namespace client { 24 namespace client {
25 class UserActionClient; 25 class UserActionClient;
26 } 26 }
27 } 27 }
28 28
29 namespace content {
30 class WebContents;
sadrul 2013/03/28 19:17:00 This doesn't seem necessary.
bryeung 2013/04/02 15:56:53 Leftovers. Good catch.
31 }
32
29 namespace ui { 33 namespace ui {
30 class MenuModel; 34 class MenuModel;
31 } 35 }
32 36
33 namespace views { 37 namespace views {
34 class Widget; 38 class Widget;
35 } 39 }
36 40
41 namespace virtual_keyboard {
42 class VirtualKeyboardControllerProxy;
43 }
44
37 namespace ash { 45 namespace ash {
38 46
39 class CapsLockDelegate; 47 class CapsLockDelegate;
40 class LauncherDelegate; 48 class LauncherDelegate;
41 class LauncherModel; 49 class LauncherModel;
42 struct LauncherItem; 50 struct LauncherItem;
43 class RootWindowHostFactory; 51 class RootWindowHostFactory;
44 class SystemTrayDelegate; 52 class SystemTrayDelegate;
45 class UserWallpaperDelegate; 53 class UserWallpaperDelegate;
46 54
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 // 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.
144 virtual void RestoreTab() = 0; 152 virtual void RestoreTab() = 0;
145 153
146 // 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
147 // is created. 155 // is created.
148 virtual bool RotatePaneFocus(Shell::Direction direction) = 0; 156 virtual bool RotatePaneFocus(Shell::Direction direction) = 0;
149 157
150 // Shows the keyboard shortcut overlay. 158 // Shows the keyboard shortcut overlay.
151 virtual void ShowKeyboardOverlay() = 0; 159 virtual void ShowKeyboardOverlay() = 0;
152 160
161 // Create a shell-specific virtual_keyboard::VirtualKeyboardControllerProxy
162 virtual virtual_keyboard::VirtualKeyboardControllerProxy*
163 CreateVirtualKeyboardControllerProxy() = 0;
sadrul 2013/03/28 19:17:00 You will likely need another dummy implementation
bryeung 2013/04/02 15:56:53 Done.
164
153 // Shows the task manager window. 165 // Shows the task manager window.
154 virtual void ShowTaskManager() = 0; 166 virtual void ShowTaskManager() = 0;
155 167
156 // 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.
157 virtual content::BrowserContext* GetCurrentBrowserContext() = 0; 169 virtual content::BrowserContext* GetCurrentBrowserContext() = 0;
158 170
159 // Invoked to toggle spoken feedback for accessibility 171 // Invoked to toggle spoken feedback for accessibility
160 virtual void ToggleSpokenFeedback( 172 virtual void ToggleSpokenFeedback(
161 AccessibilityNotificationVisibility notify) = 0; 173 AccessibilityNotificationVisibility notify) = 0;
162 174
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 // value. 255 // value.
244 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; 256 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0;
245 257
246 // Get the product name. 258 // Get the product name.
247 virtual string16 GetProductName() const = 0; 259 virtual string16 GetProductName() const = 0;
248 }; 260 };
249 261
250 } // namespace ash 262 } // namespace ash
251 263
252 #endif // ASH_SHELL_DELEGATE_H_ 264 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698