Docked windows should preferably all have the same width. The width of a newly docked...
commit0a64ac1cd926be5e098f98a4fc29b45b18e1fb30
authorvarkha@chromium.org <varkha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 24 Sep 2013 03:06:24 +0000 (24 03:06 +0000)
committervarkha@chromium.org <varkha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 24 Sep 2013 03:06:24 +0000 (24 03:06 +0000)
treef4b9d977ef6050d4a654367807a650bacd509b9a
parentfbbcdf500e2e8413c2b5a6b5d860151b87de769e
Docked windows should preferably all have the same width. The width of a newly docked window is adjusted to match the windows already docked and failing that the windows already docked are adjusted to match the new window. Failing all that the docked windows are centered rather than being flush with the screen edge.

BUG=275806
TEST=ash_unittests --gtest_filter=*Dock*Width*

Review URL: https://chromiumcodereview.appspot.com/23684029

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224869 0039d316-1c4b-4281-b951-d872f2087c98
ash/wm/dock/docked_window_layout_manager.cc
ash/wm/dock/docked_window_layout_manager.h
ash/wm/dock/docked_window_layout_manager_unittest.cc
ash/wm/dock/docked_window_resizer.cc
ash/wm/dock/docked_window_resizer_unittest.cc
ash/wm/workspace/workspace_window_resizer.cc
ash/wm/workspace/workspace_window_resizer.h