summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/ash/chrome_shell_delegate.cc
diff options
context:
space:
mode:
authorjianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-21 18:21:20 +0000
committerjianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-21 18:21:20 +0000
commit4f2d5b1afa32dd6431c28f343954644872f23485 (patch)
treeef2ed51a3f541e2693c8815b0da526aee47a7d10 /chrome/browser/ui/ash/chrome_shell_delegate.cc
parent7fab620635a3398dccf9e8c4e934dc70fa1f1a1e (diff)
downloadchromium_src-4f2d5b1afa32dd6431c28f343954644872f23485.zip
chromium_src-4f2d5b1afa32dd6431c28f343954644872f23485.tar.gz
chromium_src-4f2d5b1afa32dd6431c28f343954644872f23485.tar.bz2
Make sure all panels could fit within the screen when expanding a panel or all panels.
When the user tries to expand a panel, the following is done in order to make enough space for the panel to expand: 1) Collapse the existing expanded panels in the least recently active order. 2) If the above does not give enough space, try to move up all the panels until the top edge of the screen is hit. 3) If there is still not enough space, we will only make the panel to expand as big as the space allows. When the user tries to expand all panels by holding down APPLY_TO_ALL modifier key at the same time 1) Expand the panel being clicked following rules above. 2) Expand all other panels in the most recently active order until we run out of space. BUG=159637 TEST=new tests Review URL: https://chromiumcodereview.appspot.com/12210072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183834 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/ash/chrome_shell_delegate.cc')
0 files changed, 0 insertions, 0 deletions