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

Issue 285303004: ozone: Remove the explicit call to start listening for events. (Closed)

Created:
6 years, 7 months ago by sadrul
Modified:
6 years, 7 months ago
Reviewers:
dnicoara, spang
CC:
chromium-reviews, rjkroege, ozone-reviews_chromium.org, tdresser+watch_chromium.org, kalyank, ben+aura_chromium.org
Visibility:
Public.

Description

ozone: Remove the explicit call to start listening for events. It is not necessary for WindowTreeHostOzone to call into the event-factory to explicitly request it to start receiving events. The evdev implementation can start listening to the events immediately, and the canca implementation can start listening for events when the dispatcher list changes (this is the same we do for the libevent based x11 event-source). BUG=361137 R=spang@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271036

Patch Set 1 #

Total comments: 1

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -51 lines) Patch
M ui/aura/window_tree_host_ozone.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M ui/events/ozone/evdev/event_factory_evdev.h View 1 2 chunks +0 lines, -9 lines 0 comments Download
M ui/events/ozone/evdev/event_factory_evdev.cc View 1 2 3 chunks +9 lines, -20 lines 0 comments Download
M ui/events/ozone/event_factory_ozone.h View 1 1 chunk +0 lines, -8 lines 0 comments Download
M ui/events/ozone/event_factory_ozone.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M ui/ozone/platform/caca/caca_event_factory.h View 1 chunk +6 lines, -3 lines 0 comments Download
M ui/ozone/platform/caca/caca_event_factory.cc View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
sadrul
https://codereview.chromium.org/285303004/diff/1/ui/events/ozone/evdev/event_factory_evdev.cc File ui/events/ozone/evdev/event_factory_evdev.cc (right): https://codereview.chromium.org/285303004/diff/1/ui/events/ozone/evdev/event_factory_evdev.cc#newcode155 ui/events/ozone/evdev/event_factory_evdev.cc:155: device_manager_->ScanDevices(this); I am not sure if this depends on ...
6 years, 7 months ago (2014-05-15 16:30:04 UTC) #1
spang
On 2014/05/15 16:30:04, sadrul wrote: > https://codereview.chromium.org/285303004/diff/1/ui/events/ozone/evdev/event_factory_evdev.cc > File ui/events/ozone/evdev/event_factory_evdev.cc (right): > > https://codereview.chromium.org/285303004/diff/1/ui/events/ozone/evdev/event_factory_evdev.cc#newcode155 > ...
6 years, 7 months ago (2014-05-15 17:04:39 UTC) #2
sadrul
On 2014/05/15 17:04:39, spang wrote: > On 2014/05/15 16:30:04, sadrul wrote: > > > https://codereview.chromium.org/285303004/diff/1/ui/events/ozone/evdev/event_factory_evdev.cc ...
6 years, 7 months ago (2014-05-15 17:12:24 UTC) #3
spang
On 2014/05/15 17:12:24, sadrul wrote: > On 2014/05/15 17:04:39, spang wrote: > > On 2014/05/15 ...
6 years, 7 months ago (2014-05-15 17:17:25 UTC) #4
sadrul
On 2014/05/15 17:17:25, spang wrote: > On 2014/05/15 17:12:24, sadrul wrote: > > On 2014/05/15 ...
6 years, 7 months ago (2014-05-16 06:01:41 UTC) #5
spang
lgtm https://codereview.chromium.org/285303004/diff/20001/ui/events/ozone/evdev/event_factory_evdev.cc File ui/events/ozone/evdev/event_factory_evdev.cc (left): https://codereview.chromium.org/285303004/diff/20001/ui/events/ozone/evdev/event_factory_evdev.cc#oldcode138 ui/events/ozone/evdev/event_factory_evdev.cc:138: ui_task_runner_(base::MessageLoopProxy::current()), I think you need to remove this ...
6 years, 7 months ago (2014-05-16 15:01:16 UTC) #6
sadrul
https://codereview.chromium.org/285303004/diff/20001/ui/events/ozone/evdev/event_factory_evdev.cc File ui/events/ozone/evdev/event_factory_evdev.cc (left): https://codereview.chromium.org/285303004/diff/20001/ui/events/ozone/evdev/event_factory_evdev.cc#oldcode138 ui/events/ozone/evdev/event_factory_evdev.cc:138: ui_task_runner_(base::MessageLoopProxy::current()), On 2014/05/16 15:01:17, spang wrote: > I think ...
6 years, 7 months ago (2014-05-16 16:34:14 UTC) #7
sadrul
6 years, 7 months ago (2014-05-16 16:57:12 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 manually as r271036 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698