| 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..15031e404e1593e2427e898d1066e70fa441dc11 100644
|
| --- a/ui/events/ozone/evdev/event_factory_evdev.h
|
| +++ b/ui/events/ozone/evdev/event_factory_evdev.h
|
| @@ -47,6 +47,10 @@ class EVENTS_OZONE_EVDEV_EXPORT EventFactoryEvdev : public DeviceEventObserver,
|
| // Close device at path (on UI thread).
|
| void DetachInputDevice(const base::FilePath& file_path);
|
|
|
| + void NotifyHotplugEventObserver(const EventConverterEvdev& converter);
|
| +
|
| + int NextDeviceId();
|
| +
|
| // DeviceEventObserver overrides:
|
| //
|
| // Callback for device add (on UI thread).
|
| @@ -58,6 +62,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_device_id_;
|
| +
|
| // Interface for scanning & monitoring input devices.
|
| DeviceManager* device_manager_; // Not owned.
|
|
|
|
|