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

Issue 336863002: Moving input device hotplug event processing outside of ui/display (Closed)

Created:
6 years, 6 months ago by dnicoara
Modified:
6 years, 3 months ago
Reviewers:
oshima, Daniel Erat
CC:
chromium-reviews, sadrul, tdresser+watch_chromium.org, oshima+watch_chromium.org, kalyank, stevenjb+watch_chromium.org, ben+ash_chromium.org
Project:
chromium
Visibility:
Public.

Description

Moving input device hotplug event processing outside of ui/display The change decouples input device hotplug event processing from output device hotplug processing. In addition, for input device event processing, it takes advantage of the X11 caches in ui/events and simplifies how hotplug events are propagated to the system. Depends on https://codereview.chromium.org/508303002/ BUG=381326 Committed: https://crrev.com/67548025123b035f4beacfea3d948e1a1b8eba5b Cr-Commit-Position: refs/heads/master@{#294624}

Patch Set 1 #

Total comments: 10

Patch Set 2 : . #

Patch Set 3 : Rebased & updated #

Patch Set 4 : Removed hotplug observer from NativeDisplayDelegateX11 #

Patch Set 5 : Rebased #

Patch Set 6 : . #

Total comments: 4

Patch Set 7 : . #

Total comments: 4

Patch Set 8 : . #

Patch Set 9 : Remove TouchscreenDelegate references from display_unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+346 lines, -445 lines) Patch
M ash/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M ash/ash.gyp View 1 2 3 4 5 6 7 4 chunks +6 lines, -0 lines 0 comments Download
M ash/display/display_change_observer_chromeos.h View 1 2 3 chunks +5 lines, -0 lines 0 comments Download
M ash/display/display_change_observer_chromeos.cc View 1 2 3 4 5 6 7 6 chunks +30 lines, -4 lines 0 comments Download
M ash/display/display_info.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M ash/display/display_info.cc View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
M ash/touch/touch_transformer_controller.cc View 1 2 3 4 5 6 7 2 chunks +10 lines, -9 lines 0 comments Download
A ash/touch/touchscreen_util.h View 1 2 3 4 5 6 1 chunk +24 lines, -0 lines 0 comments Download
A ash/touch/touchscreen_util.cc View 1 2 3 4 5 6 1 chunk +103 lines, -0 lines 0 comments Download
A ash/touch/touchscreen_util_unittest.cc View 1 2 3 4 5 6 1 chunk +142 lines, -0 lines 0 comments Download
M ui/display/BUILD.gn View 1 2 3 chunks +0 lines, -4 lines 0 comments Download
D ui/display/chromeos/DEPS View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M ui/display/chromeos/display_configurator.h View 1 2 4 chunks +4 lines, -22 lines 0 comments Download
M ui/display/chromeos/display_configurator.cc View 1 2 5 chunks +4 lines, -14 lines 0 comments Download
M ui/display/chromeos/display_configurator_unittest.cc View 1 2 3 4 5 6 7 8 3 chunks +2 lines, -36 lines 0 comments Download
D ui/display/chromeos/touchscreen_delegate_impl.h View 1 2 3 4 1 chunk +0 lines, -30 lines 0 comments Download
D ui/display/chromeos/touchscreen_delegate_impl.cc View 1 2 3 4 1 chunk +0 lines, -112 lines 0 comments Download
D ui/display/chromeos/touchscreen_delegate_impl_unittest.cc View 1 2 3 4 1 chunk +0 lines, -173 lines 0 comments Download
M ui/display/chromeos/x11/native_display_delegate_x11.h View 1 2 3 2 chunks +0 lines, -4 lines 0 comments Download
M ui/display/chromeos/x11/native_display_delegate_x11.cc View 1 2 3 4 4 chunks +0 lines, -29 lines 0 comments Download
M ui/display/display.gyp View 1 2 4 chunks +0 lines, -5 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
dnicoara
There are a few different changes that aren't present in this CL before it is ...
6 years, 6 months ago (2014-06-13 18:47:58 UTC) #1
Daniel Erat
https://codereview.chromium.org/336863002/diff/1/ash/display/display_change_observer_chromeos.cc File ash/display/display_change_observer_chromeos.cc (right): https://codereview.chromium.org/336863002/diff/1/ash/display/display_change_observer_chromeos.cc#newcode56 ash/display/display_change_observer_chromeos.cc:56: if (modes[i].native) { nit: omit curly brackets on this ...
6 years, 6 months ago (2014-06-17 21:59:19 UTC) #2
dnicoara
https://codereview.chromium.org/336863002/diff/1/ash/display/display_change_observer_chromeos.cc File ash/display/display_change_observer_chromeos.cc (right): https://codereview.chromium.org/336863002/diff/1/ash/display/display_change_observer_chromeos.cc#newcode56 ash/display/display_change_observer_chromeos.cc:56: if (modes[i].native) { On 2014/06/17 21:59:18, Daniel Erat wrote: ...
6 years, 6 months ago (2014-06-20 17:01:05 UTC) #3
dnicoara
-sadrul@ since the ui/events changes went in a different CL (https://codereview.chromium.org/508303002/) Daniel could you please ...
6 years, 3 months ago (2014-09-11 15:11:35 UTC) #5
Daniel Erat
https://codereview.chromium.org/336863002/diff/90001/ash/touch/touchscreen_util.cc File ash/touch/touchscreen_util.cc (right): https://codereview.chromium.org/336863002/diff/90001/ash/touch/touchscreen_util.cc#newcode16 ash/touch/touchscreen_util.cc:16: std::vector<ui::TouchscreenDevice> devices = this function would probably be easier ...
6 years, 3 months ago (2014-09-11 20:34:01 UTC) #6
dnicoara
https://codereview.chromium.org/336863002/diff/90001/ash/touch/touchscreen_util.cc File ash/touch/touchscreen_util.cc (right): https://codereview.chromium.org/336863002/diff/90001/ash/touch/touchscreen_util.cc#newcode16 ash/touch/touchscreen_util.cc:16: std::vector<ui::TouchscreenDevice> devices = On 2014/09/11 20:34:00, Daniel Erat wrote: ...
6 years, 3 months ago (2014-09-11 21:08:55 UTC) #7
Daniel Erat
lgtm https://codereview.chromium.org/336863002/diff/110001/ash/display/display_change_observer_chromeos.cc File ash/display/display_change_observer_chromeos.cc (right): https://codereview.chromium.org/336863002/diff/110001/ash/display/display_change_observer_chromeos.cc#newcode246 ash/display/display_change_observer_chromeos.cc:246: ui::DeviceDataManager::GetInstance()->touchscreen_devices(); nit: move this inline in the AssociateTouchscreens() ...
6 years, 3 months ago (2014-09-11 21:51:35 UTC) #8
dnicoara
https://codereview.chromium.org/336863002/diff/110001/ash/display/display_change_observer_chromeos.cc File ash/display/display_change_observer_chromeos.cc (right): https://codereview.chromium.org/336863002/diff/110001/ash/display/display_change_observer_chromeos.cc#newcode246 ash/display/display_change_observer_chromeos.cc:246: ui::DeviceDataManager::GetInstance()->touchscreen_devices(); On 2014/09/11 21:51:35, Daniel Erat wrote: > nit: ...
6 years, 3 months ago (2014-09-12 14:30:01 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/336863002/150001
6 years, 3 months ago (2014-09-12 16:49:02 UTC) #11
commit-bot: I haz the power
Committed patchset #9 (id:150001) as a05ee6952e240cd97710479606ed573fc35c87e5
6 years, 3 months ago (2014-09-12 19:08:23 UTC) #12
commit-bot: I haz the power
6 years, 3 months ago (2014-09-12 19:13:04 UTC) #13
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/67548025123b035f4beacfea3d948e1a1b8eba5b
Cr-Commit-Position: refs/heads/master@{#294624}

Powered by Google App Engine
This is Rietveld 408576698