As of this patch, https://chromium-review.googlesource.com/c/chromium/src/+/900315, UpdateResizeParams lives on FrameConnectorDelegate. This is strange because FrameConnectorDelegate is meant to be an intermediary between RWHVChildFrame and CrossProcessFrameConnector. RWHVCF never calls UpdateResizeParams.
UpdateResizeParams lives on FrameConnectorDelegate for testability purposes. Moving it to CrossProcessFrameConnector really complicates unit tests because a whole lot more stuff needs to be brought into the test (RenderFrameProxyHost). Instead, I think UpdateResizeParams should be a public non-virtual method on RWHVChildFrame called by CrossProcessFrameConnector.
There are a bunch of other sizing methods that should probably move there too.
Comment 1 by dcheng@chromium.org
, Feb 5 2018