DescriptionSite Isolation: RenderView-->RenderFrame for WebContentsVideoCaptureDevice and WebContentsAudioInputStream.
The tab capture audio/video devices will now track and respond to
RenderFrame tree changes, rather than RenderView swaps, within a
WebContents. In other words, content change events (navigation,
crashes, etc.) are now followed by observing the render frame tree
associated with a WebContents.
AudioMirroringManager was mostly re-written around the idea that
MirroringDestinations provide a query interface. The query interface
was needed because AudioMirroringManager runs on the IO thread, while
the question "Does render frame X associate with WebContents Y?" must be
evaluated on the UI thread.
Code de-duplication: Both WebContentsVideoCaptureDevice and
WebContentsAudioInputStream now use the same tracking decision logic
provided by WebContentsTracker. For the former, WebContentsTracker was
made to detect when hops to the UI thread were not necessary, and will
operate synchronously in that case.
BUG=304341, 392596
Committed: https://crrev.com/451dd9aa93c91692599bd2cc88f61373857d0b16
Cr-Commit-Position: refs/heads/master@{#293888}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Fix comment/naming, per review suggestions. #Messages
Total messages: 15 (6 generated)
|