[Webkit-unassigned] [Bug 138066] Provide a way for WebKit1 clients to override default action menu items

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 27 12:56:38 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=138066

--- Comment #8 from Anders Carlsson <andersca at apple.com> ---
Comment on attachment 240495
  --> https://bugs.webkit.org/attachment.cgi?id=240495
Patch that uses WebUIDelegate

View in context: https://bugs.webkit.org/attachment.cgi?id=240495&action=review

> Source/WebKit/mac/WebView/WebActionMenuController.mm:90
> +        menuItems = [[_webView _UIDelegateForwarder] webView:_webView _actionMenuItemsForHitTestResult:hitTestResult withType:_type defaultActionMenuItems:menuItems];

I don't think you need the UIDelegateForwarder here - you can just call the method directly since you check respondsToSelector already.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141027/d6abd55c/attachment-0002.html>


More information about the webkit-unassigned mailing list