Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: ce53b481818409c6679295e82430c744f801753e https://github.com/WebKit/WebKit/commit/ce53b481818409c6679295e82430c744f801753e Author: Etienne Segonzac <s...@apple.com> Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths: M Source/WebKit/UIProcess/WebFullScreenManagerProxy.cpp M Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm M Source/WebKit/WebKitSwift/Preview/PreviewWindowController.swift M Source/WebKit/WebKitSwift/Preview/WKSPreviewWindowController.h Log Message: ----------- Update the PreviewWindowController to use a PreviewConfiguration https://bugs.webkit.org/show_bug.cgi?id=271734 <rdar://120903062> Reviewed by Andy Estes. Update the PreviewWindowController to use a PreviewConfiguration. Our configuration takes a `sceneID` so the WKSPreviewWindowController's init method is updated to accept one. * Source/WebKit/WebKitSwift/Preview/WKSPreviewWindowController.h: Update the designated initializer. * Source/WebKit/WebKitSwift/Preview/PreviewWindowController.swift: Generate a PreviewConfiguration on init and pass it when opening the PreviewApplication. * Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm: (-[WKFullScreenWindowController _performSpatialFullScreenTransition:completionHandler:]): Use the new initializer. The closure now needs to capture the `inWindow` so we can get to its scene identifier. * Source/WebKit/UIProcess/WebFullScreenManagerProxy.cpp: (WebKit::WebFullScreenManagerProxy::prepareQuickLookImageURL const): Drive-by fix: always call the completion handler on the main thread. Canonical link: https://commits.webkit.org/276928@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