[Chromecast] Reactive WebContents presentation.
No more detatchWebContentsIfAny() and similar helpers. This boils the presentation of WebContents into a simple state machine compatible with Observables. This refactor includes covering the business logic of CastWebContentsSurfaceHelper in unittests. The implementation details of CastWebContentsView are still not unit-tested, but are now better isolated from other logic. Bug: Internal b/36777136 Test: cast_shell_junit_tests Change-Id: Ia555b4d3ea9ee07607bf54cc339b950fe068d220 Reviewed-on: https://chromium-review.googlesource.com/1003412Reviewed-by:Luke Halliwell <halliwell@chromium.org> Commit-Queue: Simeon Anfinrud <sanfin@chromium.org> Cr-Commit-Position: refs/heads/master@{#551464}
Showing
Please register or sign in to comment