Changed the nsIWebBrowserChrome::FindNamedBrowser to be nsIWebBrowserChrome::FindNamedBrowserItem. This is important because it's possible that a frame needs to be returned, not just a toplevel browser object. So we need to be able to return a destination frame from this call. So now the API talks in terms of a frame.

git-svn-id: svn://10.0.0.236/trunk@64348 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
tbogard%aol.net
2000-03-28 09:24:01 +00:00
parent cd029f1060
commit fb183a84d6

View File

@@ -147,8 +147,8 @@ NS_IMETHODIMP nsWebBrowserChrome::GetNewBrowser(PRUint32 aChromeMask,
return NS_OK;
}
NS_IMETHODIMP nsWebBrowserChrome::FindNamedBrowser(const PRUnichar* aName,
nsIWebBrowser** aWebBrowser)
NS_IMETHODIMP nsWebBrowserChrome::FindNamedBrowserItem(const PRUnichar* aName,
nsIDocShellTreeItem** aBrowserItem)
{
NS_ERROR("Haven't Implemented this yet");
return NS_ERROR_FAILURE;