Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a542f6c9c8b1f812fe86dea9055334e1ddf4a0d1
      
https://github.com/WebKit/WebKit/commit/a542f6c9c8b1f812fe86dea9055334e1ddf4a0d1
  Author: Richard Robinson <[email protected]>
  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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to