Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc

Issue 2805793002: ozone: evdev: Add gamepad support (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc
diff --git a/ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc b/ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc
index 0180d230e716ef52fb2f944031e949660afc243d..419f931af17182ac79f6a00313ea19a223d7ec95 100644
--- a/ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc
+++ b/ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc
@@ -119,6 +119,7 @@ class MockDeviceEventDispatcherEvdev : public DeviceEventDispatcherEvdev {
~MockDeviceEventDispatcherEvdev() override {}
// DeviceEventDispatcherEvdev:
+ void DispatchGamepadEvent(const GamepadEventParams& params) override {}
void DispatchKeyEvent(const KeyEventParams& params) override {}
void DispatchMouseMoveEvent(const MouseMoveEventParams& params) override {
GenericEventParams generic;
@@ -142,6 +143,8 @@ class MockDeviceEventDispatcherEvdev : public DeviceEventDispatcherEvdev {
callback_.Run(generic);
}
+ void DispatchGamepadDevicesUpdated(
+ const std::vector<InputDevice>& devices) override {}
void DispatchKeyboardDevicesUpdated(
const std::vector<InputDevice>& devices) override {}
void DispatchTouchscreenDevicesUpdated(

Powered by Google App Engine
This is Rietveld 408576698