[webkit-changes] [WebKit/WebKit] 193f3e: [tvOS] Enable AVKit fullscreen at build time
aestes
noreply at github.com
Fri Oct 6 20:01:57 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 193f3e7e09de946c2c93a9f006bcf8e71f909183
https://github.com/WebKit/WebKit/commit/193f3e7e09de946c2c93a9f006bcf8e71f909183
Author: Andy Estes <aestes at apple.com>
Date: 2023-10-06 (Fri, 06 Oct 2023)
Changed paths:
M Source/WTF/wtf/PlatformEnableCocoa.h
M Source/WTF/wtf/PlatformHave.h
M Source/WebCore/PAL/pal/spi/cocoa/AVKitSPI.h
M Source/WebCore/platform/cocoa/WebAVPlayerLayerView.h
M Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.h
M Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm
Log Message:
-----------
[tvOS] Enable AVKit fullscreen at build time
https://bugs.webkit.org/show_bug.cgi?id=262803
rdar://116592441
Reviewed by Jer Noble.
Set ENABLE_VIDEO_PRESENTATION_MODE and HAVE_AVKIT to 1 on tvOS. Added declarations and platform
ifdefs so that VideoFullscreenInterfaceAVKit builds on tvOS.
* Source/WTF/wtf/PlatformEnableCocoa.h:
* Source/WTF/wtf/PlatformHave.h:
* Source/WebCore/PAL/pal/spi/cocoa/AVKitSPI.h:
* Source/WebCore/platform/cocoa/WebAVPlayerLayerView.h:
* Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.h:
* Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm:
(-[WebAVPlayerViewController initWithFullscreenInterface:]):
(-[WebAVPlayerViewController enterFullScreenAnimated:completionHandler:]):
(-[WebAVPlayerViewController exitFullScreenAnimated:completionHandler:]):
(-[WebAVPlayerViewController MY_NO_RETURN]):
(-[WebAVPlayerViewController isPictureInPicturePossible]):
(-[WebAVPlayerViewController isPictureInPictureActive]):
(-[WebAVPlayerViewController pictureInPictureActive]):
(-[WebAVPlayerViewController pictureInPictureWasStartedWhenEnteringBackground]):
(VideoFullscreenInterfaceAVKit::setPlayerIdentifier):
Canonical link: https://commits.webkit.org/269030@main
More information about the webkit-changes
mailing list