Title: [255664] trunk/Source/WebKit
Revision
255664
Author
[email protected]
Date
2020-02-03 22:04:12 -0800 (Mon, 03 Feb 2020)

Log Message

Add a WebKitAdditions hook to provide additional customizations to UIDragInteraction
https://bugs.webkit.org/show_bug.cgi?id=207177
<rdar://problem/59121266>

Reviewed by Tim Horton.

Add a WebKitAdditions extension point that runs immediately after setting up UIDragInteraction and
UIDropInteraction.

* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView setupDragAndDropInteractions]):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (255663 => 255664)


--- trunk/Source/WebKit/ChangeLog	2020-02-04 05:56:04 UTC (rev 255663)
+++ trunk/Source/WebKit/ChangeLog	2020-02-04 06:04:12 UTC (rev 255664)
@@ -1,3 +1,17 @@
+2020-02-03  Wenson Hsieh  <[email protected]>
+
+        Add a WebKitAdditions hook to provide additional customizations to UIDragInteraction
+        https://bugs.webkit.org/show_bug.cgi?id=207177
+        <rdar://problem/59121266>
+
+        Reviewed by Tim Horton.
+
+        Add a WebKitAdditions extension point that runs immediately after setting up UIDragInteraction and
+        UIDropInteraction.
+
+        * UIProcess/ios/WKContentViewInteraction.mm:
+        (-[WKContentView setupDragAndDropInteractions]):
+
 2020-02-03  Chris Dumez  <[email protected]>
 
         Stop relying on ResponsivenessTimer to keep the WebProcess from suspending during initialization

Modified: trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (255663 => 255664)


--- trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2020-02-04 05:56:04 UTC (rev 255663)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2020-02-04 06:04:12 UTC (rev 255664)
@@ -6887,6 +6887,10 @@
     [_dragInteraction _setLiftDelay:self.dragLiftDelay];
     [_dragInteraction setEnabled:shouldEnableDragInteractionForPolicy(self.webView._dragInteractionPolicy)];
 
+#if USE(APPLE_INTERNAL_SDK)
+    [self _performAdditionalSetupDragAndDropInteractions];
+#endif
+
     [self addInteraction:_dragInteraction.get()];
     [self addInteraction:_dropInteraction.get()];
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to