-
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.
Cherry-pick ea1cc85. rdar://125040242
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 Identifier: 276246.1@safari-7619.1.6-branch
- Loading branch information
1 parent
b2ec60c
commit 0588068
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