From 0e098126392a12c22ab0c4a61462023afeb619cc Mon Sep 17 00:00:00 2001 From: "radha%netscape.com" Date: Mon, 14 Jun 1999 22:13:00 +0000 Subject: [PATCH] New arguments for OnEndDocumentLoad() --- editor/base/nsEditorShell.cpp | 3 ++- editor/base/nsEditorShell.h | 3 ++- editor/composer/src/nsEditorShell.cpp | 3 ++- editor/composer/src/nsEditorShell.h | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/editor/base/nsEditorShell.cpp b/editor/base/nsEditorShell.cpp index 1af2ad0cb7ee..7cc1b01a51bd 100644 --- a/editor/base/nsEditorShell.cpp +++ b/editor/base/nsEditorShell.cpp @@ -2320,7 +2320,8 @@ nsEditorShell::OnStartDocumentLoad(nsIDocumentLoader* loader, nsIURL* aURL, cons } NS_IMETHODIMP -nsEditorShell::OnEndDocumentLoad(nsIDocumentLoader* loader, nsIURL *aUrl, PRInt32 aStatus) +nsEditorShell::OnEndDocumentLoad(nsIDocumentLoader* loader, nsIURL *aUrl, PRInt32 aStatus, + nsIDocumentLoaderObserver * aObserver) { return PrepareDocumentForEditing(); } diff --git a/editor/base/nsEditorShell.h b/editor/base/nsEditorShell.h index 077fc1babf4a..1c63b04293d8 100644 --- a/editor/base/nsEditorShell.h +++ b/editor/base/nsEditorShell.h @@ -184,7 +184,8 @@ class nsEditorShell : public nsIEditorShell, // nsIDocumentLoaderObserver NS_IMETHOD OnStartDocumentLoad(nsIDocumentLoader* loader, nsIURL* aURL, const char* aCommand); - NS_IMETHOD OnEndDocumentLoad(nsIDocumentLoader* loader, nsIURL *aUrl, PRInt32 aStatus); + NS_IMETHOD OnEndDocumentLoad(nsIDocumentLoader* loader, nsIURL *aUrl, PRInt32 aStatus, + nsIDocumentLoaderObserver * aObserver); NS_IMETHOD OnStartURLLoad(nsIDocumentLoader* loader, nsIURL* aURL, const char* aContentType, nsIContentViewer* aViewer); NS_IMETHOD OnProgressURLLoad(nsIDocumentLoader* loader, nsIURL* aURL, PRUint32 aProgress, diff --git a/editor/composer/src/nsEditorShell.cpp b/editor/composer/src/nsEditorShell.cpp index 1af2ad0cb7ee..7cc1b01a51bd 100644 --- a/editor/composer/src/nsEditorShell.cpp +++ b/editor/composer/src/nsEditorShell.cpp @@ -2320,7 +2320,8 @@ nsEditorShell::OnStartDocumentLoad(nsIDocumentLoader* loader, nsIURL* aURL, cons } NS_IMETHODIMP -nsEditorShell::OnEndDocumentLoad(nsIDocumentLoader* loader, nsIURL *aUrl, PRInt32 aStatus) +nsEditorShell::OnEndDocumentLoad(nsIDocumentLoader* loader, nsIURL *aUrl, PRInt32 aStatus, + nsIDocumentLoaderObserver * aObserver) { return PrepareDocumentForEditing(); } diff --git a/editor/composer/src/nsEditorShell.h b/editor/composer/src/nsEditorShell.h index 077fc1babf4a..1c63b04293d8 100644 --- a/editor/composer/src/nsEditorShell.h +++ b/editor/composer/src/nsEditorShell.h @@ -184,7 +184,8 @@ class nsEditorShell : public nsIEditorShell, // nsIDocumentLoaderObserver NS_IMETHOD OnStartDocumentLoad(nsIDocumentLoader* loader, nsIURL* aURL, const char* aCommand); - NS_IMETHOD OnEndDocumentLoad(nsIDocumentLoader* loader, nsIURL *aUrl, PRInt32 aStatus); + NS_IMETHOD OnEndDocumentLoad(nsIDocumentLoader* loader, nsIURL *aUrl, PRInt32 aStatus, + nsIDocumentLoaderObserver * aObserver); NS_IMETHOD OnStartURLLoad(nsIDocumentLoader* loader, nsIURL* aURL, const char* aContentType, nsIContentViewer* aViewer); NS_IMETHOD OnProgressURLLoad(nsIDocumentLoader* loader, nsIURL* aURL, PRUint32 aProgress,