Title: [247838] trunk/Source/WebKit
- Revision
- 247838
- Author
- [email protected]
- Date
- 2019-07-25 13:55:06 -0700 (Thu, 25 Jul 2019)
Log Message
WebKit/UIProcess/ios/WKContentViewInteraction.mm: error: implementing deprecated method contextMenuInteractionWillPresent
https://bugs.webkit.org/show_bug.cgi?id=200136
<rdar://problem/53547698>
Reviewed by Wenson Hsieh.
Ignore deprecation warnings for these UIContextMenuInteraction delegates.
* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView contextMenuInteractionWillPresent:]):
(-[WKContentView contextMenuInteraction:willCommitWithAnimator:]):
(-[WKContentView contextMenuInteractionDidEnd:]):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (247837 => 247838)
--- trunk/Source/WebKit/ChangeLog 2019-07-25 20:53:57 UTC (rev 247837)
+++ trunk/Source/WebKit/ChangeLog 2019-07-25 20:55:06 UTC (rev 247838)
@@ -1,5 +1,20 @@
2019-07-25 Dean Jackson <[email protected]>
+ WebKit/UIProcess/ios/WKContentViewInteraction.mm: error: implementing deprecated method contextMenuInteractionWillPresent
+ https://bugs.webkit.org/show_bug.cgi?id=200136
+ <rdar://problem/53547698>
+
+ Reviewed by Wenson Hsieh.
+
+ Ignore deprecation warnings for these UIContextMenuInteraction delegates.
+
+ * UIProcess/ios/WKContentViewInteraction.mm:
+ (-[WKContentView contextMenuInteractionWillPresent:]):
+ (-[WKContentView contextMenuInteraction:willCommitWithAnimator:]):
+ (-[WKContentView contextMenuInteractionDidEnd:]):
+
+2019-07-25 Dean Jackson <[email protected]>
+
Add helper for ignoring deprecated implementation warnings
https://bugs.webkit.org/show_bug.cgi?id=200135
Modified: trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (247837 => 247838)
--- trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm 2019-07-25 20:53:57 UTC (rev 247837)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm 2019-07-25 20:55:06 UTC (rev 247838)
@@ -8118,7 +8118,9 @@
return [self _createTargetedPreviewIfPossible];
}
+ALLOW_DEPRECATED_IMPLEMENTATIONS_BEGIN
- (void)contextMenuInteractionWillPresent:(UIContextMenuInteraction *)interaction
+ALLOW_DEPRECATED_IMPLEMENTATIONS_END
{
if (!_webView)
return;
@@ -8139,7 +8141,9 @@
return std::exchange(_contextMenuInteractionTargetedPreview, nil).autorelease();
}
+ALLOW_DEPRECATED_IMPLEMENTATIONS_BEGIN
- (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willCommitWithAnimator:(id<UIContextMenuInteractionCommitAnimating>)animator
+ALLOW_DEPRECATED_IMPLEMENTATIONS_END
{
if (!_webView)
return;
@@ -8192,7 +8196,9 @@
}
}
+ALLOW_DEPRECATED_IMPLEMENTATIONS_BEGIN
- (void)contextMenuInteractionDidEnd:(UIContextMenuInteraction *)interaction
+ALLOW_DEPRECATED_IMPLEMENTATIONS_END
{
if (!_webView)
return;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes