Index: ui/events/ozone/evdev/input_controller_evdev.h |
diff --git a/ui/events/ozone/evdev/input_controller_evdev.h b/ui/events/ozone/evdev/input_controller_evdev.h |
index 1d4f2c511edb912a13d406424a101f0a4f02742b..866526657c54a2aaed1afafd0160cc37fff2da5b 100644 |
--- a/ui/events/ozone/evdev/input_controller_evdev.h |
+++ b/ui/events/ozone/evdev/input_controller_evdev.h |
@@ -28,6 +28,9 @@ class EVENTS_OZONE_EVDEV_EXPORT InputControllerEvdev : public InputController { |
// built early enough for that to be possible. |
void SetInputDeviceFactory(InputDeviceFactoryEvdev* input_device_factory); |
+ void SetHasMouse(bool has_mouse); |
+ void SetHasTouchpad(bool has_touchpad); |
+ |
// InputController: |
bool HasMouse() override; |
bool HasTouchpad() override; |
@@ -64,6 +67,10 @@ class EVENTS_OZONE_EVDEV_EXPORT InputControllerEvdev : public InputController { |
// Mouse button map. |
MouseButtonMapEvdev* button_map_; |
+ // Device presence. |
+ bool has_mouse_; |
+ bool has_touchpad_; |
+ |
DISALLOW_COPY_AND_ASSIGN(InputControllerEvdev); |
}; |