Title: [251381] trunk/Source/WebKit
Revision
251381
Author
dba...@webkit.org
Date
2019-10-21 14:07:38 -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 (251380 => 251381)


--- trunk/Source/WebKit/ChangeLog	2019-10-21 20:47:03 UTC (rev 251380)
+++ trunk/Source/WebKit/ChangeLog	2019-10-21 21:07:38 UTC (rev 251381)
@@ -1,3 +1,17 @@
+2019-10-21  Daniel Bates  <daba...@apple.com>
+
+        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  Chris Dumez  <cdu...@apple.com>
 
         Add more release logging for "Unexpectedly resumed" assertion

Modified: trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (251380 => 251381)


--- trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2019-10-21 20:47:03 UTC (rev 251380)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2019-10-21 21:07:38 UTC (rev 251381)
@@ -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
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to