OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_EVENTS_DEVICES_DEVICE_DATA_MANAGER_H_ | 5 #ifndef UI_EVENTS_DEVICES_DEVICE_DATA_MANAGER_H_ |
6 #define UI_EVENTS_DEVICES_DEVICE_DATA_MANAGER_H_ | 6 #define UI_EVENTS_DEVICES_DEVICE_DATA_MANAGER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 76 |
77 double touch_radius_scale_map_[kMaxDeviceNum]; | 77 double touch_radius_scale_map_[kMaxDeviceNum]; |
78 | 78 |
79 // Table to keep track of which display id is mapped to which touch device. | 79 // Table to keep track of which display id is mapped to which touch device. |
80 int64_t touch_device_to_display_map_[kMaxDeviceNum]; | 80 int64_t touch_device_to_display_map_[kMaxDeviceNum]; |
81 // Index table to find the TouchTransformer for a touch device. | 81 // Index table to find the TouchTransformer for a touch device. |
82 gfx::Transform touch_device_transformer_map_[kMaxDeviceNum]; | 82 gfx::Transform touch_device_transformer_map_[kMaxDeviceNum]; |
83 | 83 |
84 std::vector<TouchscreenDevice> touchscreen_devices_; | 84 std::vector<TouchscreenDevice> touchscreen_devices_; |
85 std::vector<KeyboardDevice> keyboard_devices_; | 85 std::vector<KeyboardDevice> keyboard_devices_; |
| 86 std::vector<InputDevice> mouse_devices_; |
| 87 std::vector<InputDevice> touchpad_devices_; |
86 | 88 |
87 ObserverList<InputDeviceEventObserver> observers_; | 89 ObserverList<InputDeviceEventObserver> observers_; |
88 | 90 |
89 DISALLOW_COPY_AND_ASSIGN(DeviceDataManager); | 91 DISALLOW_COPY_AND_ASSIGN(DeviceDataManager); |
90 }; | 92 }; |
91 | 93 |
92 } // namespace ui | 94 } // namespace ui |
93 | 95 |
94 #endif // UI_EVENTS_DEVICES_DEVICE_DATA_MANAGER_H_ | 96 #endif // UI_EVENTS_DEVICES_DEVICE_DATA_MANAGER_H_ |
OLD | NEW |