Added support for XLink - simple links and show=replace or new. Modified nsILinkHandler interface.
git-svn-id: svn://10.0.0.236/trunk@14640 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -983,9 +983,12 @@ NS_IMETHODIMP nsPluginInstanceOwner :: GetURL(const char *aURL, const char *aTar
|
||||
NS_RELEASE(docURL);
|
||||
NS_RELEASE(doc);
|
||||
|
||||
if (NS_OK == rv)
|
||||
rv = lh->OnLinkClick(mOwner, fullurl.GetUnicode(), unitarget.GetUnicode(), nsnull);
|
||||
|
||||
if (NS_OK == rv) {
|
||||
nsIContent* content = nsnull;
|
||||
mOwner->GetContent(content);
|
||||
rv = lh->OnLinkClick(content, eLinkVerb_Replace, fullurl.GetUnicode(), unitarget.GetUnicode(), nsnull);
|
||||
NS_IF_RELEASE(content);
|
||||
}
|
||||
NS_RELEASE(lh);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user