diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-20 22:06:36 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-20 22:06:36 +0000 |
commit | 772836b19450e8e15ac98e6f783af0fc1a2fb8e3 (patch) | |
tree | 6551f434e3e63f2162f6fb2349163fe9c2c7bfa0 /chrome/browser/views/panel_controller.cc | |
parent | 58d7a13ade5521cea32ed0e1ff4ea4e9b2fa2470 (diff) | |
download | chromium_src-772836b19450e8e15ac98e6f783af0fc1a2fb8e3.zip chromium_src-772836b19450e8e15ac98e6f783af0fc1a2fb8e3.tar.gz chromium_src-772836b19450e8e15ac98e6f783af0fc1a2fb8e3.tar.bz2 |
When we save the window bounds, make sure we are only storing the
non-maximized and non-fullscreen bounds. We still keep track of
whether the window is maximized or not, but this allows restoring
a maximized browser to go back to it's previous state.
This also fixes a bug where we would confuse window managers by
setting the initial window size to the full desktop would cause
WMs to disable resize/move.
BUG=16602
Review URL: http://codereview.chromium.org/155802
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21113 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/panel_controller.cc')
0 files changed, 0 insertions, 0 deletions