Restore 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
Review URL: https://codereview.chromium.org/
299443003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272011 0039d316-1c4b-4281-b951-d872f2087c98