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

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: rebase 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
« no previous file with comments | « ui/events/ozone/evdev/event_dispatch_callback.h ('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 eb92eefc34786122be7ff6702071de5fa1832996..12c7a3f21f804888b3bbda81c158008d034939cd 100644
--- a/ui/events/ozone/evdev/event_factory_evdev.h
+++ b/ui/events/ozone/evdev/event_factory_evdev.h
@@ -82,11 +82,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();
@@ -99,9 +96,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_;
« no previous file with comments | « ui/events/ozone/evdev/event_dispatch_callback.h ('k') | ui/events/ozone/evdev/event_factory_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698