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

Unified Diff: ui/events/ozone/evdev/libgestures_glue/gesture_property_provider.h

Issue 796803002: ozone: mouse button swap shouldn't affect touchpad physical click (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/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

Powered by Google App Engine
This is Rietveld 408576698