[Webkit-unassigned] [Bug 141742] Web Inspector: Add context menu item to Reload the Inspector
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 19 09:40:27 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=141742
--- Comment #3 from Brian Burg <burg at cs.washington.edu> ---
Anyway, to implement this, here's a sketch:
1. We need to set a WKPageContextMenuClient in InspectorProxy.cpp, near where the other clients are initialized.
2. The callback in there needs to create an array with proposed menu items. I think these are added before Inspect Element, which is generated deep inside WebCore.
3. The item is created using WKContextMenuItemCreateAsAction(kWKContextMenuItemTagReload, WKStringCreateWithUTF8CString("Reload Inspector"), true)
4. Profit!
--
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/20150219/e23263fa/attachment-0002.html>
More information about the webkit-unassigned
mailing list