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).


git-svn-id: svn://10.0.0.236/trunk@42245 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
valeski%netscape.com
1999-08-05 01:28:30 +00:00
parent 42a2c91e79
commit be8bf3fd76
22 changed files with 178 additions and 172 deletions

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)