Title: [244302] trunk/Source/WebKit
- Revision
- 244302
- Author
- [email protected]
- Date
- 2019-04-15 15:57:46 -0700 (Mon, 15 Apr 2019)
Log Message
Provide option to not create a longpress gesture recognizer
https://bugs.webkit.org/show_bug.cgi?id=196937
<rdar://problem/49918278>
Build fix for iOS platforms that don't have link preview.
* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView setupInteraction]):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (244301 => 244302)
--- trunk/Source/WebKit/ChangeLog 2019-04-15 22:35:31 UTC (rev 244301)
+++ trunk/Source/WebKit/ChangeLog 2019-04-15 22:57:46 UTC (rev 244302)
@@ -1,3 +1,14 @@
+2019-04-15 Dean Jackson <[email protected]>
+
+ Provide option to not create a longpress gesture recognizer
+ https://bugs.webkit.org/show_bug.cgi?id=196937
+ <rdar://problem/49918278>
+
+ Build fix for iOS platforms that don't have link preview.
+
+ * UIProcess/ios/WKContentViewInteraction.mm:
+ (-[WKContentView setupInteraction]):
+
2019-04-15 Brent Fulgham <[email protected]>
InjectedBundle parameters often need initialization function called before unarchiving
Modified: trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (244301 => 244302)
--- trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm 2019-04-15 22:35:31 UTC (rev 244301)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm 2019-04-15 22:57:46 UTC (rev 244302)
@@ -742,7 +742,9 @@
[_highlightLongPressGestureRecognizer setDelegate:self];
[self addGestureRecognizer:_highlightLongPressGestureRecognizer.get()];
+#if HAVE(LINK_PREVIEW)
if (!self.shouldUsePreviewForLongPress)
+#endif
[self _createAndConfigureLongPressGestureRecognizer];
#if ENABLE(DATA_INTERACTION)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes