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

Unified Diff: chrome/browser/chromeos/system/input_device_settings_impl_ozone.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 actions.xml. Created 5 years, 2 months 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_impl_ozone.cc
diff --git a/chrome/browser/chromeos/system/input_device_settings_impl_ozone.cc b/chrome/browser/chromeos/system/input_device_settings_impl_ozone.cc
index b9e92df6d83dab6270822ae2b481abd34e52d5cb..0fb8ee403206a214b02217198cc287f3d518b224 100644
--- a/chrome/browser/chromeos/system/input_device_settings_impl_ozone.cc
+++ b/chrome/browser/chromeos/system/input_device_settings_impl_ozone.cc
@@ -39,6 +39,7 @@ class InputDeviceSettingsImplOzone : public InputDeviceSettings {
void SetPrimaryButtonRight(bool right) override;
void ReapplyTouchpadSettings() override;
void ReapplyMouseSettings() override;
+ void SetInternalTouchpadEnabled(bool enabled) override;
// Cached InputController pointer. It should be fixed throughout the browser
// session.
@@ -128,6 +129,10 @@ void InputDeviceSettingsImplOzone::ReapplyMouseSettings() {
MouseSettings::Apply(current_mouse_settings_, this);
}
+void InputDeviceSettingsImplOzone::SetInternalTouchpadEnabled(bool enabled) {
+ input_controller_->SetInternalTouchpadEnabled(enabled);
+}
+
} // namespace
// static

Powered by Google App Engine
This is Rietveld 408576698