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

Unified Diff: ui/events/ozone/evdev/input_controller_evdev.cc

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: Fix compile error 2 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 side-by-side diff with in-line comments
Download patch
Index: ui/events/ozone/evdev/input_controller_evdev.cc
diff --git a/ui/events/ozone/evdev/input_controller_evdev.cc b/ui/events/ozone/evdev/input_controller_evdev.cc
index a1c7f2ad5c986b17edd73763eddcb800cc85833f..587a9f06a697cd06ad95828e32c8d22f90bd22bf 100644
--- a/ui/events/ozone/evdev/input_controller_evdev.cc
+++ b/ui/events/ozone/evdev/input_controller_evdev.cc
@@ -92,6 +92,10 @@ void InputControllerEvdev::SetInternalTouchpadEnabled(bool enabled) {
ScheduleUpdateDeviceSettings();
}
+bool InputControllerEvdev::IsInternalTouchpadEnabled() const {
+ return input_device_settings_.enable_internal_touchpad;
+}
+
void InputControllerEvdev::SetTouchEventLoggingEnabled(bool enabled) {
input_device_settings_.touch_event_logging_enabled = enabled;
ScheduleUpdateDeviceSettings();

Powered by Google App Engine
This is Rietveld 408576698