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 963d6297688b291613bca107c1728366bb7bbe58..d6c150b28769b54bb3b00addc841893051e5c84c 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 set_has_mouse(bool has_mouse); |
+ void set_has_touchpad(bool has_touchpad); |
+ |
// InputController: |
bool HasMouse() override; |
bool HasTouchpad() override; |
@@ -65,6 +68,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); |
}; |