• Sean Topping's avatar
    [Chromecast] Refactor and Simplify CastWebView · 6d514087
    Sean Topping authored
    CastWebView forces too much indirection from the underlying page/window
    functionality, so some forwarding methods have been removed in favor of
    calling the members directly. This is presently not ideal, but will be a
    great improvement once the CastWebContents and CastContentWindow are
    surfaced as mojo interfaces via CastWebService and their lifetimes can
    be tracked independently.
    
    The CastWebService API has been simplified so that clients no longer
    need to provide a SiteInstance when creating CastWebViews. The renderer
    preloading logic, which was previously disjoint from CastWebView, has
    now been incorporated.
    
    Merge-With: eureka-internal/331288
    
    Bug: internal 77879457
    Test: CQ, manually verify on display assistant device.
    Change-Id: I72fc57f0669783f61076626962d47b72d93463f6
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1968257Reviewed-by: default avatarYuchen Liu <yucliu@chromium.org>
    Commit-Queue: Sean Topping <seantopping@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#740143}
    6d514087
cast_web_view_base.cc 2.16 KB