[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 12:13:53 PDT 2014


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

--- Comment #4 from Beth Dakin <bdakin at apple.com> ---
(In reply to comment #3)
> (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.

I think that sounds very reasonable! Honestly, I was torn between the two spots since I took a look at the context menu stuff as well. Will move!

-- 
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/601c102f/attachment-0002.html>


More information about the webkit-unassigned mailing list