• Donn Denman's avatar
    [WebContents] Refactor RWHV out of WebContents. · e03c880a
    Donn Denman authored
    There are about 5 accessors in WebContentImpl that end up
    just going through that class to get to RenderWidgetHostView.
    
    This CL moves those accessors onto a new class with an interface in
    RenderWidgetHostView.java and java implementation in
    RenderWidgetHostViewImpl.java that links to the native
    RanderWidgetHostViewAndroid.
    
    Updates callers to access RWHV through
    WebContents#getRenderWidgetHostView, which can return null.
    
    BUG=974430
    
    Change-Id: I815c4f1791164aea0303c83fb5da62f7e87df274
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1663398
    Commit-Queue: Donn Denman <donnd@chromium.org>
    Reviewed-by: default avatarTed Choc <tedchoc@chromium.org>
    Auto-Submit: Donn Denman <donnd@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#671774}
    e03c880a
DEPS 2.41 KB