Index: ui/events/ozone/evdev/libgestures_glue/gesture_property_provider.h |
diff --git a/ui/events/ozone/evdev/libgestures_glue/gesture_property_provider.h b/ui/events/ozone/evdev/libgestures_glue/gesture_property_provider.h |
index f59793d50d42ded48ad3164d7da28f2bc6ccea1e..a9b3866409340a56406efa10bf767b919e7d60f3 100644 |
--- a/ui/events/ozone/evdev/libgestures_glue/gesture_property_provider.h |
+++ b/ui/events/ozone/evdev/libgestures_glue/gesture_property_provider.h |
@@ -82,6 +82,11 @@ class EVENTS_OZONE_EVDEV_EXPORT GesturePropertyProvider { |
bool GetDeviceIdsByType(const EventDeviceType type, |
std::vector<DeviceId>* device_ids); |
+ // Check if a device id matches a device type. Return true if it matches. |
+ // Return false if it doesn't match or if it doesn't use |
+ // the GesturePropertyProvider. |
+ bool IsDeviceIdOfType(const DeviceId device_id, const EventDeviceType type); |
+ |
// Get the GesturesProp object. Returns NULL if not found. |
// |
// The user may use the object returned to set/get the property value in the |