Summary: | [chromium] Get the link from a plugin when creating a context menu | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | John Abd-El-Malek <jam> | ||||||
Component: | New Bugs | Assignee: | John Abd-El-Malek <jam> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | fishd | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Other | ||||||||
OS: | OS X 10.5 | ||||||||
Attachments: |
|
Description
John Abd-El-Malek
2010-10-04 16:34:11 PDT
Created attachment 69714 [details]
Patch
Comment on attachment 69714 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=69714&action=review > WebKit/chromium/public/WebPlugin.h:104 > + virtual WebURL absoluteURL(const WebPoint& position) const { return WebURL(); } hmm... the name of this method could use some improvements. something like absoluteURLAtPosition would be better, but even that is fairly awkward and not as self-documenting as it ought to be. maybe using the word "link" would help or even "href"... hmm, I'll think on this. Could this API also be used to show a status message when the user hovers over a link? WebPlugin::{href,link}AtPosition (In reply to comment #3) > Could this API also be used to show a status message when the user hovers over a link? ah yes, good suggestion. > > WebPlugin::{href,link}AtPosition linkAtPosition sounds good Created attachment 69830 [details]
Patch
Committed r69154: <http://trac.webkit.org/changeset/69154> |