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

Unified Diff: ui/events/ozone/evdev/input_device_settings_evdev.h

Issue 956793002: ozone: evdev: Keep track of settings & apply to new devices (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2311
Patch Set: Created 5 years, 10 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: ui/events/ozone/evdev/input_device_settings_evdev.h
diff --git a/ui/events/ozone/evdev/input_device_settings_evdev.h b/ui/events/ozone/evdev/input_device_settings_evdev.h
new file mode 100644
index 0000000000000000000000000000000000000000..6c04a16d2dac5147b7b55fd8142d2d0ad228dd2d
--- /dev/null
+++ b/ui/events/ozone/evdev/input_device_settings_evdev.h
@@ -0,0 +1,27 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_SETTINGS_EVDEV_H_
+#define UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_SETTINGS_EVDEV_H_
+
+namespace ui {
+
+struct InputDeviceSettingsEvdev {
+ InputDeviceSettingsEvdev();
+ InputDeviceSettingsEvdev(const InputDeviceSettingsEvdev& other);
+ ~InputDeviceSettingsEvdev();
+
+ bool tap_to_click_enabled;
+ bool three_finger_click_enabled;
+ bool tap_dragging_enabled;
+ bool natural_scroll_enabled;
+ bool tap_to_click_paused;
+
+ int touchpad_sensitivity;
+ int mouse_sensitivity;
+};
+
+} // namespace ui
+
+#endif // UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_SETTINGS_EVDEV_H_
« no previous file with comments | « ui/events/ozone/evdev/input_device_factory_evdev_proxy.cc ('k') | ui/events/ozone/evdev/input_device_settings_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698