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