File download; approved by chofmann

git-svn-id: svn://10.0.0.236/trunk@26796 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
law%netscape.com
1999-04-08 04:21:15 +00:00
parent 0614bc090a
commit f8ccb27904
11 changed files with 491 additions and 4 deletions

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)