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

Issue 2376583003: mus: Keep track of the drag cursor during DnD operations. (Closed)

Created:
4 years, 2 months ago by Elliot Glaysher
Modified:
4 years, 2 months ago
Reviewers:
sky
CC:
chromium-reviews, rjkroege, dcheng
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mus: Keep track of the drag cursor during DnD operations. BUG=614037 Committed: https://crrev.com/3e38cbe24d4543a1484c6d3d25626c810de5343c Cr-Commit-Position: refs/heads/master@{#421621}

Patch Set 1 #

Patch Set 2 : fix unit tests? #

Patch Set 3 : Add unit tests for cursor changing. #

Patch Set 4 : Add one more expect to ensure we aren't responding to something different. #

Patch Set 5 : Add test for when target window closes to reset cursor #

Total comments: 9

Patch Set 6 : style #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+253 lines, -36 lines) Patch
M services/ui/ws/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/ws/drag_controller.h View 1 2 3 4 5 6 chunks +33 lines, -6 lines 1 comment Download
M services/ui/ws/drag_controller.cc View 1 2 3 4 5 7 chunks +56 lines, -14 lines 0 comments Download
M services/ui/ws/drag_controller_unittest.cc View 1 2 3 4 5 11 chunks +109 lines, -7 lines 0 comments Download
A services/ui/ws/drag_cursor_updater.h View 1 chunk +23 lines, -0 lines 0 comments Download
M services/ui/ws/event_dispatcher.h View 3 chunks +5 lines, -1 line 0 comments Download
M services/ui/ws/event_dispatcher.cc View 3 chunks +10 lines, -1 line 0 comments Download
M services/ui/ws/event_dispatcher_delegate.h View 1 chunk +4 lines, -0 lines 0 comments Download
M services/ui/ws/event_dispatcher_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/ws/window_manager_state.h View 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/ws/window_manager_state.cc View 3 chunks +10 lines, -7 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 24 (17 generated)
Elliot Glaysher
4 years, 2 months ago (2016-09-28 00:10:26 UTC) #10
sky
Just naming. https://codereview.chromium.org/2376583003/diff/80001/services/ui/ws/drag_controller.cc File services/ui/ws/drag_controller.cc (right): https://codereview.chromium.org/2376583003/diff/80001/services/ui/ws/drag_controller.cc#newcode38 services/ui/ws/drag_controller.cc:38: uint32_t window_operations = 0u; Please be consistent ...
4 years, 2 months ago (2016-09-28 15:38:14 UTC) #13
Elliot Glaysher
https://codereview.chromium.org/2376583003/diff/80001/services/ui/ws/drag_controller.cc File services/ui/ws/drag_controller.cc (right): https://codereview.chromium.org/2376583003/diff/80001/services/ui/ws/drag_controller.cc#newcode38 services/ui/ws/drag_controller.cc:38: uint32_t window_operations = 0u; On 2016/09/28 15:38:13, sky wrote: ...
4 years, 2 months ago (2016-09-28 18:15:32 UTC) #16
sky
LGTM https://codereview.chromium.org/2376583003/diff/100001/services/ui/ws/drag_controller.h File services/ui/ws/drag_controller.h (right): https://codereview.chromium.org/2376583003/diff/100001/services/ui/ws/drag_controller.h#newcode28 services/ui/ws/drag_controller.h:28: using DropEffect = uint32_t; Nice! Thanks!
4 years, 2 months ago (2016-09-28 20:02:38 UTC) #19
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/2376583003/100001
4 years, 2 months ago (2016-09-28 20:09:09 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-09-28 20:14:56 UTC) #22
commit-bot: I haz the power
4 years, 2 months ago (2016-09-28 20:17:01 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/3e38cbe24d4543a1484c6d3d25626c810de5343c
Cr-Commit-Position: refs/heads/master@{#421621}

Powered by Google App Engine
This is Rietveld 408576698