| 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 | 155 |
| 156 // Creates a GPU support object. Shell takes ownership of the object. | 156 // Creates a GPU support object. Shell takes ownership of the object. |
| 157 virtual GPUSupport* CreateGPUSupport() = 0; | 157 virtual GPUSupport* CreateGPUSupport() = 0; |
| 158 | 158 |
| 159 // Get the product name. | 159 // Get the product name. |
| 160 virtual base::string16 GetProductName() const = 0; | 160 virtual base::string16 GetProductName() const = 0; |
| 161 | 161 |
| 162 virtual void OpenKeyboardShortcutHelpPage() const {} | 162 virtual void OpenKeyboardShortcutHelpPage() const {} |
| 163 | 163 |
| 164 virtual gfx::Image GetDeprecatedAcceleratorImage() const = 0; | 164 virtual gfx::Image GetDeprecatedAcceleratorImage() const = 0; |
| 165 |
| 166 // Toggles the status of the touchpad / touchscreen on or off. |
| 167 virtual void ToggleTouchpad() {} |
| 168 virtual void ToggleTouchscreen() {} |
| 165 }; | 169 }; |
| 166 | 170 |
| 167 } // namespace ash | 171 } // namespace ash |
| 168 | 172 |
| 169 #endif // ASH_SHELL_DELEGATE_H_ | 173 #endif // ASH_SHELL_DELEGATE_H_ |
| OLD | NEW |