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

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

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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_DEVICE_DATA_MANAGER_H_ 5 #ifndef UI_EVENTS_DEVICE_DATA_MANAGER_H_
6 #define UI_EVENTS_DEVICE_DATA_MANAGER_H_ 6 #define UI_EVENTS_DEVICE_DATA_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 static const int kMaxDeviceNum = 128; 55 static const int kMaxDeviceNum = 128;
56 56
57 private: 57 private:
58 static DeviceDataManager* instance_; 58 static DeviceDataManager* instance_;
59 59
60 bool IsTouchDeviceIdValid(int touch_device_id) const; 60 bool IsTouchDeviceIdValid(int touch_device_id) const;
61 61
62 // DeviceHotplugEventObserver: 62 // DeviceHotplugEventObserver:
63 virtual void OnTouchscreenDevicesUpdated( 63 virtual void OnTouchscreenDevicesUpdated(
64 const std::vector<TouchscreenDevice>& devices) OVERRIDE; 64 const std::vector<TouchscreenDevice>& devices) override;
65 65
66 double touch_radius_scale_map_[kMaxDeviceNum]; 66 double touch_radius_scale_map_[kMaxDeviceNum];
67 67
68 // Table to keep track of which display id is mapped to which touch device. 68 // Table to keep track of which display id is mapped to which touch device.
69 int64_t touch_device_to_display_map_[kMaxDeviceNum]; 69 int64_t touch_device_to_display_map_[kMaxDeviceNum];
70 // Index table to find the TouchTransformer for a touch device. 70 // Index table to find the TouchTransformer for a touch device.
71 gfx::Transform touch_device_transformer_map_[kMaxDeviceNum]; 71 gfx::Transform touch_device_transformer_map_[kMaxDeviceNum];
72 72
73 std::vector<TouchscreenDevice> touchscreen_devices_; 73 std::vector<TouchscreenDevice> touchscreen_devices_;
74 74
75 ObserverList<InputDeviceEventObserver> observers_; 75 ObserverList<InputDeviceEventObserver> observers_;
76 76
77 DISALLOW_COPY_AND_ASSIGN(DeviceDataManager); 77 DISALLOW_COPY_AND_ASSIGN(DeviceDataManager);
78 }; 78 };
79 79
80 } // namespace ui 80 } // namespace ui
81 81
82 #endif // UI_EVENTS_DEVICE_DATA_MANAGER_H_ 82 #endif // UI_EVENTS_DEVICE_DATA_MANAGER_H_
OLDNEW
« no previous file with comments | « ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc ('k') | ui/events/event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698