Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: e2b9154b8477825124b39e22df82f4677bb6eac9 https://github.com/WebKit/WebKit/commit/e2b9154b8477825124b39e22df82f4677bb6eac9 Author: Andy Estes <aes...@apple.com> Date: 2024-07-06 (Sat, 06 Jul 2024)
Changed paths: M Source/WebKit/UIProcess/API/APIFullscreenClient.h M Source/WebKit/UIProcess/API/Cocoa/_WKFullscreenDelegate.h M Source/WebKit/UIProcess/Cocoa/FullscreenClient.h M Source/WebKit/UIProcess/Cocoa/FullscreenClient.mm M Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm Log Message: ----------- [iOS] Add a _WKFullscreenDelegate method for the client to provide a presenting view controller https://bugs.webkit.org/show_bug.cgi?id=276274 rdar://131200749 Reviewed by Eric Carlson. Added -_webView:requestPresentingViewControllerWithCompletionHandler: to _WKFullscreenDelegate on iOS. If the delegate responds to this method, WKFullScreenWindowController uses the view controller prodivded in its completion handler to determine the UIWindowScene in which to create its UIWindow. * Source/WebKit/UIProcess/API/APIFullscreenClient.h: (API::FullscreenClient::requestPresentingViewController): * Source/WebKit/UIProcess/API/Cocoa/_WKFullscreenDelegate.h: * Source/WebKit/UIProcess/Cocoa/FullscreenClient.h: (WebKit::FullscreenClient::~FullscreenClient): Deleted. * Source/WebKit/UIProcess/Cocoa/FullscreenClient.mm: (WebKit::FullscreenClient::setDelegate): (WebKit::FullscreenClient::requestPresentingViewController): * Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm: (-[WKFullScreenWindowController enterFullScreen:]): (-[WKFullScreenWindowController _enterFullScreen:windowScene:]): Canonical link: https://commits.webkit.org/280711@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes