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

Unified Diff: ash/common/shell_delegate.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: ash/common/shell_delegate.h
diff --git a/ash/common/shell_delegate.h b/ash/common/shell_delegate.h
index 27d59cff49f0f1b6b4e3b1e0bf4625e1c04a92fe..169ff0899ea22003305348de1c38871c4d40cfbc 100644
--- a/ash/common/shell_delegate.h
+++ b/ash/common/shell_delegate.h
@@ -133,6 +133,9 @@ class ASH_EXPORT ShellDelegate {
virtual gfx::Image GetDeprecatedAcceleratorImage() const = 0;
+ // Returns true if touchscreen is on, otherwise false.
+ virtual bool IsTouchscreenEnabled() const = 0;
+
// Toggles the status of the touchpad / touchscreen on or off.
virtual void ToggleTouchpad() {}
Daniel Erat 2016/11/29 21:03:36 "toggle" methods always seem a bit strange to me,
Qiang(Joe) Xu 2016/11/30 22:09:11 done
virtual void ToggleTouchscreen() {}
« no previous file with comments | « no previous file | ash/mus/shell_delegate_mus.h » ('j') | ash/system/chromeos/power/tablet_power_button_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698