[Webkit-unassigned] [Bug 140207] New: WKWebView should provide an API for customizing context menu
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 7 14:12:51 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=140207
Bug ID: 140207
Summary: WKWebView should provide an API for customizing
context menu
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: iOS
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit2
Assignee: webkit-unassigned at lists.webkit.org
Reporter: eugenebut at chromium.org
Created attachment 244200
--> https://bugs.webkit.org/attachment.cgi?id=244200&action=review
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
--
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/20150107/5cbbb93b/attachment-0002.html>
More information about the webkit-unassigned
mailing list