[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
Sat Oct 25 09:36:00 PDT 2014


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

--- Comment #3 from mitz at webkit.org <mitz at webkit.org> ---
(In reply to comment #2)
> I know that the patch is similar to how we do things in WebKit2’s C SPI, but
> in WebKit1, could we do something more similar to how context menus are
> handled, with a delegate? Would that be significantly harder to implement or
> for clients to adopt?

For context menus, there is -webView:contextMenuItemsForElement:defaultMenuItems: in WebUIDelegate. It seems like something similar could work here (in WebUIDelegatePrivate), and will not require clients to subclass WebView if they want to implement this.

-- 
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/20141025/5dabb6a1/attachment-0002.html>


More information about the webkit-unassigned mailing list