Index: ui/events/ozone/evdev/event_converter_evdev.h |
diff --git a/ui/events/ozone/evdev/event_converter_evdev.h b/ui/events/ozone/evdev/event_converter_evdev.h |
index 58a4f6efa27a0208f172fb345f7463c38418f3e0..2372fd89e2f9463ec633cea1c04d2298070a1307 100644 |
--- a/ui/events/ozone/evdev/event_converter_evdev.h |
+++ b/ui/events/ozone/evdev/event_converter_evdev.h |
@@ -77,6 +77,9 @@ class EVENTS_OZONE_EVDEV_EXPORT EventConverterEvdev |
// Returns true if the converter is used for a touchscreen device. |
virtual bool HasTouchscreen() const; |
+ // Returns true if the converter is used for a pen device. |
+ virtual bool HasPen() const; |
+ |
// Returns true if the converter is used for a device with a caps lock LED. |
virtual bool HasCapsLockLed() const; |
@@ -99,6 +102,10 @@ class EVENTS_OZONE_EVDEV_EXPORT EventConverterEvdev |
// Update touch event logging state. |
virtual void SetTouchEventLoggingEnabled(bool enabled); |
+ // Sets callback to enable/disable palm suppression. |
+ virtual void SetPalmSuppressionCallback( |
+ const base::Callback<void(bool)>& callback); |
+ |
// Helper to generate a base::TimeTicks from an input_event's time |
static base::TimeTicks TimeTicksFromInputEvent(const input_event& event); |