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

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

Issue 2805793002: ozone: evdev: Add gamepad support (Closed)
Patch Set: Support Gamepad in Ozone. Created 3 years, 7 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
« no previous file with comments | « ui/events/ozone/evdev/input_device_factory_evdev.cc ('k') | ui/events/ozone/gamepad/gamepad_event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..9dd93f3438c2492182c8b47a8b7b330c0c2da1b9 100644
--- a/ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc
+++ b/ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc
@@ -153,6 +153,12 @@ class MockDeviceEventDispatcherEvdev : public DeviceEventDispatcherEvdev {
void DispatchDeviceListsComplete() override {}
void DispatchStylusStateChanged(StylusState stylus_state) override {}
+ // Dispatch Gamepad Event.
+ void DispatchGamepadEvent(const GamepadEvent& event) override {}
+
+ void DispatchGamepadDevicesUpdated(
+ const std::vector<InputDevice>& devices) override {}
+
private:
base::Callback<void(const GenericEventParams& params)> callback_;
};
« no previous file with comments | « ui/events/ozone/evdev/input_device_factory_evdev.cc ('k') | ui/events/ozone/gamepad/gamepad_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698