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

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

Issue 858333006: [PATCH 9.6/11] ozone: evdev: Remove extra PostTask during dispatch from EventFactoryEvdev (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_factory_evdev.h
diff --git a/ui/events/ozone/evdev/event_factory_evdev.h b/ui/events/ozone/evdev/event_factory_evdev.h
index 1d4eeabc4d3762e8b95add75d8a2975d75629dbb..b90fd9ccd6fab0e15afd7fd9e41ad2ecf83315d7 100644
--- a/ui/events/ozone/evdev/event_factory_evdev.h
+++ b/ui/events/ozone/evdev/event_factory_evdev.h
@@ -88,11 +88,8 @@ class EVENTS_OZONE_EVDEV_EXPORT EventFactoryEvdev : public DeviceEventObserver,
void OnDispatcherListChanged() override;
private:
- // Post a task to dispatch an event.
- virtual void PostUiEvent(scoped_ptr<Event> event);
-
// Dispatch event via PlatformEventSource.
- void DispatchUiEventTask(scoped_ptr<Event> event);
+ void DispatchUiEvent(ui::Event* event);
int NextDeviceId();
@@ -105,9 +102,6 @@ class EVENTS_OZONE_EVDEV_EXPORT EventFactoryEvdev : public DeviceEventObserver,
// Factory for per-device objects.
scoped_ptr<InputDeviceFactoryEvdev> input_device_factory_;
- // Dispatch callback for events.
- EventDispatchCallback dispatch_callback_;
-
// Modifier key state (shift, ctrl, etc).
EventModifiersEvdev modifiers_;

Powered by Google App Engine
This is Rietveld 408576698