Changeset 248456 in webkit
- Timestamp:
- Aug 8, 2019 7:11:18 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r248455 r248456 1 2019-08-08 Dean Jackson <dino@apple.com> 2 3 REGRESSION (52279987): Most of the WKUIDelegate contextMenu delegate methods are not being called 4 https://bugs.webkit.org/show_bug.cgi?id=200557 5 <rdar://problem/53717962> 6 7 Reviewed by Wenson Hsieh. 8 9 UIKit changed the name of delegates recently. We ignored the warning because 10 it was still calling the old methods. However, it will only do so for applications 11 authored by Apple, breaking 3rd parties. 12 13 The change here is just adopting the new methods in place of the old ones. 14 It does not change the API that WebKit vends (they still use the older names). 15 16 * UIProcess/ios/WKContentViewInteraction.mm: 17 (-[WKContentView contextMenuInteraction:willDisplayMenuForConfiguration:animator:]): 18 (-[WKContentView contextMenuInteraction:willPerformPreviewActionForMenuWithConfiguration:animator:]): 19 (-[WKContentView contextMenuInteraction:willEndForConfiguration:animator:]): 20 (-[WKContentView contextMenuInteractionWillPresent:]): Deleted. 21 (-[WKContentView contextMenuInteraction:willCommitWithAnimator:]): Deleted. 22 (-[WKContentView contextMenuInteractionDidEnd:]): Deleted. 23 1 24 2019-08-08 Simon Fraser <simon.fraser@apple.com> 2 25 -
trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm
r248455 r248456 8205 8205 } 8206 8206 8207 ALLOW_DEPRECATED_IMPLEMENTATIONS_BEGIN 8208 - (void)contextMenuInteractionWillPresent:(UIContextMenuInteraction *)interaction 8209 ALLOW_DEPRECATED_IMPLEMENTATIONS_END 8207 - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willDisplayMenuForConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionAnimating>)animator 8210 8208 { 8211 8209 if (!_webView) … … 8228 8226 } 8229 8227 8230 ALLOW_DEPRECATED_IMPLEMENTATIONS_BEGIN 8231 - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willCommitWithAnimator:(id<UIContextMenuInteractionCommitAnimating>)animator 8232 ALLOW_DEPRECATED_IMPLEMENTATIONS_END 8228 - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator 8233 8229 { 8234 8230 if (!_webView) … … 8283 8279 } 8284 8280 8285 ALLOW_DEPRECATED_IMPLEMENTATIONS_BEGIN 8286 - (void)contextMenuInteractionDidEnd:(UIContextMenuInteraction *)interaction 8287 ALLOW_DEPRECATED_IMPLEMENTATIONS_END 8281 - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willEndForConfiguration:(UIContextMenuConfiguration *)configuration animator:(nullable id<UIContextMenuInteractionAnimating>)animator 8288 8282 { 8289 8283 if (!_webView)
Note: See TracChangeset
for help on using the changeset viewer.