[webkit-changes] [WebKit/WebKit] a542f6: [SwiftUI] Support the functionality of `WKPreferen...
Richard Robinson
noreply at github.com
Mon Dec 9 14:10:37 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a542f6c9c8b1f812fe86dea9055334e1ddf4a0d1
https://github.com/WebKit/WebKit/commit/a542f6c9c8b1f812fe86dea9055334e1ddf4a0d1
Author: Richard Robinson <richard_robinson2 at apple.com>
Date: 2024-12-09 (Mon, 09 Dec 2024)
Changed paths:
M Source/WebKit/UIProcess/API/Swift/View+WebViewModifiers.swift
M Source/WebKit/UIProcess/API/Swift/WebView.swift
M Tools/SwiftBrowser/Source/ContentView.swift
Log Message:
-----------
[SwiftUI] Support the functionality of `WKPreferences.isElementFullscreenEnabled`
https://bugs.webkit.org/show_bug.cgi?id=284323
rdar://140728591
Reviewed by Abrar Rahman Protyasha.
Support the equivalent of `WKPreferences.isElementFullscreenEnabled` in SwiftUI as a view modifier.
* Source/WebKit/UIProcess/API/Swift/View+WebViewModifiers.swift:
(View.webViewAllowsElementFullscreen(_:)):
* Source/WebKit/UIProcess/API/Swift/WebView.swift:
(WebViewRepresentable.updatePlatformView(_:context:)):
* Tools/SwiftBrowser/Source/ContentView.swift:
(ContentView.body):
Canonical link: https://commits.webkit.org/287573@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list