Title: [251419] trunk/Source/WebKit
Revision
251419
Author
[email protected]
Date
2019-10-21 23:05:42 -0700 (Mon, 21 Oct 2019)

Log Message

Add some PencilKit extension points
https://bugs.webkit.org/show_bug.cgi?id=202962
<rdar://problem/56269759>

Reviewed by Andy Estes.

This is the WebKit part corresponding to <rdar://problem/56261392>.

* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView setupInteraction]): Call extension point.
(-[WKContentView cleanupInteraction]): Ditto.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (251418 => 251419)


--- trunk/Source/WebKit/ChangeLog	2019-10-22 05:44:31 UTC (rev 251418)
+++ trunk/Source/WebKit/ChangeLog	2019-10-22 06:05:42 UTC (rev 251419)
@@ -1,3 +1,17 @@
+2019-10-21  Daniel Bates  <[email protected]>
+
+        Add some PencilKit extension points
+        https://bugs.webkit.org/show_bug.cgi?id=202962
+        <rdar://problem/56269759>
+
+        Reviewed by Andy Estes.
+
+        This is the WebKit part corresponding to <rdar://problem/56261392>.
+
+        * UIProcess/ios/WKContentViewInteraction.mm:
+        (-[WKContentView setupInteraction]): Call extension point.
+        (-[WKContentView cleanupInteraction]): Ditto.
+
 2019-10-21  Matt Lewis  <[email protected]>
 
         Unreviewed, rolling out r251381.

Modified: trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (251418 => 251419)


--- trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2019-10-22 05:44:31 UTC (rev 251418)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2019-10-22 06:05:42 UTC (rev 251419)
@@ -146,6 +146,10 @@
 #import <WebKitAdditions/WKPlatformFileUploadPanel.mm>
 #endif
 
+#if HAVE(PENCILKIT_ADDITIONS)
+#import <WebKitAdditions/WebKitPencilAdditions.h>
+#endif
+
 #if ENABLE(POINTER_EVENTS)
 #import "RemoteScrollingCoordinatorProxy.h"
 #import <WebCore/TouchAction.h>
@@ -796,6 +800,10 @@
     [self setupDragAndDropInteractions];
 #endif
 
+#if HAVE(PENCILKIT_ADDITIONS)
+    [self setupPencilInteraction];
+#endif
+
     _twoFingerSingleTapGestureRecognizer = adoptNS([[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(_twoFingerSingleTapGestureRecognized:)]);
     [_twoFingerSingleTapGestureRecognizer setAllowableMovement:60];
     [_twoFingerSingleTapGestureRecognizer _setAllowableSeparation:150];
@@ -949,6 +957,10 @@
     [self teardownDragAndDropInteractions];
 #endif
 
+#if HAVE(PENCILKIT_ADDITIONS)
+    [self cleanupPencilInteraction];
+#endif
+
     _inspectorNodeSearchEnabled = NO;
     if (_inspectorNodeSearchGestureRecognizer) {
         [_inspectorNodeSearchGestureRecognizer setDelegate:nil];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to