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

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

Issue 193813003: ozone: evdev: Add libgestures bindings for touchpad & mouse support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moved 1 space by 1 character Created 6 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
« no previous file with comments | « ui/events/ozone/evdev/event_device_info.cc ('k') | ui/events/ozone/evdev/event_factory_evdev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/evdev/event_factory_evdev.h
diff --git a/ui/events/ozone/evdev/event_factory_evdev.h b/ui/events/ozone/evdev/event_factory_evdev.h
index 39d61ba58043573a68286f624798ea4e1636bfb6..6aa8adb71b0b7c20074745e6243c49311e6f0caf 100644
--- a/ui/events/ozone/evdev/event_factory_evdev.h
+++ b/ui/events/ozone/evdev/event_factory_evdev.h
@@ -27,6 +27,8 @@ class EVENTS_EXPORT EventFactoryEvdev : public EventFactoryOzone {
explicit EventFactoryEvdev(CursorDelegateEvdev* cursor);
virtual ~EventFactoryEvdev();
+ void DispatchEvent(Event* event);
+
// EventFactoryOzone:
virtual void StartProcessingEvents() OVERRIDE;
virtual void SetFileTaskRunner(scoped_refptr<base::TaskRunner> task_runner)
@@ -66,6 +68,9 @@ class EVENTS_EXPORT EventFactoryEvdev : public EventFactoryOzone {
// Cursor movement.
CursorDelegateEvdev* cursor_;
+ // Dispatch callback for events.
+ EventDispatchCallback dispatch_callback_;
+
// Support weak pointers for attach & detach callbacks.
base::WeakPtrFactory<EventFactoryEvdev> weak_ptr_factory_;
« no previous file with comments | « ui/events/ozone/evdev/event_device_info.cc ('k') | ui/events/ozone/evdev/event_factory_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698