Enforce minimum visibility only for normal and panel windows
commit0ccc237ac8bbd5403605787a186ff10cefe13c87
authormohsen@chromium.org <mohsen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 25 Jun 2014 06:23:05 +0000 (25 06:23 +0000)
committermohsen@chromium.org <mohsen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 25 Jun 2014 06:23:05 +0000 (25 06:23 +0000)
treed1b1a33c04e488db9c2445453df93251a9ec7486
parent2474db3b20649bfe33d6f265902ee091b9265a00
Enforce minimum visibility only for normal and panel windows

Enforcing minimum visibility is to ensure that the user is always able
to interact with the window. This is only needed for normal and panel
windows which are positioned by user. Other types of windows are
positioned programmatically.

BUG=364117
TEST=WorkspaceLayoutManagerTest.NoMinimumVisibilityForPopupWindows

Review URL: https://codereview.chromium.org/348943002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279630 0039d316-1c4b-4281-b951-d872f2087c98
ash/wm/default_state.cc
ash/wm/workspace/workspace_layout_manager_unittest.cc