Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 423bb847e3d8c73a62ee314f81a9d30fa6a20da9
https://github.com/WebKit/WebKit/commit/423bb847e3d8c73a62ee314f81a9d30fa6a20da9
Author: Wenson Hsieh <[email protected]>
Date: 2023-12-09 (Sat, 09 Dec 2023)
Changed paths:
M Source/WebKit/UIProcess/ios/WKContentViewInteraction.h
M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm
Log Message:
-----------
Adopt new drag and context menu interaction classes from ServiceExtensions
https://bugs.webkit.org/show_bug.cgi?id=266077
rdar://119380896
Reviewed by Megan Gardner.
Replace the following with classes from ServiceExtensions, if available, and
use WKSE-prefixed type
defines to stage adoption:
```
_UIContextMenuAsyncConfiguration → WKSEContextMenuConfiguration
_UIAsyncDragInteraction → WKSEDragInteraction
_UIAsyncDragInteractionDelegate → WKSEDragInteractionDelegate
```
Additionally, remove several soft-linked symbols from UIKit, which were only
necessary for staging.
These symbols have existed in their targeted SDKs for a while now, so we can
now explicitly link
against them.
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.h:
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView _shouldUseUIContextMenuAsyncConfiguration]):
(-[WKContentView _deferKeyEventToInputMethodEditing:]):
(-[WKContentView _interpretKeyEvent:isCharEvent:]):
(-[WKContentView _dragInteractionClass]):
(-[WKContentView setUpDragAndDropInteractions]):
(-[WKContentView dragInteraction:prepareDragSession:completion:]):
(-[WKContentView
dragInteraction:itemsForAddingToSession:forTouchAtPoint:completion:]):
(-[WKContentView _asyncDragInteraction:prepareDragSession:completion:]):
(-[WKContentView
_asyncDragInteraction:itemsForAddingToSession:withTouchAtPoint:completion:]):
(-[WKContentView contextMenuInteraction:configurationForMenuAtLocation:]):
Canonical link: https://commits.webkit.org/271809@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes