Add a WebContentsPresentationManager interface
Add WebContentsPresentationManager, which is an interface that can be observed to obtain the default PresentationRequest and MediaRoutes associated with a WebContents. Make PresentationServiceDelegateImpl implement WebContentsPresentationManager, and have MediaRouterViewsUI observe it through the interface instead of observing directly. Bug: 1031672 Change-Id: I28034b11bf3b94c15c8af55fa68e532eb87e833e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1939844 Commit-Queue: Takumi Fujimoto <takumif@chromium.org> Reviewed-by:mark a. foltz <mfoltz@chromium.org> Cr-Commit-Position: refs/heads/master@{#727834}
Showing
Please register or sign in to comment