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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 | 134 |
135 // Invoked when the user uses F4 to toggle window maximized state. | 135 // Invoked when the user uses F4 to toggle window maximized state. |
136 virtual void ToggleMaximized() = 0; | 136 virtual void ToggleMaximized() = 0; |
137 | 137 |
138 // Invoked when an accelerator is used to open the file manager. | 138 // Invoked when an accelerator is used to open the file manager. |
139 virtual void OpenFileManager(bool as_dialog) = 0; | 139 virtual void OpenFileManager(bool as_dialog) = 0; |
140 | 140 |
141 // Invoked when the user opens Crosh. | 141 // Invoked when the user opens Crosh. |
142 virtual void OpenCrosh() = 0; | 142 virtual void OpenCrosh() = 0; |
143 | 143 |
144 // Invoked when the user needs to set up mobile networking. | |
145 virtual void OpenMobileSetup(const std::string& service_path) = 0; | |
146 | |
147 // Invoked when the user uses Shift+Ctrl+T to restore the closed tab. | 144 // Invoked when the user uses Shift+Ctrl+T to restore the closed tab. |
148 virtual void RestoreTab() = 0; | 145 virtual void RestoreTab() = 0; |
149 | 146 |
150 // Shows the keyboard shortcut overlay. | 147 // Shows the keyboard shortcut overlay. |
151 virtual void ShowKeyboardOverlay() = 0; | 148 virtual void ShowKeyboardOverlay() = 0; |
152 | 149 |
153 // Create a shell-specific keyboard::KeyboardControllerProxy | 150 // Create a shell-specific keyboard::KeyboardControllerProxy |
154 virtual keyboard::KeyboardControllerProxy* | 151 virtual keyboard::KeyboardControllerProxy* |
155 CreateKeyboardControllerProxy() = 0; | 152 CreateKeyboardControllerProxy() = 0; |
156 | 153 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 // value. | 250 // value. |
254 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; | 251 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; |
255 | 252 |
256 // Get the product name. | 253 // Get the product name. |
257 virtual base::string16 GetProductName() const = 0; | 254 virtual base::string16 GetProductName() const = 0; |
258 }; | 255 }; |
259 | 256 |
260 } // namespace ash | 257 } // namespace ash |
261 | 258 |
262 #endif // ASH_SHELL_DELEGATE_H_ | 259 #endif // ASH_SHELL_DELEGATE_H_ |
OLD | NEW |