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

Issue 10795027: Move a window if the sceren bounds being set is in other display. (Closed)

Created:
8 years, 5 months ago by oshima
Modified:
8 years, 5 months ago
Reviewers:
sky
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Move a window if the sceren bounds being set is in other display. - Fix StackingController::GetDefaultParent so that it uses the same root window as its transient parent. - Updated WorkspaceWindowResizer to move the dragged window to other display if the new destination matches it. This is short term, temporary solution until better drag&drop is implemented. BUG=123160 TEST=ExtendedDesktopTest.MoveWindow/MoveWindowWithTransient Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=147798

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : cleanup #

Total comments: 14

Patch Set 5 : fix modal test #

Patch Set 6 : updated comments #

Patch Set 7 : adjust for win_aura #

Unified diffs Side-by-side diffs Delta from patch set Stats (+257 lines, -40 lines) Patch
M ash/display/screen_position_controller.cc View 1 2 3 4 5 2 chunks +77 lines, -3 lines 0 comments Download
M ash/extended_desktop_unittest.cc View 1 2 3 4 5 6 2 chunks +102 lines, -1 line 0 comments Download
M ash/root_window_controller.cc View 1 2 3 4 6 1 chunk +2 lines, -4 lines 0 comments Download
M ash/shell.cc View 1 2 3 3 chunks +12 lines, -0 lines 0 comments Download
M ash/wm/stacking_controller.h View 1 2 3 2 chunks +8 lines, -5 lines 0 comments Download
M ash/wm/stacking_controller.cc View 1 2 4 chunks +27 lines, -17 lines 0 comments Download
M ash/wm/system_modal_container_layout_manager.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ash/wm/system_modal_container_layout_manager.cc View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M ash/wm/workspace/workspace_window_resizer.cc View 1 2 3 1 chunk +17 lines, -7 lines 0 comments Download
M ui/aura/window.cc View 1 2 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
oshima
8 years, 5 months ago (2012-07-19 23:45:28 UTC) #1
sky
http://codereview.chromium.org/10795027/diff/8001/ash/display/screen_position_controller.cc File ash/display/screen_position_controller.cc (right): http://codereview.chromium.org/10795027/diff/8001/ash/display/screen_position_controller.cc#newcode25 ash/display/screen_position_controller.cc:25: void MoveAllTransientChildToNewRoot(aura::RootWindow* dst_root, Child->Children or MoveAllTransientsToNewRoot http://codereview.chromium.org/10795027/diff/8001/ash/display/screen_position_controller.cc#newcode28 ash/display/screen_position_controller.cc:28: for ...
8 years, 5 months ago (2012-07-20 15:06:07 UTC) #2
oshima
http://codereview.chromium.org/10795027/diff/8001/ash/display/screen_position_controller.cc File ash/display/screen_position_controller.cc (right): http://codereview.chromium.org/10795027/diff/8001/ash/display/screen_position_controller.cc#newcode25 ash/display/screen_position_controller.cc:25: void MoveAllTransientChildToNewRoot(aura::RootWindow* dst_root, On 2012/07/20 15:06:07, sky wrote: > ...
8 years, 5 months ago (2012-07-20 17:03:11 UTC) #3
sky
LGTM
8 years, 5 months ago (2012-07-20 23:16:54 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/10795027/3013
8 years, 5 months ago (2012-07-21 13:07:01 UTC) #5
commit-bot: I haz the power
8 years, 5 months ago (2012-07-21 14:27:59 UTC) #6
Change committed as 147798

Powered by Google App Engine
This is Rietveld 408576698