Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Implement async paste method on UIWKInteractionViewProtocol
https://bugs.webkit.org/show_bug.cgi?id=196267 <rdar://problem/49236346> Reviewed by Tim Horton. Source/WebKit: Implement a new UIWKInteractionViewProtocol hook to perform a paste command, and invoke the given completion handler when pasting is finished. Test: UIPasteboardTests.PasteWithCompletionHandler * UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView pasteWithCompletionHandler:]): Tools: Add a new test to exercise the new SPI. Additionally, add staging forward declarations for -pasteWithCompletionHandler:, and remove some old existing staging declarations for other bits of UIKit SPI that are now a part of all iOS 12 internal SDKs. * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm: While we're here, also change a few iOS 11.3 checks to just be about PLATFORM(IOS) (since we don't build for iOS prior to 12, these version checks are effectively only about iOS vs. tvOS or watchOS). * TestWebKitAPI/Tests/ios/WKWebViewAutofillTests.mm: * TestWebKitAPI/ios/DragAndDropSimulatorIOS.mm: (-[DragAndDropSimulator _sendQueuedAdditionalItemRequest]): * TestWebKitAPI/ios/UIKitSPI.h: Canonical link: https://commits.webkit.org/210574@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@243519 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
7 changed files
with
79 additions
and
18 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
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
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