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

Side by Side Diff: ui/events/devices/device_data_manager.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 months 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 unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « ui/display/chromeos/x11/native_display_delegate_x11.h ('k') | ui/events/ozone/device/device_manager_manual.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698