[Webkit-unassigned] [Bug 77208] New: [WK2] WKPageGetContextMenuFromProposedContextMenuCallback should pass a HitTestResult
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 27 05:38:46 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=77208
Summary: [WK2]
WKPageGetContextMenuFromProposedContextMenuCallback
should pass a HitTestResult
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit2
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: cgarcia at igalia.com
CC: andersca at apple.com, sam at webkit.org
The context menu client user might need more information about the element affected by the context menu. We are currently passing the image URL and link URL (this info isn't passed to the callback either, though) to use them in context menu actions. Now that we have WebHitTestResultData in the C API, we could pass the HitTestResult and get rid of ContextMenuState. It would be passed in the ShowContextMenu message instead of the ContextMenuState and then to getContextMenuFromProposedMenu() in the UI process, like we currently do for the injected bundle context menu client.
What do you think? I'll make the patch if you think it's a good idea.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list