Title: [220435] trunk/Source/WebKit
Revision
220435
Author
megan_gard...@apple.com
Date
2017-08-08 18:39:37 -0700 (Tue, 08 Aug 2017)

Log Message

Remove old and unused pointIsInAssistedNode definition
https://bugs.webkit.org/show_bug.cgi?id=175335

Stage removal here to allow removal from UIKit.
Replaced by textInteractionGesture:shouldBeginAtPoint:

Reviewed by Tim Horton.

* Platform/spi/ios/UIKitSPI.h:
* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView pointIsInAssistedNode:]): Deleted.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (220434 => 220435)


--- trunk/Source/WebKit/ChangeLog	2017-08-09 01:24:25 UTC (rev 220434)
+++ trunk/Source/WebKit/ChangeLog	2017-08-09 01:39:37 UTC (rev 220435)
@@ -1,3 +1,17 @@
+2017-08-08  Megan Gardner  <megan_gard...@apple.com>
+
+        Remove old and unused pointIsInAssistedNode definition
+        https://bugs.webkit.org/show_bug.cgi?id=175335
+
+        Stage removal here to allow removal from UIKit.
+        Replaced by textInteractionGesture:shouldBeginAtPoint:
+
+        Reviewed by Tim Horton.
+
+        * Platform/spi/ios/UIKitSPI.h:
+        * UIProcess/ios/WKContentViewInteraction.mm:
+        (-[WKContentView pointIsInAssistedNode:]): Deleted.
+
 2017-08-08  Michael Catanzaro  <mcatanz...@igalia.com>
 
         Unreviewed, fix Ubuntu LTS build

Modified: trunk/Source/WebKit/Platform/spi/ios/UIKitSPI.h (220434 => 220435)


--- trunk/Source/WebKit/Platform/spi/ios/UIKitSPI.h	2017-08-09 01:24:25 UTC (rev 220434)
+++ trunk/Source/WebKit/Platform/spi/ios/UIKitSPI.h	2017-08-09 01:39:37 UTC (rev 220435)
@@ -603,7 +603,9 @@
 - (BOOL)hasMarkedText;
 
 - (BOOL)hasSelectablePositionAtPoint:(CGPoint)point;
+#if __IPHONE_OS_VERSION_MAX_ALLOWED < 110000
 - (BOOL)pointIsInAssistedNode:(CGPoint)point;
+#endif
 - (NSArray *)webSelectionRects;
 - (void)_cancelLongPressGestureRecognizer;
 

Modified: trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (220434 => 220435)


--- trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2017-08-09 01:24:25 UTC (rev 220434)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2017-08-09 01:39:37 UTC (rev 220435)
@@ -1501,12 +1501,13 @@
         return NO;
     return _positionInformation.isNearMarkedText;
 }
-
+#if __IPHONE_OS_VERSION_MAX_ALLOWED < 110000
 - (BOOL)pointIsInAssistedNode:(CGPoint)point
 {
     // This method is still implemented for backwards compatibility with older UIKit versions.
     return [self textInteractionGesture:UIWKGestureLoupe shouldBeginAtPoint:point];
 }
+#endif
 
 - (BOOL)textInteractionGesture:(UIWKGestureType)gesture shouldBeginAtPoint:(CGPoint)point
 {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to