Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(923)

Issue 10659006: move windows when disconnecting secondary monitors (Closed)

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

Description

move windows when disconnecting secondary monitors BUG=123160 TEST=root_window_controller_unittest.cc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=144467

Patch Set 1 #

Patch Set 2 : . #

Total comments: 15

Patch Set 3 : . #

Total comments: 1

Patch Set 4 : close background menu #

Patch Set 5 : rename cost #

Patch Set 6 : delay old_layer deletion for test #

Total comments: 1

Patch Set 7 : release capture #

Total comments: 4

Patch Set 8 : WindowLifeTracker #

Total comments: 4

Patch Set 9 : addressed comments #

Patch Set 10 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+305 lines, -11 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M ash/monitor/monitor_controller.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M ash/root_window_controller.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ash/root_window_controller.cc View 1 2 3 4 5 6 7 8 4 chunks +102 lines, -0 lines 0 comments Download
A ash/root_window_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +165 lines, -0 lines 0 comments Download
M ash/wm/system_modal_container_layout_manager.cc View 1 1 chunk +11 lines, -7 lines 0 comments Download
M ash/wm/window_animations.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M ash/wm/window_animations.cc View 1 2 3 4 5 3 chunks +12 lines, -2 lines 0 comments Download
M ash/wm/window_animations_unittest.cc View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
oshima
jamescook -> window_animatinos.cc sky -> see my comment in root_window_controller_unittest.cc derat -> everything. http://codereview.chromium.org/10659006/diff/10008/ash/root_window_controller_unittest.cc File ...
8 years, 6 months ago (2012-06-25 21:34:09 UTC) #1
James Cook
window_animations.cc lgtm
8 years, 6 months ago (2012-06-25 21:38:56 UTC) #2
sky
http://codereview.chromium.org/10659006/diff/10008/ash/root_window_controller.cc File ash/root_window_controller.cc (right): http://codereview.chromium.org/10659006/diff/10008/ash/root_window_controller.cc#newcode256 ash/root_window_controller.cc:256: menu_controller->OnWidgetActivationChanged(); Why do you have to explicitly do this? ...
8 years, 6 months ago (2012-06-25 22:05:14 UTC) #3
Daniel Erat
http://codereview.chromium.org/10659006/diff/10008/ash/root_window_controller.cc File ash/root_window_controller.cc (right): http://codereview.chromium.org/10659006/diff/10008/ash/root_window_controller.cc#newcode46 ash/root_window_controller.cc:46: const int* ids, nit: mind switching this to be ...
8 years, 6 months ago (2012-06-25 22:09:33 UTC) #4
oshima
http://codereview.chromium.org/10659006/diff/10008/ash/root_window_controller.cc File ash/root_window_controller.cc (right): http://codereview.chromium.org/10659006/diff/10008/ash/root_window_controller.cc#newcode46 ash/root_window_controller.cc:46: const int* ids, On 2012/06/25 22:09:33, Daniel Erat wrote: ...
8 years, 6 months ago (2012-06-25 22:42:27 UTC) #5
Daniel Erat
lgtm http://codereview.chromium.org/10659006/diff/1005/ash/root_window_controller.cc File ash/root_window_controller.cc (right): http://codereview.chromium.org/10659006/diff/1005/ash/root_window_controller.cc#newcode49 ash/root_window_controller.cc:49: const int container_ids_to_move[] = { nit: kContainerIdsToMove
8 years, 6 months ago (2012-06-25 23:13:36 UTC) #6
sky
http://codereview.chromium.org/10659006/diff/10008/ash/root_window_controller.cc File ash/root_window_controller.cc (right): http://codereview.chromium.org/10659006/diff/10008/ash/root_window_controller.cc#newcode256 ash/root_window_controller.cc:256: menu_controller->OnWidgetActivationChanged(); On 2012/06/25 22:42:28, oshima wrote: > On 2012/06/25 ...
8 years, 6 months ago (2012-06-25 23:58:33 UTC) #7
oshima
On 2012/06/25 23:58:33, sky wrote: > http://codereview.chromium.org/10659006/diff/10008/ash/root_window_controller.cc > File ash/root_window_controller.cc (right): > > http://codereview.chromium.org/10659006/diff/10008/ash/root_window_controller.cc#newcode256 > ...
8 years, 6 months ago (2012-06-26 01:36:27 UTC) #8
oshima
james, can you check window_animation change again? CrossFade test was using old_layer to verify the ...
8 years, 6 months ago (2012-06-26 02:14:40 UTC) #9
sky
http://codereview.chromium.org/10659006/diff/12020/ash/root_window_controller.cc File ash/root_window_controller.cc (right): http://codereview.chromium.org/10659006/diff/12020/ash/root_window_controller.cc#newcode259 ash/root_window_controller.cc:259: Shell::GetInstance()->HideBackgroundMenu(); I don't want anything special like this. There ...
8 years, 6 months ago (2012-06-26 04:10:44 UTC) #10
James Cook
window_animations.cc LGTM. Sorry I didn't notice the problem before. Yes, the tests require the old ...
8 years, 6 months ago (2012-06-26 13:45:40 UTC) #11
oshima
On 2012/06/26 04:10:44, sky wrote: > http://codereview.chromium.org/10659006/diff/12020/ash/root_window_controller.cc > File ash/root_window_controller.cc (right): > > http://codereview.chromium.org/10659006/diff/12020/ash/root_window_controller.cc#newcode259 > ...
8 years, 6 months ago (2012-06-26 15:06:32 UTC) #12
sky
I'm was just thinking about releasing capture today on the way to work! -Scott http://codereview.chromium.org/10659006/diff/7011/ash/root_window_controller.cc ...
8 years, 6 months ago (2012-06-26 15:34:01 UTC) #13
oshima
http://codereview.chromium.org/10659006/diff/7011/ash/root_window_controller.cc File ash/root_window_controller.cc (right): http://codereview.chromium.org/10659006/diff/7011/ash/root_window_controller.cc#newcode253 ash/root_window_controller.cc:253: On 2012/06/26 15:34:01, sky wrote: > nit: remove newline. ...
8 years, 6 months ago (2012-06-26 18:12:15 UTC) #14
sky
LGTM http://codereview.chromium.org/10659006/diff/5007/ash/root_window_controller.cc File ash/root_window_controller.cc (right): http://codereview.chromium.org/10659006/diff/5007/ash/root_window_controller.cc#newcode50 ash/root_window_controller.cc:50: tracking_windows_.erase(iter); window->RemoveObserver(this); http://codereview.chromium.org/10659006/diff/5007/ash/root_window_controller.cc#newcode66 ash/root_window_controller.cc:66: DISALLOW_COPY_AND_ASSIGN(WindowLifeTracker); nit: newline between ...
8 years, 6 months ago (2012-06-26 20:01:49 UTC) #15
oshima
http://codereview.chromium.org/10659006/diff/5007/ash/root_window_controller.cc File ash/root_window_controller.cc (right): http://codereview.chromium.org/10659006/diff/5007/ash/root_window_controller.cc#newcode50 ash/root_window_controller.cc:50: tracking_windows_.erase(iter); On 2012/06/26 20:01:49, sky wrote: > window->RemoveObserver(this); Done. ...
8 years, 6 months ago (2012-06-26 20:58:31 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10659006/25001
8 years, 5 months ago (2012-06-27 15:00:13 UTC) #17
commit-bot: I haz the power
8 years, 5 months ago (2012-06-27 16:21:28 UTC) #18
Change committed as 144467

Powered by Google App Engine
This is Rietveld 408576698