| Index: services/ui/public/cpp/input_devices/input_device_client.h
|
| diff --git a/services/ui/public/cpp/input_devices/input_device_client.h b/services/ui/public/cpp/input_devices/input_device_client.h
|
| index 0f7f2c977b23f83047b62203fe62d3276e620788..9d077cff6fb97d2cb29cfe7a038489d53ec62734 100644
|
| --- a/services/ui/public/cpp/input_devices/input_device_client.h
|
| +++ b/services/ui/public/cpp/input_devices/input_device_client.h
|
| @@ -39,6 +39,7 @@ class InputDeviceClient : public mojom::InputDeviceObserverMojo,
|
| const override;
|
| const std::vector<ui::InputDevice>& GetMouseDevices() const override;
|
| const std::vector<ui::InputDevice>& GetTouchpadDevices() const override;
|
| + const std::vector<ui::InputDevice>& GetGamepadDevices() const override;
|
|
|
| bool AreDeviceListsComplete() const override;
|
| bool AreTouchscreensEnabled() const override;
|
| @@ -61,11 +62,14 @@ class InputDeviceClient : public mojom::InputDeviceObserverMojo,
|
| const std::vector<ui::InputDevice>& devices) override;
|
| void OnTouchpadDeviceConfigurationChanged(
|
| const std::vector<ui::InputDevice>& devices) override;
|
| + void OnGamepadDeviceConfigurationChanged(
|
| + const std::vector<ui::InputDevice>& devices) override;
|
| void OnDeviceListsComplete(
|
| const std::vector<ui::InputDevice>& keyboard_devices,
|
| const std::vector<ui::TouchscreenDevice>& touchscreen_devices,
|
| const std::vector<ui::InputDevice>& mouse_devices,
|
| - const std::vector<ui::InputDevice>& touchpad_devices) override;
|
| + const std::vector<ui::InputDevice>& touchpad_devices,
|
| + const std::vector<ui::InputDevice>& gamepad_devices) override;
|
| void OnStylusStateChanged(StylusState state) override;
|
|
|
| private:
|
| @@ -79,6 +83,7 @@ class InputDeviceClient : public mojom::InputDeviceObserverMojo,
|
| std::vector<ui::TouchscreenDevice> touchscreen_devices_;
|
| std::vector<ui::InputDevice> mouse_devices_;
|
| std::vector<ui::InputDevice> touchpad_devices_;
|
| + std::vector<ui::InputDevice> gamepad_devices_;
|
| bool device_lists_complete_ = false;
|
|
|
| // List of in-process observers.
|
|
|