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

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

Issue 285303004: ozone: Remove the explicit call to start listening for events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 7 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/aura/window_tree_host_ozone.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 f4ded50d1f6aa584cfdd2af4a2638a98be3fcf98..da56524c26f2bf7f28aa773df007840f19cfe0c7 100644
--- a/ui/events/ozone/evdev/event_factory_evdev.h
+++ b/ui/events/ozone/evdev/event_factory_evdev.h
@@ -34,7 +34,6 @@ class EVENTS_OZONE_EVDEV_EXPORT EventFactoryEvdev : public EventFactoryOzone,
void DispatchUiEvent(Event* event);
// EventFactoryOzone:
- virtual void StartProcessingEvents() OVERRIDE;
virtual void WarpCursorTo(gfx::AcceleratedWidget widget,
const gfx::PointF& location) OVERRIDE;
@@ -60,14 +59,6 @@ class EVENTS_OZONE_EVDEV_EXPORT EventFactoryEvdev : public EventFactoryOzone,
// Interface for scanning & monitoring input devices.
DeviceManager* device_manager_; // Not owned.
- // True if this was registered with |device_manager_|. This is needed since
- // StartProcessingEvents() is called multiple times (when a
- // WindowTreeHostOzone is created) but we shouldn't register this multiple
- // times.
- // TODO(dnicoara) Remove once event processing is refactored and we no longer
- // rely on WTH for starting event processing.
- bool has_started_processing_events_;
-
// Task runner for event dispatch.
scoped_refptr<base::TaskRunner> ui_task_runner_;
« no previous file with comments | « ui/aura/window_tree_host_ozone.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