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

Issue 872883003: [PATCH 2/11] ozone: evdev: Move KeyboardEvdev usage during dispatch to EventFactoryEvdev (Closed)

Created:
5 years, 11 months ago by spang
Modified:
5 years, 11 months ago
CC:
chromium-reviews, kalyank, tdresser+watch_chromium.org, jdduke+watch_chromium.org, ozone-reviews_chromium.org, piman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ozone: evdev: Move KeyboardEvdev usage during dispatch to EventFactoryEvdev This is part of a series moving IO on evdev devices to a fast thread, since UI thread is too slow for the cursor. The keyboard layout is a UI thread object, so move all of the keyboard processing that needs layout information outside of the device-specific processing. Devices no longer get a KeyboardEvdev* since they will execute on a different thread. BUG=449710 TEST=boot link_freon & press key Committed: https://crrev.com/7b5b72bda2a843c48cb268181382d65f668c78ba Cr-Commit-Position: refs/heads/master@{#313397}

Patch Set 1 #

Patch Set 2 : updates for events_unittests #

Total comments: 3

Patch Set 3 : add KeyEventParams object for consistency #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -55 lines) Patch
M ui/events/ozone/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/events/ozone/evdev/event_converter_evdev_impl.h View 2 chunks +3 lines, -5 lines 0 comments Download
M ui/events/ozone/evdev/event_converter_evdev_impl.cc View 1 2 4 chunks +12 lines, -7 lines 0 comments Download
M ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc View 1 2 4 chunks +10 lines, -3 lines 0 comments Download
M ui/events/ozone/evdev/event_dispatch_callback.h View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M ui/events/ozone/evdev/event_dispatch_callback.cc View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M ui/events/ozone/evdev/event_factory_evdev.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ui/events/ozone/evdev/event_factory_evdev.cc View 1 2 5 chunks +9 lines, -5 lines 0 comments Download
M ui/events/ozone/evdev/input_injector_evdev.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ui/events/ozone/evdev/keyboard_evdev.h View 2 chunks +0 lines, -5 lines 0 comments Download
M ui/events/ozone/evdev/keyboard_evdev.cc View 1 3 chunks +1 line, -17 lines 0 comments Download
A ui/events/ozone/evdev/keyboard_util_evdev.h View 1 chunk +15 lines, -0 lines 0 comments Download
A ui/events/ozone/evdev/keyboard_util_evdev.cc View 1 chunk +33 lines, -0 lines 0 comments Download
M ui/events/ozone/evdev/libgestures_glue/gesture_interpreter_libevdev_cros.h View 3 chunks +3 lines, -6 lines 0 comments Download
M ui/events/ozone/evdev/libgestures_glue/gesture_interpreter_libevdev_cros.cc View 1 2 4 chunks +6 lines, -6 lines 0 comments Download
M ui/events/ozone/events_ozone.gyp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
spang
5 years, 11 months ago (2015-01-23 21:56:58 UTC) #2
alexst (slow to review)
https://codereview.chromium.org/872883003/diff/20001/ui/events/ozone/evdev/event_dispatch_callback.h File ui/events/ozone/evdev/event_dispatch_callback.h (right): https://codereview.chromium.org/872883003/diff/20001/ui/events/ozone/evdev/event_dispatch_callback.h#newcode29 ui/events/ozone/evdev/event_dispatch_callback.h:29: typedef base::Callback<void(int device_id, unsigned int code, bool down)> My ...
5 years, 11 months ago (2015-01-26 22:18:25 UTC) #3
spang
https://codereview.chromium.org/872883003/diff/20001/ui/events/ozone/evdev/event_dispatch_callback.h File ui/events/ozone/evdev/event_dispatch_callback.h (right): https://codereview.chromium.org/872883003/diff/20001/ui/events/ozone/evdev/event_dispatch_callback.h#newcode29 ui/events/ozone/evdev/event_dispatch_callback.h:29: typedef base::Callback<void(int device_id, unsigned int code, bool down)> On ...
5 years, 11 months ago (2015-01-26 23:01:22 UTC) #4
alexst (slow to review)
On 2015/01/26 23:01:22, spang wrote: > https://codereview.chromium.org/872883003/diff/20001/ui/events/ozone/evdev/event_dispatch_callback.h > File ui/events/ozone/evdev/event_dispatch_callback.h (right): > > https://codereview.chromium.org/872883003/diff/20001/ui/events/ozone/evdev/event_dispatch_callback.h#newcode29 > ...
5 years, 11 months ago (2015-01-27 13:28:24 UTC) #5
spang
5 years, 11 months ago (2015-01-27 19:32:14 UTC) #6
spang
https://codereview.chromium.org/872883003/diff/20001/ui/events/ozone/evdev/event_dispatch_callback.h File ui/events/ozone/evdev/event_dispatch_callback.h (right): https://codereview.chromium.org/872883003/diff/20001/ui/events/ozone/evdev/event_dispatch_callback.h#newcode29 ui/events/ozone/evdev/event_dispatch_callback.h:29: typedef base::Callback<void(int device_id, unsigned int code, bool down)> On ...
5 years, 11 months ago (2015-01-27 21:31:54 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/872883003/40001
5 years, 11 months ago (2015-01-27 22:40:09 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 11 months ago (2015-01-27 23:30:46 UTC) #10
commit-bot: I haz the power
5 years, 11 months ago (2015-01-27 23:32:44 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7b5b72bda2a843c48cb268181382d65f668c78ba
Cr-Commit-Position: refs/heads/master@{#313397}

Powered by Google App Engine
This is Rietveld 408576698