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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user