Move GetSize from RenderView to WebView.
WebView already exposes a variety of Resize() methods, as well as VisualViewportSize(), so it's the right place for the method to live. Note that this technically consitutes a slight behavior change, since previously we were returning the main RenderWidget size, and now we're returning the WebView size. For pre-render, this should be functionally identical. Bug: 912193 Change-Id: I884f7c93d7a8ca4549f63689934197207b0cb85e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1817325 Auto-Submit: Erik Chen <erikchen@chromium.org> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Avi Drissman <avi@chromium.org> Commit-Queue: Avi Drissman <avi@chromium.org> Cr-Commit-Position: refs/heads/master@{#698932}
Showing
Please register or sign in to comment