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

Issue 9320076: Aura: Switch window mode when screen resolution changes (Closed)

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

Description

Aura: Switch window mode when screen resolution changes If the user plugs in a high-resolution external monitor, dynamically switch out of compact window mode into overlapping window mode. Force re-layout of all containers to ensure launcher, status area, etc. show up in proper locations. BUG=110174 TEST=aura_shell_unittests ShellTest, try plugging and unplugging a monitor with resolution > 1400 pixels wide Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=120692

Patch Set 1 #

Total comments: 2

Patch Set 2 : update unit test #

Patch Set 3 : Trigger from RootWindowLayoutManager #

Patch Set 4 : fix test #

Patch Set 5 : works even if --aura-window-mode on cmd line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -20 lines) Patch
M ash/shell.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 4 chunks +32 lines, -14 lines 0 comments Download
M ash/shell_unittest.cc View 1 2 3 6 chunks +41 lines, -5 lines 0 comments Download
M ash/wm/root_window_layout_manager.cc View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
James Cook
Scott, PTAL at ash/* Oshima, PTAL at opaque_browser_frame_view.cc.
8 years, 10 months ago (2012-02-03 18:44:22 UTC) #1
oshima
On 2012/02/03 18:44:22, James Cook (Chromium) wrote: > Scott, PTAL at ash/* > > Oshima, ...
8 years, 10 months ago (2012-02-03 19:00:30 UTC) #2
sky
https://chromiumcodereview.appspot.com/9320076/diff/1/ash/shell.cc File ash/shell.cc (right): https://chromiumcodereview.appspot.com/9320076/diff/1/ash/shell.cc#newcode425 ash/shell.cc:425: for (Window::Windows::const_iterator it = root_window->children().begin(); Don't the children handle ...
8 years, 10 months ago (2012-02-03 21:47:42 UTC) #3
James Cook
http://codereview.chromium.org/9320076/diff/1/ash/shell.cc File ash/shell.cc (right): http://codereview.chromium.org/9320076/diff/1/ash/shell.cc#newcode425 ash/shell.cc:425: for (Window::Windows::const_iterator it = root_window->children().begin(); On 2012/02/03 21:47:42, sky ...
8 years, 10 months ago (2012-02-03 22:02:43 UTC) #4
James Cook
Scott, PTAL - I moved the code to trigger the window mode change into RootWindowLayoutManager, ...
8 years, 10 months ago (2012-02-06 17:34:53 UTC) #5
sky
LGTM
8 years, 10 months ago (2012-02-06 17:54:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamescook@chromium.org/9320076/11003
8 years, 10 months ago (2012-02-06 20:33:25 UTC) #7
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
8 years, 10 months ago (2012-02-06 22:50:24 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamescook@chromium.org/9320076/11003
8 years, 10 months ago (2012-02-07 00:59:11 UTC) #9
commit-bot: I haz the power
8 years, 10 months ago (2012-02-07 02:41:18 UTC) #10
Change committed as 120692

Powered by Google App Engine
This is Rietveld 408576698