| Index: ui/events/device_data_manager.h
|
| diff --git a/ui/events/device_data_manager.h b/ui/events/device_data_manager.h
|
| index 7b2feaaa57a6c971eed5154528df7a094e12f310..838ce67210f1dc669e9cbc079d46967e4be34293 100644
|
| --- a/ui/events/device_data_manager.h
|
| +++ b/ui/events/device_data_manager.h
|
| @@ -30,6 +30,9 @@ class EVENTS_BASE_EXPORT DeviceDataManager {
|
| void ApplyTouchTransformer(int touch_device_id, float* x, float* y);
|
| int64_t GetDisplayForTouchDevice(int touch_device_id) const;
|
|
|
| + void UpdateTouchRadiusScale(int touch_device_id, double scale);
|
| + void ApplyTouchRadiusScale(int touch_device_id, double* radius);
|
| +
|
| protected:
|
| DeviceDataManager();
|
|
|
| @@ -42,6 +45,8 @@ class EVENTS_BASE_EXPORT DeviceDataManager {
|
|
|
| bool IsTouchDeviceIdValid(int touch_device_id) const;
|
|
|
| + double touch_radius_scale_map_[kMaxDeviceNum];
|
| +
|
| // Table to keep track of which display id is mapped to which touch device.
|
| int64_t touch_device_to_display_map_[kMaxDeviceNum];
|
| // Index table to find the TouchTransformer for a touch device.
|
|
|