Index: ui/events/devices/x11/device_data_manager_x11.h |
diff --git a/ui/events/devices/x11/device_data_manager_x11.h b/ui/events/devices/x11/device_data_manager_x11.h |
index c07aed4549845023b4a09957d8a921e5f9966e8f..94b9530d6cb8b973bd520dd742922c37de66e741 100644 |
--- a/ui/events/devices/x11/device_data_manager_x11.h |
+++ b/ui/events/devices/x11/device_data_manager_x11.h |
@@ -200,8 +200,9 @@ class EVENTS_DEVICES_X11_EXPORT DeviceDataManagerX11 |
double* y_offset); |
// Invalidate stored scroll class counters, since they can change when |
- // pointing at other windows. |
- void InvalidateScrollClasses(); |
+ // pointing at other windows. If no ID is specified, all devices are |
+ // invalidated. |
+ void InvalidateScrollClasses(int device_id = -1); |
sadrul
2016/06/27 14:49:21
Remove the default param-value. Document that usin
Will Shackleton
2016/07/12 16:05:04
Done.
|
// Extract data from a fling event. User must first verify the event type |
// with IsFlingEvent. Pointers shouldn't be NULL. |