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

Issue 23205027: Correctly restore the auto managed window to the original bounds when becoming single window (Closed)

Created:
7 years, 4 months ago by oshima
Modified:
7 years, 3 months ago
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Correctly restore the auto managed window to the original bounds when becoming single window. * Consolidate the flush left/right logic for new window with one for visibility change. * The logic to get initial tab should be same as one for tabbed browser window. This CL should address this issue. Next step. move the initial bounds logic (incl. window positioner) to ash and remove window_sizer_ash.cc BUG=273825, 272460 TEST=covered by test. moved relevant tests to ash. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220428

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 11

Patch Set 4 : #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+274 lines, -202 lines) Patch
M ash/wm/workspace/auto_window_management.h View 1 2 3 2 chunks +17 lines, -2 lines 0 comments Download
M ash/wm/workspace/auto_window_management.cc View 1 2 3 5 chunks +97 lines, -53 lines 4 comments Download
M ash/wm/workspace_controller_unittest.cc View 1 2 4 chunks +117 lines, -11 lines 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer_ash.cc View 1 4 chunks +5 lines, -71 lines 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc View 1 2 3 16 chunks +38 lines, -65 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
oshima
7 years, 3 months ago (2013-08-28 20:30:12 UTC) #1
Mr4D (OOO till 08-26)
A few comments, but a great start to move the functionality to a central place! ...
7 years, 3 months ago (2013-08-28 21:58:15 UTC) #2
oshima
https://codereview.chromium.org/23205027/diff/40001/ash/wm/workspace/auto_window_management.cc File ash/wm/workspace/auto_window_management.cc (right): https://codereview.chromium.org/23205027/diff/40001/ash/wm/workspace/auto_window_management.cc#newcode153 ash/wm/workspace/auto_window_management.cc:153: if (found && found != window) { On 2013/08/28 ...
7 years, 3 months ago (2013-08-29 09:18:04 UTC) #3
Mr4D (OOO till 08-26)
lgtm https://codereview.chromium.org/23205027/diff/40001/chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc File chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc (right): https://codereview.chromium.org/23205027/diff/40001/chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc#newcode646 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc:646: gfx::Rect(secondary_bounds.CenterPoint().x() - 100, 10, 200, 200), Okay - ...
7 years, 3 months ago (2013-08-29 15:58:15 UTC) #4
oshima
sky -> OWNERS
7 years, 3 months ago (2013-08-29 17:05:35 UTC) #5
sky
https://codereview.chromium.org/23205027/diff/46001/ash/wm/workspace/auto_window_management.cc File ash/wm/workspace/auto_window_management.cc (right): https://codereview.chromium.org/23205027/diff/46001/ash/wm/workspace/auto_window_management.cc#newcode128 ash/wm/workspace/auto_window_management.cc:128: const std::vector<aura::Window*> windows = Are you sure we want ...
7 years, 3 months ago (2013-08-29 19:33:31 UTC) #6
oshima
https://codereview.chromium.org/23205027/diff/46001/ash/wm/workspace/auto_window_management.cc File ash/wm/workspace/auto_window_management.cc (right): https://codereview.chromium.org/23205027/diff/46001/ash/wm/workspace/auto_window_management.cc#newcode128 ash/wm/workspace/auto_window_management.cc:128: const std::vector<aura::Window*> windows = On 2013/08/29 19:33:31, sky wrote: ...
7 years, 3 months ago (2013-08-29 19:49:52 UTC) #7
sky
LGTM https://codereview.chromium.org/23205027/diff/46001/ash/wm/workspace/auto_window_management.cc File ash/wm/workspace/auto_window_management.cc (right): https://codereview.chromium.org/23205027/diff/46001/ash/wm/workspace/auto_window_management.cc#newcode154 ash/wm/workspace/auto_window_management.cc:154: // no need to check !signle_window because the ...
7 years, 3 months ago (2013-08-29 20:18:09 UTC) #8
oshima
https://codereview.chromium.org/23205027/diff/46001/ash/wm/workspace/auto_window_management.cc File ash/wm/workspace/auto_window_management.cc (right): https://codereview.chromium.org/23205027/diff/46001/ash/wm/workspace/auto_window_management.cc#newcode154 ash/wm/workspace/auto_window_management.cc:154: // no need to check !signle_window because the function ...
7 years, 3 months ago (2013-08-29 20:48:04 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/23205027/46001
7 years, 3 months ago (2013-08-29 20:51:47 UTC) #10
commit-bot: I haz the power
7 years, 3 months ago (2013-08-29 23:37:29 UTC) #11
Message was sent while issue was closed.
Change committed as 220428

Powered by Google App Engine
This is Rietveld 408576698