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

Issue 2685883003: chromeos: converts observed pointer events to DIPs (Closed)

Created:
3 years, 10 months ago by sky
Modified:
3 years, 10 months ago
Reviewers:
Tom Sepez, sadrul, riajiang
CC:
chromium-reviews, rjkroege, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, kalyank, darin (slow to review), riajiang
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

chromeos: converts observed pointer events to DIPs They were in pixels and need to be in dips. BUG=687700 TEST=covered by tests R=sadrul@chromium.org Review-Url: https://codereview.chromium.org/2685883003 Cr-Commit-Position: refs/heads/master@{#449453} Committed: https://chromium.googlesource.com/chromium/src/+/907cde5ee78659803d8eb14736a2a00916c2fa35

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : fix content #

Total comments: 15

Patch Set 4 : feedback #

Total comments: 1

Patch Set 5 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+242 lines, -103 lines) Patch
M content/renderer/mus/renderer_window_tree_client.h View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M content/renderer/mus/renderer_window_tree_client.cc View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M services/ui/public/interfaces/window_tree.mojom View 1 2 chunks +4 lines, -1 line 0 comments Download
M services/ui/ws/display.cc View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/test_utils.h View 1 2 3 4 3 chunks +8 lines, -3 lines 0 comments Download
M services/ui/ws/test_utils.cc View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M services/ui/ws/window_manager_state.h View 1 9 chunks +40 lines, -19 lines 0 comments Download
M services/ui/ws/window_manager_state.cc View 12 chunks +79 lines, -51 lines 0 comments Download
M services/ui/ws/window_manager_state_unittest.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M services/ui/ws/window_server.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M services/ui/ws/window_server.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M services/ui/ws/window_tree.h View 1 chunk +2 lines, -1 line 0 comments Download
M services/ui/ws/window_tree.cc View 3 chunks +7 lines, -4 lines 0 comments Download
M services/ui/ws/window_tree_client_unittest.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ui/aura/mus/window_tree_client.h View 1 chunk +3 lines, -1 line 0 comments Download
M ui/aura/mus/window_tree_client.cc View 1 2 3 4 chunks +23 lines, -5 lines 0 comments Download
M ui/aura/mus/window_tree_client_unittest.cc View 1 7 chunks +51 lines, -4 lines 0 comments Download
M ui/aura/test/mus/window_tree_client_private.cc View 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 33 (21 generated)
sky
tsepez: mojom sadrul: the rest
3 years, 10 months ago (2017-02-08 21:50:24 UTC) #4
riajiang
https://codereview.chromium.org/2685883003/diff/40001/services/ui/ws/window_tree.cc File services/ui/ws/window_tree.cc (right): https://codereview.chromium.org/2685883003/diff/40001/services/ui/ws/window_tree.cc#newcode1151 services/ui/ws/window_tree.cc:1151: DCHECK(display); I thought there are checks in WindowTreeClient::OnWindowInputEvent to ...
3 years, 10 months ago (2017-02-09 00:33:26 UTC) #13
sky
https://codereview.chromium.org/2685883003/diff/40001/services/ui/ws/window_tree.cc File services/ui/ws/window_tree.cc (right): https://codereview.chromium.org/2685883003/diff/40001/services/ui/ws/window_tree.cc#newcode1151 services/ui/ws/window_tree.cc:1151: DCHECK(display); On 2017/02/09 00:33:26, riajiang wrote: > I thought ...
3 years, 10 months ago (2017-02-09 00:35:36 UTC) #14
sadrul
https://codereview.chromium.org/2685883003/diff/40001/services/ui/ws/window_manager_state.cc File services/ui/ws/window_manager_state.cc (right): https://codereview.chromium.org/2685883003/diff/40001/services/ui/ws/window_manager_state.cc#newcode397 services/ui/ws/window_manager_state.cc:397: EventDispatcher::AcceleratorMatchPhase::ANY); Should we carry |display_id| through into EventDispatcher? https://codereview.chromium.org/2685883003/diff/40001/services/ui/ws/window_manager_state.cc#newcode586 ...
3 years, 10 months ago (2017-02-09 02:27:46 UTC) #15
riajiang
https://codereview.chromium.org/2685883003/diff/40001/services/ui/ws/window_tree.cc File services/ui/ws/window_tree.cc (right): https://codereview.chromium.org/2685883003/diff/40001/services/ui/ws/window_tree.cc#newcode1151 services/ui/ws/window_tree.cc:1151: DCHECK(display); On 2017/02/09 00:35:36, sky wrote: > On 2017/02/09 ...
3 years, 10 months ago (2017-02-09 02:53:42 UTC) #16
sky
https://codereview.chromium.org/2685883003/diff/40001/services/ui/ws/window_manager_state.cc File services/ui/ws/window_manager_state.cc (right): https://codereview.chromium.org/2685883003/diff/40001/services/ui/ws/window_manager_state.cc#newcode397 services/ui/ws/window_manager_state.cc:397: EventDispatcher::AcceleratorMatchPhase::ANY); On 2017/02/09 02:27:45, sadrul wrote: > Should we ...
3 years, 10 months ago (2017-02-09 17:06:20 UTC) #19
Tom Sepez
mojom LGTM
3 years, 10 months ago (2017-02-09 17:22:27 UTC) #20
sadrul
lgtm https://codereview.chromium.org/2685883003/diff/60001/services/ui/ws/window_manager_state.h File services/ui/ws/window_manager_state.h (right): https://codereview.chromium.org/2685883003/diff/60001/services/ui/ws/window_manager_state.h#newcode156 services/ui/ws/window_manager_state.h:156: struct InFlightEventDetails { Btw: like this!
3 years, 10 months ago (2017-02-09 21:21:34 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2685883003/60001
3 years, 10 months ago (2017-02-09 21:24:43 UTC) #25
commit-bot: I haz the power
Failed to apply patch for services/ui/ws/window_manager_state_unittest.cc: While running git apply --index -p1; error: patch failed: ...
3 years, 10 months ago (2017-02-09 21:34:02 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2685883003/80001
3 years, 10 months ago (2017-02-09 22:19:44 UTC) #30
commit-bot: I haz the power
3 years, 10 months ago (2017-02-09 23:14:51 UTC) #33
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/907cde5ee78659803d8eb14736a2...

Powered by Google App Engine
This is Rietveld 408576698