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

Unified Diff: ui/events/ozone/evdev/event_dispatch_callback.h

Issue 872883003: [PATCH 2/11] ozone: evdev: Move KeyboardEvdev usage during dispatch to EventFactoryEvdev (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates for events_unittests Created 5 years, 11 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/event_dispatch_callback.h
diff --git a/ui/events/ozone/evdev/event_dispatch_callback.h b/ui/events/ozone/evdev/event_dispatch_callback.h
index efbb8b4ef613b5c3e7c2462723077131e81d989c..8a478a8a811fa938fef7979f6ae6d4b6ffcab676 100644
--- a/ui/events/ozone/evdev/event_dispatch_callback.h
+++ b/ui/events/ozone/evdev/event_dispatch_callback.h
@@ -26,6 +26,9 @@ class Event;
typedef base::Callback<void(scoped_ptr<Event>)> EventDispatchCallback;
+typedef base::Callback<void(int device_id, unsigned int code, bool down)>
alexst (slow to review) 2015/01/26 22:18:25 My brain wants more structure here. You are pass
spang 2015/01/26 23:01:21 We could remove the structs once the 7 argument li
spang 2015/01/27 21:31:54 Done.
+ KeyEventDispatchCallback;
+
struct TouchEventParams {
TouchEventParams(int device_id,
int touch_id,
« no previous file with comments | « ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc ('k') | ui/events/ozone/evdev/event_factory_evdev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698