-
btolsch authored
This change adds a class which shows a Presentation API receiver page in a popup-style window that is started fullscreen on a specific wired display. It also changes the handling of one-off OTR profiles used by presentations, which affects this class and offscreen tabs. Previously, offscreen tabs assumed ownership of their OTR profiles. However, it was possible for this to be violated by opening a DevTools window and Browser would think that it could destroy the profile. Additionally, there was no handling of the original profile being destroyed, which would leave dangling references in the OTR profile. This has been addressed by adding an IndependentOTRProfileManager class, which helps both offscreen tabs and PresentationReceiverWindow manage the lifetime of these one-off OTR profiles. Bug: 777654, 786158, 664351, 727487 Change-Id: I64d032419d341affbdde4ee80b57d45c99648588 Reviewed-on: https://chromium-review.googlesource.com/742122 Commit-Queue: Brandon Tolsch <btolsch@chromium.org> Reviewed-by:
mark a. foltz <mfoltz@chromium.org> Reviewed-by:
Derek Cheng <imcheng@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Reviewed-by:
Yuri Wiitala <miu@chromium.org> Cr-Commit-Position: refs/heads/master@{#524615}
7adfa2d5