Index: ui/events/ozone/evdev/event_factory_evdev.h |
diff --git a/ui/events/ozone/evdev/event_factory_evdev.h b/ui/events/ozone/evdev/event_factory_evdev.h |
index 5ce5a9b3bb9bf45b23c23aea86fe8b643ce03d51..3955ca91ede4a628d002abfd19e12c664fa26035 100644 |
--- a/ui/events/ozone/evdev/event_factory_evdev.h |
+++ b/ui/events/ozone/evdev/event_factory_evdev.h |
@@ -47,6 +47,8 @@ class EVENTS_OZONE_EVDEV_EXPORT EventFactoryEvdev : public DeviceEventObserver, |
// Close device at path (on UI thread). |
void DetachInputDevice(const base::FilePath& file_path); |
+ void NotifyHotplugEventObserver(EventConverterEvdev* converter, bool created); |
+ |
// DeviceEventObserver overrides: |
// |
// Callback for device add (on UI thread). |
@@ -58,6 +60,9 @@ class EVENTS_OZONE_EVDEV_EXPORT EventFactoryEvdev : public DeviceEventObserver, |
// Owned per-device event converters (by path). |
std::map<base::FilePath, EventConverterEvdev*> converters_; |
+ // Used to uniquely identify input devices. |
+ int last_allocated_device_id_; |
spang
2014/09/29 23:54:36
last_device_id_
dnicoara
2014/09/30 18:23:27
Done.
|
+ |
// Interface for scanning & monitoring input devices. |
DeviceManager* device_manager_; // Not owned. |