| Index: ui/events/ozone/evdev/device_event_dispatcher_evdev.h
|
| diff --git a/ui/events/ozone/evdev/device_event_dispatcher_evdev.h b/ui/events/ozone/evdev/device_event_dispatcher_evdev.h
|
| index 7d5e634eda19564109490aeb0f1c95166ccfd2d2..4bf3fdff838a620b56fd2882c11582f235c7e3b2 100644
|
| --- a/ui/events/ozone/evdev/device_event_dispatcher_evdev.h
|
| +++ b/ui/events/ozone/evdev/device_event_dispatcher_evdev.h
|
| @@ -13,6 +13,7 @@
|
| #include "ui/events/event.h"
|
| #include "ui/events/event_constants.h"
|
| #include "ui/events/ozone/evdev/events_ozone_evdev_export.h"
|
| +#include "ui/events/ozone/gamepad/gamepad_event.h"
|
| #include "ui/gfx/geometry/point_f.h"
|
| #include "ui/gfx/geometry/vector2d.h"
|
| #include "ui/gfx/geometry/vector2d_f.h"
|
| @@ -165,6 +166,7 @@ class EVENTS_OZONE_EVDEV_EXPORT DeviceEventDispatcherEvdev {
|
| virtual void DispatchPinchEvent(const PinchEventParams& params) = 0;
|
| virtual void DispatchScrollEvent(const ScrollEventParams& params) = 0;
|
| virtual void DispatchTouchEvent(const TouchEventParams& params) = 0;
|
| + virtual void DispatchGamepadEvent(const GamepadEvent& event) = 0;
|
|
|
| // Device lifecycle events.
|
| virtual void DispatchKeyboardDevicesUpdated(
|
| @@ -177,6 +179,8 @@ class EVENTS_OZONE_EVDEV_EXPORT DeviceEventDispatcherEvdev {
|
| const std::vector<InputDevice>& devices) = 0;
|
| virtual void DispatchDeviceListsComplete() = 0;
|
| virtual void DispatchStylusStateChanged(StylusState stylus_state) = 0;
|
| + virtual void DispatchGamepadDevicesUpdated(
|
| + const std::vector<InputDevice>& devices) = 0;
|
| };
|
|
|
| } // namespace ui
|
|
|