Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cocoa] Add nextChildIdentifier() to VideoFullscreenModel
https://bugs.webkit.org/show_bug.cgi?id=257067 rdar://109590097 Reviewed by Eric Carlson. Multiple WebAVPlayerLayers can exist simultaneously, and disambiguating their logs when they coexist can be difficult. Use LoggerHelper's concept of a "child identifier", and expose that child identifier through VideoFullscreenModel. Each WebAVPlayerLayer will get a unique but related identifier. * Source/WebCore/platform/cocoa/VideoFullscreenModel.h: (WebCore::VideoFullscreenModel::nextChildIdentifier const): * Source/WebCore/platform/cocoa/VideoFullscreenModelVideoElement.h: * Source/WebCore/platform/cocoa/VideoFullscreenModelVideoElement.mm: (WebCore::VideoFullscreenModelVideoElement::nextChildIdentifier const): * Source/WebCore/platform/cocoa/WebAVPlayerLayer.mm: (-[WebAVPlayerLayer setFullscreenModel:]): (-[WebAVPlayerLayer videoRect]): * Source/WebKit/UIProcess/Cocoa/VideoFullscreenManagerProxy.h: * Source/WebKit/UIProcess/Cocoa/VideoFullscreenManagerProxy.mm: (WebKit::VideoFullscreenModelContext::nextChildIdentifier const): Canonical link: https://commits.webkit.org/264309@main
- Loading branch information
Showing
6 changed files
with
32 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters