api change to nsIWebShell and nsIDocumentLoaderObserver. I've replaced all the old method delarations with the new versions. We now pass 'nsresult' types into the On*() methods instead of PRInt32. The PRInt32 arg type was causing data loss.

I also checked in a fix for bug 10848 (which prompted the api change), and 10549 (these changes were in nsWebShell.cpp).
This commit is contained in:
valeski@netscape.com
1999-08-05 01:28:30 +00:00
parent 4833054c48
commit eb59a2272b
22 changed files with 178 additions and 172 deletions
+3 -3
View File
@@ -551,7 +551,7 @@ nsWebShellWindow::ProgressLoadURL(nsIWebShell* aShell, const PRUnichar* aURL,
NS_IMETHODIMP
nsWebShellWindow::EndLoadURL(nsIWebShell* aWebShell, const PRUnichar* aURL,
PRInt32 aStatus)
nsresult aStatus)
{
return NS_OK;
}
@@ -1779,7 +1779,7 @@ nsWebShellWindow::OnStartDocumentLoad(nsIDocumentLoader* loader,
NS_IMETHODIMP
#ifdef NECKO
nsWebShellWindow::OnEndDocumentLoad(nsIDocumentLoader* loader,
nsIChannel* channel, PRInt32 aStatus,
nsIChannel* channel, nsresult aStatus,
nsIDocumentLoaderObserver * aDocObserver)
#else
nsWebShellWindow::OnEndDocumentLoad(nsIDocumentLoader* loader,
@@ -1917,7 +1917,7 @@ nsWebShellWindow::OnStatusURLLoad(nsIDocumentLoader* loader,
NS_IMETHODIMP
#ifdef NECKO
nsWebShellWindow::OnEndURLLoad(nsIDocumentLoader* loader,
nsIChannel* channel, PRInt32 aStatus)
nsIChannel* channel, nsresult aStatus)
#else
nsWebShellWindow::OnEndURLLoad(nsIDocumentLoader* loader,
nsIURI* aURL, PRInt32 aStatus)