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:
vidur%netscape.com
1998-11-14 00:21:19 +00:00
parent e54ec51180
commit 19d3032d70
21 changed files with 552 additions and 75 deletions

View File

@@ -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);
}