-
Dominik Laskowski authored
The RenderPass::output_rect and host window bounds for SurfaceTreeHost were set to the content size of the root surface. Hence, surfaces were clipped to the viewport (0, 0) × (W, H), where (W, H) is the size of the root surface. The root surface of ARC windows is sized to match the Android display. This CL computes the output_rect as the bounding box of the surface tree, and resizes the host window to match the output_rect. Bug: b:64893967 Test: Windows whose bounds exceed the bottom/right edges of the display are not clipped in overview mode. Change-Id: I51ddf7405e703f5c546aec88a01cc004d105b18a Reviewed-on: https://chromium-review.googlesource.com/639472 Commit-Queue: Dominik Laskowski <domlaskowski@chromium.org> Reviewed-by:David Reveman <reveman@chromium.org> Cr-Commit-Position: refs/heads/master@{#505871}
2af53e7b