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

Side by Side Diff: ash/shell_delegate.h

Issue 1412623006: Developer Feature: Add Debug Accelerators to Toggle Touchscreen/Touchpad On or Off (CrOS) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sadrul's comment Created 5 years, 1 month 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
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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698