WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Test App
(94.06 KB, application/zip)
2015-01-07 14:13 PST
,
Eugene But
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug