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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 // Index table to find the target display id for a touch device. | 81 // Index table to find the target display id for a touch device. |
82 int64_t touch_device_to_target_display_map_[kMaxDeviceNum]; | 82 int64_t touch_device_to_target_display_map_[kMaxDeviceNum]; |
83 // Index table to find the TouchTransformer for a touch device. | 83 // Index table to find the TouchTransformer for a touch device. |
84 gfx::Transform touch_device_transformer_map_[kMaxDeviceNum]; | 84 gfx::Transform touch_device_transformer_map_[kMaxDeviceNum]; |
85 | 85 |
86 std::vector<TouchscreenDevice> touchscreen_devices_; | 86 std::vector<TouchscreenDevice> touchscreen_devices_; |
87 std::vector<KeyboardDevice> keyboard_devices_; | 87 std::vector<KeyboardDevice> keyboard_devices_; |
88 std::vector<InputDevice> mouse_devices_; | 88 std::vector<InputDevice> mouse_devices_; |
89 std::vector<InputDevice> touchpad_devices_; | 89 std::vector<InputDevice> touchpad_devices_; |
90 | 90 |
91 ObserverList<InputDeviceEventObserver> observers_; | 91 base::ObserverList<InputDeviceEventObserver> observers_; |
92 | 92 |
93 DISALLOW_COPY_AND_ASSIGN(DeviceDataManager); | 93 DISALLOW_COPY_AND_ASSIGN(DeviceDataManager); |
94 }; | 94 }; |
95 | 95 |
96 } // namespace ui | 96 } // namespace ui |
97 | 97 |
98 #endif // UI_EVENTS_DEVICES_DEVICE_DATA_MANAGER_H_ | 98 #endif // UI_EVENTS_DEVICES_DEVICE_DATA_MANAGER_H_ |
OLD | NEW |