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

Unified Diff: chrome/browser/chromeos/system/input_device_settings.h

Issue 2533373002: Enabled/disable touch screen in TabletPowerButtonController (Closed)
Patch Set: touch_screen_status Created 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/system/input_device_settings.h
diff --git a/chrome/browser/chromeos/system/input_device_settings.h b/chrome/browser/chromeos/system/input_device_settings.h
index 5cf208f29a27b384e3d53e4eaf9dad212c6a6cdf..ea5f77d693338ea10d6e94b6ec731c5a8307b392 100644
--- a/chrome/browser/chromeos/system/input_device_settings.h
+++ b/chrome/browser/chromeos/system/input_device_settings.h
@@ -186,6 +186,9 @@ class CHROMEOS_EXPORT InputDeviceSettings {
void ToggleTouchscreen();
void ToggleTouchpad();
+ // Returns true if Touchscreen is on, otherwise false.
+ bool IsTouchscreenEnabled() const;
+
// Calls |callback|, possibly asynchronously, after determining if a touchpad
// is connected.
virtual void TouchpadExists(const DeviceExistsCallback& callback) = 0;

Powered by Google App Engine
This is Rietveld 408576698