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

Unified Diff: ui/events/ozone/evdev/input_device_factory_evdev_proxy.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_factory_evdev_proxy.h
diff --git a/ui/events/ozone/evdev/input_device_factory_evdev_proxy.h b/ui/events/ozone/evdev/input_device_factory_evdev_proxy.h
index e231fa272e7117ae1d6ec31e7b0b1dce49d0ec34..a7b4bb6e3d7cac3573b3723bfd93074b6d6abfba 100644
--- a/ui/events/ozone/evdev/input_device_factory_evdev_proxy.h
+++ b/ui/events/ozone/evdev/input_device_factory_evdev_proxy.h
@@ -18,6 +18,7 @@ namespace ui {
enum class DomCode;
class InputDeviceFactoryEvdev;
+struct InputDeviceSettingsEvdev;
typedef base::Callback<void(scoped_ptr<std::string>)> GetTouchDeviceStatusReply;
@@ -41,13 +42,7 @@ class EVENTS_OZONE_EVDEV_EXPORT InputDeviceFactoryEvdevProxy {
void DisableInternalKeyboardExceptKeys(
scoped_ptr<std::set<DomCode>> excepted_keys);
void EnableInternalKeyboard();
- void SetTouchpadSensitivity(int value);
- void SetTapToClick(bool enabled);
- void SetThreeFingerClick(bool enabled);
- void SetTapDragging(bool enabled);
- void SetNaturalScroll(bool enabled);
- void SetMouseSensitivity(int value);
- void SetTapToClickPaused(bool state);
+ void UpdateInputDeviceSettings(const InputDeviceSettingsEvdev& settings);
void GetTouchDeviceStatus(const GetTouchDeviceStatusReply& reply);
private:
« no previous file with comments | « ui/events/ozone/evdev/input_device_factory_evdev.cc ('k') | ui/events/ozone/evdev/input_device_factory_evdev_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698