Index: ui/events/ozone/evdev/input_device_factory_evdev.h |
diff --git a/ui/events/ozone/evdev/input_device_factory_evdev.h b/ui/events/ozone/evdev/input_device_factory_evdev.h |
index 1b3279947f7d4a405bc386f6dc34bf78521e5057..30a8a49d13cabdcb686c9a8b63c60853e8c428c3 100644 |
--- a/ui/events/ozone/evdev/input_device_factory_evdev.h |
+++ b/ui/events/ozone/evdev/input_device_factory_evdev.h |
@@ -68,6 +68,8 @@ class EVENTS_OZONE_EVDEV_EXPORT InputDeviceFactoryEvdev { |
base::WeakPtr<InputDeviceFactoryEvdev> GetWeakPtr(); |
+ void EnablePalmSuppression(bool enabled); |
+ |
private: |
// Open device at path & starting processing events (on UI thread). |
void AttachInputDevice(std::unique_ptr<EventConverterEvdev> converter); |
@@ -130,6 +132,9 @@ class EVENTS_OZONE_EVDEV_EXPORT InputDeviceFactoryEvdev { |
// LEDs. |
bool caps_lock_led_enabled_ = false; |
+ // Whether touch palm suppression is enabled. |
+ bool palm_suppression_enabled_ = false; |
+ |
// Device settings. These primarily affect libgestures behavior. |
InputDeviceSettingsEvdev input_device_settings_; |