NEW 140207
WKWebView should provide an API for customizing context menu
https://bugs.webkit.org/show_bug.cgi?id=140207
Summary WKWebView should provide an API for customizing context menu
Eugene But
Reported 2015-01-07 14:12:51 PST
Created attachment 244200 [details] Screenshot Summary: WKWebView should delegate the action of showing a context menu on long press and let an embedder add/customize values to the context menu (e.g. via WKUIDelegate). The embedder should also be provided information about the context in which the long press triggered the action sheet (e.g. whether it was under a hyperlink/image). e.g. we want to handle images differently by sending them to Google Image Search Steps to Reproduce: 1) Run the attached code 2) Long press on link Expected Results: An action sheet that can't be customized in native code. Actual Results: A delegate callback providing more information about the long press (e.g. if it was an image/text hyperlink) allowing control for showing/customizing the context menu shown
Attachments
Screenshot (40.18 KB, image/png)
2015-01-07 14:12 PST, Eugene But
no flags
Test App (94.06 KB, application/zip)
2015-01-07 14:13 PST, Eugene But
no flags
Eugene But
Comment 1 2015-01-07 14:13:32 PST
Created attachment 244202 [details] Test App
Eugene But
Comment 2 2015-01-07 16:07:07 PST
Radar ID: 17794878
Note You need to log in before you can comment on or make changes to this bug.