API changes for embedding. b=46847, r=dougt, a=valeski

git-svn-id: svn://10.0.0.236/trunk@77213 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
locka%iol.ie
2000-08-25 18:39:46 +00:00
parent 5816aeb196
commit 09805179ae
54 changed files with 624 additions and 837 deletions

View File

@@ -238,11 +238,11 @@ NS_IMETHODIMP nsDocShellTreeOwner::GetNewWindow(PRInt32 aChromeFlags,
nsCOMPtr<nsIWebBrowser> webBrowser;
NS_ENSURE_TRUE(mWebBrowserChrome, NS_ERROR_FAILURE);
mWebBrowserChrome->GetNewBrowser(aChromeFlags, getter_AddRefs(webBrowser));
mWebBrowserChrome->CreateBrowserWindow(aChromeFlags, getter_AddRefs(webBrowser));
NS_ENSURE_TRUE(webBrowser, NS_ERROR_FAILURE);
nsCOMPtr<nsIDocShell> docShell;
webBrowser->GetDocShell(getter_AddRefs(docShell));
nsCOMPtr<nsIInterfaceRequestor> webBrowserAsReq(do_QueryInterface(webBrowser));
nsCOMPtr<nsIDocShell> docShell(do_GetInterface(webBrowserAsReq));
NS_ENSURE_TRUE(docShell, NS_ERROR_FAILURE);
NS_ENSURE_SUCCESS(CallQueryInterface(docShell, aDocShellTreeItem),
@@ -750,3 +750,4 @@ nsresult nsDocShellTreeOwner::MouseOut(nsIDOMEvent* aMouseEvent)
{
return NS_OK;
}