Bug #33156 --> implement real progress as a percentage of the document download.
git-svn-id: svn://10.0.0.236/trunk@67092 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
5605b3ca71
commit
3126b8a1cd
@ -666,7 +666,6 @@ nsBrowserInstance::ForwardButtonPopup(nsIDOMNode * aParent)
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
|
||||
PRBool hasChildren=PR_FALSE;
|
||||
nsresult rv;
|
||||
|
||||
@ -1471,6 +1470,9 @@ NS_IMETHODIMP nsBrowserInstance::OnProgressChange(nsIChannel* aChannel,
|
||||
PRInt32 aCurSelfProgress, PRInt32 aMaxSelfProgress,
|
||||
PRInt32 aCurTotalProgress, PRInt32 aMaxTotalProgress)
|
||||
{
|
||||
EnsureXULBrowserWindow();
|
||||
if(mXULBrowserWindow)
|
||||
mXULBrowserWindow->OnProgress(aChannel, aCurTotalProgress, aMaxTotalProgress);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user