diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-04 16:33:56 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-04 16:33:56 +0000 |
commit | f06ccec5826680ddeec130c1ab585fa6d1ab6ae0 (patch) | |
tree | b2e71a2e42b40f85996f78ede8aaa11ffbe84832 /chrome/installer/setup | |
parent | fea6521126499d1672d3a43c8375f83831f2de56 (diff) | |
download | chromium_src-f06ccec5826680ddeec130c1ab585fa6d1ab6ae0.zip chromium_src-f06ccec5826680ddeec130c1ab585fa6d1ab6ae0.tar.gz chromium_src-f06ccec5826680ddeec130c1ab585fa6d1ab6ae0.tar.bz2 |
Mac: restore window size/position when hiding bookmark bar or download shelf.
This applies in particular when the bookmark bar or download shelf causes the
window to grow at the top (due to there not being enough space at the bottom of
the screen). Note that resizing or moving reset the state (* for moving it's a
bit more subtle), so hiding afterwards will always shrink the window from the
bottom.
BUG=29192
TEST=(1) Navigate to a normal (non-NTP) page and hide bookmark bar; move window close to the bottom of the screen (keeping the window fully on-screen); Shift-Cmd-B to show the bookmark bar (which show grow maybe a bit downwards and then upwards); Shift-Cmd-B to hide it again; it should shrink from the top and from the bottom, restoring its original size/position. (2) Do the same but move the window away from the bottom of the screen after the first Shift-Cmd-B; now upon hiding it should only shrink at the bottom. (3) Check that if the window is far enough away from the bottom of the screen to begin with, then growing/shrinking only occurs at the bottom. (4) Do (1)-(3) for the download shelf (download something to show the shelf; then hide it by closing it).
Review URL: http://codereview.chromium.org/465024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33821 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/setup')
0 files changed, 0 insertions, 0 deletions