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