Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[iOS] Support text selection and interaction using UIAsyncTextInterac…
…tion https://bugs.webkit.org/show_bug.cgi?id=264094 rdar://117857833 Reviewed by Aditya Keerthi. Implement the remaining set of methods on `WKTextInteractionWrapper`, in the case where the wrapper is backed by `UIAsyncTextInteraction`. This enables basic text interactions (such as multi-tap, range adjustment, and tap-and-half gestures), as well as context menu interactions for links and images in the page, and finally the ability to temporarily suppress the text selection when we're either inside of a hidden editable container, or while the selection is inside of a scrolling overflow container. Depends on the changes in rdar://117831560 as well. * Source/WebKit/Platform/spi/ios/UIKitSPI.h: * Source/WebKit/UIProcess/ios/WKTextInteractionWrapper.mm: (-[WKTextInteractionWrapper activateSelection]): (-[WKTextInteractionWrapper deactivateSelection]): (-[WKTextInteractionWrapper selectionChanged]): (-[WKTextInteractionWrapper setGestureRecognizers]): (-[WKTextInteractionWrapper willStartScrollingOverflow]): (-[WKTextInteractionWrapper didEndScrollingOverflow]): (-[WKTextInteractionWrapper willStartScrollingOrZooming]): (-[WKTextInteractionWrapper didEndScrollingOrZooming]): (-[WKTextInteractionWrapper contextMenuInteraction]): (-[WKTextInteractionWrapper setExternalContextMenuInteractionDelegate:]): Canonical link: https://commits.webkit.org/270296@main
- Loading branch information