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

Side by Side Diff: ash/shell_delegate.h

Issue 1392713002: Extract content dependency from keyboard code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 2 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
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | ash/test/content/keyboard_controller_proxy_stub.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
(...skipping 20 matching lines...) Expand all
31 31
32 namespace ui { 32 namespace ui {
33 class MenuModel; 33 class MenuModel;
34 } 34 }
35 35
36 namespace views { 36 namespace views {
37 class Widget; 37 class Widget;
38 } 38 }
39 39
40 namespace keyboard { 40 namespace keyboard {
41 class KeyboardControllerProxy; 41 class KeyboardUI;
42 } 42 }
43 43
44 namespace ash { 44 namespace ash {
45 45
46 class AccessibilityDelegate; 46 class AccessibilityDelegate;
47 class MediaDelegate; 47 class MediaDelegate;
48 class NewWindowDelegate; 48 class NewWindowDelegate;
49 class SessionStateDelegate; 49 class SessionStateDelegate;
50 class ShelfDelegate; 50 class ShelfDelegate;
51 class ShelfItemDelegate; 51 class ShelfItemDelegate;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // can perform tasks necessary before the shell is initialized. 100 // can perform tasks necessary before the shell is initialized.
101 virtual void PreInit() = 0; 101 virtual void PreInit() = 0;
102 102
103 // Called at the beginninig of Shell destructor so that 103 // Called at the beginninig of Shell destructor so that
104 // delegate can use Shell instance to perform cleanup tasks. 104 // delegate can use Shell instance to perform cleanup tasks.
105 virtual void PreShutdown() = 0; 105 virtual void PreShutdown() = 0;
106 106
107 // Invoked when the user uses Ctrl-Shift-Q to close chrome. 107 // Invoked when the user uses Ctrl-Shift-Q to close chrome.
108 virtual void Exit() = 0; 108 virtual void Exit() = 0;
109 109
110 // Create a shell-specific keyboard::KeyboardControllerProxy 110 // Create a shell-specific keyboard::KeyboardUI
111 virtual keyboard::KeyboardControllerProxy* 111 virtual keyboard::KeyboardUI* CreateKeyboardUI() = 0;
112 CreateKeyboardControllerProxy() = 0;
113 112
114 // Called when virtual keyboard has been activated/deactivated. 113 // Called when virtual keyboard has been activated/deactivated.
115 virtual void VirtualKeyboardActivated(bool activated) = 0; 114 virtual void VirtualKeyboardActivated(bool activated) = 0;
116 115
117 // Adds or removes virtual keyboard state observer. 116 // Adds or removes virtual keyboard state observer.
118 virtual void AddVirtualKeyboardStateObserver( 117 virtual void AddVirtualKeyboardStateObserver(
119 VirtualKeyboardStateObserver* observer) = 0; 118 VirtualKeyboardStateObserver* observer) = 0;
120 virtual void RemoveVirtualKeyboardStateObserver( 119 virtual void RemoveVirtualKeyboardStateObserver(
121 VirtualKeyboardStateObserver* observer) = 0; 120 VirtualKeyboardStateObserver* observer) = 0;
122 121
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 virtual base::string16 GetProductName() const = 0; 160 virtual base::string16 GetProductName() const = 0;
162 161
163 virtual void OpenKeyboardShortcutHelpPage() const {} 162 virtual void OpenKeyboardShortcutHelpPage() const {}
164 163
165 virtual gfx::Image GetDeprecatedAcceleratorImage() const = 0; 164 virtual gfx::Image GetDeprecatedAcceleratorImage() const = 0;
166 }; 165 };
167 166
168 } // namespace ash 167 } // namespace ash
169 168
170 #endif // ASH_SHELL_DELEGATE_H_ 169 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | ash/test/content/keyboard_controller_proxy_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698