-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the PreviewWindowController to use PreviewItem
https://bugs.webkit.org/show_bug.cgi?id=271291 <rdar://125040242> Reviewed by Aditya Keerthi. Update the PreviewWindowController to use PreviewItem. Since this is a Swift type, WKSPreviewWindowController now takes a URL directly on init and instantiates the PreviewItem internally. * Source/WebKit/WebKitSwift/Preview/WKSPreviewWindowController.h: New designated initializer. * Source/WebKit/WebKitSwift/Preview/PreviewWindowController.swift: (PreviewWindowController.item): (PreviewWindowController.presentWindow): Update to the PreviewItem variant of the`open` method. * Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm: (-[WKFullScreenWindowController _performSpatialFullScreenTransition:completionHandler:]): Use the new WKSPreviewWindowController initializer. Canonical link: https://commits.webkit.org/276381@main
- Loading branch information
1 parent
695ad37
commit ea1cc85
Showing
3 changed files
with
8 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters