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

Issue 1838003002: Create drag windows on all displays (Closed)

Created:
4 years, 8 months ago by oshima
Modified:
4 years, 8 months ago
Reviewers:
stevenjb
CC:
chromium-reviews, kalyank, sadrul, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Create drag windows on all displays This refactors and simplify the logic as follows: * DragWindowDetails is now responsible for drag window state management. - DragWindowDetails is created for all displays except for the drag source. - This creates/deletes the drag window based on the requested bounds. - This also updates the opacity based on the requested bounds. This also fixes minor issue in the DragWindowController tests where the window was snapped. BUG=598438 TEST=covered by unit tests. Committed: https://crrev.com/32347aea90191f4558531d5dccb05bd9946cddce Cr-Commit-Position: refs/heads/master@{#384625}

Patch Set 1 : #

Total comments: 13

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : fix silly typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+369 lines, -235 lines) Patch
M ash/wm/drag_window_controller.h View 2 chunks +20 lines, -49 lines 0 comments Download
M ash/wm/drag_window_controller.cc View 1 2 3 2 chunks +197 lines, -81 lines 0 comments Download
M ash/wm/drag_window_resizer.h View 3 chunks +7 lines, -6 lines 0 comments Download
M ash/wm/drag_window_resizer.cc View 1 5 chunks +24 lines, -80 lines 0 comments Download
M ash/wm/drag_window_resizer_unittest.cc View 1 2 4 chunks +121 lines, -19 lines 0 comments Download

Messages

Total messages: 37 (21 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1838003002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1838003002/80001
4 years, 8 months ago (2016-03-29 17:54:22 UTC) #7
oshima
4 years, 8 months ago (2016-03-29 17:56:43 UTC) #10
oshima
4 years, 8 months ago (2016-03-29 17:56:44 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-29 18:51:11 UTC) #13
stevenjb
lgtm with nits https://codereview.chromium.org/1838003002/diff/80001/ash/wm/drag_window_controller.cc File ash/wm/drag_window_controller.cc (right): https://codereview.chromium.org/1838003002/diff/80001/ash/wm/drag_window_controller.cc#newcode41 ash/wm/drag_window_controller.cc:41: delete drag_window_; nit: I had to ...
4 years, 8 months ago (2016-03-29 18:56:14 UTC) #14
oshima
https://codereview.chromium.org/1838003002/diff/80001/ash/wm/drag_window_controller.cc File ash/wm/drag_window_controller.cc (right): https://codereview.chromium.org/1838003002/diff/80001/ash/wm/drag_window_controller.cc#newcode42 ash/wm/drag_window_controller.cc:42: drag_window_ = nullptr; On 2016/03/29 18:56:13, stevenjb wrote: > ...
4 years, 8 months ago (2016-03-30 21:21:02 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1838003002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1838003002/100001
4 years, 8 months ago (2016-03-30 21:22:38 UTC) #18
stevenjb
lgtm https://codereview.chromium.org/1838003002/diff/100001/ash/wm/drag_window_resizer_unittest.cc File ash/wm/drag_window_resizer_unittest.cc (right): https://codereview.chromium.org/1838003002/diff/100001/ash/wm/drag_window_resizer_unittest.cc#newcode352 ash/wm/drag_window_resizer_unittest.cc:352: // edge when cragging around the edge of ...
4 years, 8 months ago (2016-03-30 21:22:44 UTC) #19
oshima
https://codereview.chromium.org/1838003002/diff/100001/ash/wm/drag_window_resizer_unittest.cc File ash/wm/drag_window_resizer_unittest.cc (right): https://codereview.chromium.org/1838003002/diff/100001/ash/wm/drag_window_resizer_unittest.cc#newcode352 ash/wm/drag_window_resizer_unittest.cc:352: // edge when cragging around the edge of the ...
4 years, 8 months ago (2016-03-30 21:40:56 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1838003002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1838003002/120001
4 years, 8 months ago (2016-03-30 21:41:27 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/146717)
4 years, 8 months ago (2016-03-30 22:26:26 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1838003002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1838003002/140001
4 years, 8 months ago (2016-04-01 16:51:12 UTC) #28
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-01 17:36:44 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1838003002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1838003002/140001
4 years, 8 months ago (2016-04-01 17:47:54 UTC) #33
commit-bot: I haz the power
Committed patchset #4 (id:140001)
4 years, 8 months ago (2016-04-01 17:54:56 UTC) #35
commit-bot: I haz the power
4 years, 8 months ago (2016-04-01 17:56:15 UTC) #37
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/32347aea90191f4558531d5dccb05bd9946cddce
Cr-Commit-Position: refs/heads/master@{#384625}

Powered by Google App Engine
This is Rietveld 408576698