DescriptionFix 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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243986
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244131
Patch Set 1 : #
Total comments: 2
Patch Set 2 : #Patch Set 3 : #
Total comments: 2
Patch Set 4 : #
Total comments: 2
Patch Set 5 : update bounds without removing #
Messages
Total messages: 18 (0 generated)
|