Fix AdjustBoundsToEnsureWindowVisibility to work with non primary display bounds
This was asssuming that the visibile area has 0,0 origin. Move the code to ensure minimum visibility when added, from WorkspaceLayoutManager to DragWindowResizer. BUG=none TEST=WindowUtilTest.AdjustBoundsToEnsureWindowVisibility. This also fixes the test that was failing. TBR=oshima@chromium.org Review URL: https://codereview.chromium.org/106303005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243986 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment