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 c1998a612a52fdd9abc1a5fc6cc700f54e2a563b..12e96925329a74f46288d4ec33ed36d89057d454 100644 |
--- a/ui/events/ozone/evdev/event_factory_evdev.h |
+++ b/ui/events/ozone/evdev/event_factory_evdev.h |
@@ -35,12 +35,16 @@ class EVENTS_OZONE_EVDEV_EXPORT EventFactoryEvdev : public DeviceEventObserver, |
DeviceManager* device_manager); |
virtual ~EventFactoryEvdev(); |
- void DispatchUiEvent(Event* event); |
- |
void WarpCursorTo(gfx::AcceleratedWidget widget, |
const gfx::PointF& location); |
private: |
+ // Post a task to dispatch an event. |
+ void PostUiEvent(scoped_ptr<Event> event); |
+ |
+ // Dispatch event via PlatformEventSource. |
+ void DispatchUiEventTask(scoped_ptr<Event> event); |
+ |
// Open device at path & starting processing events (on UI thread). |
void AttachInputDevice(scoped_ptr<EventConverterEvdev> converter); |