DescriptionRestore resize throttling on Chrome OS
r270786 removed DelegatedFrameHost::GetViewBoundsWithResizeLock, but
that was based on the wrong assumption, which is that the resize lock is
always taken at the same time as when RWHI sends the Resize message,
which is not true.
So, reintroduce that logic, although in a saner way. The RWHV is
responsible for throttling, it should be explicit about having 2 sizes:
1- the size that is set by the UI layers
2- the size that the renderer should be resized to.
They are different when throttling.
(1) stays RWHV::GetViewBounds().size().
(2) is introduced as RWHVBase::GetRequestedRendererSize().
BUG=374885
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272011
Patch Set 1 #
Total comments: 3
Patch Set 2 : rebase, test fix #
Messages
Total messages: 10 (0 generated)
|