File download; approved by chofmann

This commit is contained in:
law@netscape.com
1999-04-08 04:21:15 +00:00
parent 8831f1f5d6
commit de3a1cb76f
11 changed files with 491 additions and 4 deletions
+12 -1
View File
@@ -824,8 +824,11 @@ nsWebShellWindow::OnEndDocumentLoad(nsIURL* aURL, PRInt32 aStatus)
* Load the menus, run the startup script etc.. only once. So, Use
* the mChrome Initialized member to check whether chrome should be
* initialized or not - Radha
*
* This breaks file download (where I'm using a single window with
* two separate xul files). I'm turning this off for now... - Law
*/
if (mChromeInitialized)
if (0 && mChromeInitialized)
return NS_OK;
mChromeInitialized = PR_TRUE;
@@ -926,6 +929,14 @@ nsWebShellWindow::OnEndURLLoad(nsIURL* aURL, PRInt32 aStatus)
return NS_OK;
}
NS_IMETHODIMP
nsWebShellWindow::HandleUnknownContentType(nsIURL* aURL,
const char *aContentType,
const char *aCommand )
{
return NS_OK;
}
//----------------------------------------
nsCOMPtr<nsIDOMNode> nsWebShellWindow::FindNamedDOMNode(const nsString &aName, nsIDOMNode * aParent, PRInt32 & aCount, PRInt32 aEndCount)