[webkit-changes] [WebKit/WebKit] 3f065c: [tvOS] Enable ElementFullscreen at build time
danae404
noreply at github.com
Tue Oct 10 15:06:29 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3f065cd81cb4c65dbef86f15a5fcdf92f701ad56
https://github.com/WebKit/WebKit/commit/3f065cd81cb4c65dbef86f15a5fcdf92f701ad56
Author: Dana Estra <destra at apple.com>
Date: 2023-10-10 (Tue, 10 Oct 2023)
Changed paths:
M Source/WTF/wtf/PlatformEnableCocoa.h
M Source/WebKit/UIProcess/API/Cocoa/WKPreferences.h
M Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h
M Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenViewController.mm
M Source/WebKit/UIProcess/ios/fullscreen/WKFullscreenStackView.h
M Source/WebKit/UIProcess/ios/fullscreen/WKFullscreenStackView.mm
Log Message:
-----------
[tvOS] Enable ElementFullscreen at build time
https://bugs.webkit.org/show_bug.cgi?id=262824
rdar://116604112
Reviewed by Jer Noble.
Sets ENABLE_FULLSCREEN_API to 1 on tvOS and replaces AVBackground, which is unavailable on tvOS, with a UIView in element fullscreen path.
Also removes other code that is unavailable on tvOS.
* Source/WTF/wtf/PlatformEnableCocoa.h:
* Source/WebKit/UIProcess/API/Cocoa/WKPreferences.h:
* Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h:
* Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenViewController.mm:
(-[WKFullScreenViewController setPrefersHomeIndicatorAutoHidden:]):
(-[WKFullScreenViewController loadView]):
* Source/WebKit/UIProcess/ios/fullscreen/WKFullscreenStackView.h:
* Source/WebKit/UIProcess/ios/fullscreen/WKFullscreenStackView.mm:
(SOFT_LINK_CLASS_OPTIONAL):
(-[WKFullscreenStackView init]):
(-[WKFullscreenStackView addArrangedSubviewForTV:]):
(-[WKFullscreenStackView addArrangedSubview:applyingMaterialStyle:tintEffectStyle:]):
Canonical link: https://commits.webkit.org/269172@main
More information about the webkit-changes
mailing list