From 9886532136365c18197f28fd5f4d64bb493eccdc Mon Sep 17 00:00:00 2001 From: "rpotts%netscape.com" Date: Fri, 17 Sep 1999 07:54:11 +0000 Subject: [PATCH] Removed NECKO ifdefs... --- webshell/public/nsIDocumentLoaderObserver.h | 31 --------------------- 1 file changed, 31 deletions(-) diff --git a/webshell/public/nsIDocumentLoaderObserver.h b/webshell/public/nsIDocumentLoaderObserver.h index 449d1df954ea..b132b6359c78 100644 --- a/webshell/public/nsIDocumentLoaderObserver.h +++ b/webshell/public/nsIDocumentLoaderObserver.h @@ -54,13 +54,8 @@ public: /** * Notify the observer that a document has been completely loaded. */ -#ifdef NECKO NS_IMETHOD OnEndDocumentLoad(nsIDocumentLoader* loader, nsIChannel* channel, nsresult aStatus, nsIDocumentLoaderObserver * aObserver) = 0; -#else - NS_IMETHOD OnEndDocumentLoad(nsIDocumentLoader* loader, nsIURI *aUrl, PRInt32 aStatus, - nsIDocumentLoaderObserver * aObserver) = 0; -#endif /** * Notify the observer that the specified nsIURI has just started to load. @@ -68,62 +63,36 @@ public: * This notification occurs after DNS resolution, and a connection to the * server has been established. */ -#ifdef NECKO NS_IMETHOD OnStartURLLoad(nsIDocumentLoader* loader, nsIChannel* channel, nsIContentViewer* aViewer) = 0; -#else - NS_IMETHOD OnStartURLLoad(nsIDocumentLoader* loader, nsIURI* aURL, const char* aContentType, - nsIContentViewer* aViewer) = 0; -#endif /** * Notify the observer that progress has occurred in the loading of the * specified URL... */ -#ifdef NECKO NS_IMETHOD OnProgressURLLoad(nsIDocumentLoader* loader, nsIChannel* channel, PRUint32 aProgress, PRUint32 aProgressMax) = 0; -#else - NS_IMETHOD OnProgressURLLoad(nsIDocumentLoader* loader, - nsIURI* aURL, PRUint32 aProgress, - PRUint32 aProgressMax) = 0; -#endif /** * Notify the observer that status text is available regarding the URL * being loaded... */ -#ifdef NECKO NS_IMETHOD OnStatusURLLoad(nsIDocumentLoader* loader, nsIChannel* channel, nsString& aMsg) = 0; -#else - NS_IMETHOD OnStatusURLLoad(nsIDocumentLoader* loader, nsIURI* aURL, nsString& aMsg) = 0; -#endif /** * Notify the observer that the specified nsIURI has finished loading. */ -#ifdef NECKO NS_IMETHOD OnEndURLLoad(nsIDocumentLoader* loader, nsIChannel* channel, nsresult aStatus) = 0; -#else - NS_IMETHOD OnEndURLLoad(nsIDocumentLoader* loader, nsIURI* aURL, PRInt32 aStatus) = 0; -#endif /** * Notify the observer that some content of unknown type has been * encountered... */ -#ifdef NECKO NS_IMETHOD HandleUnknownContentType( nsIDocumentLoader* loader, nsIChannel* channel, const char *aContentType, const char *aCommand ) = 0; -#else - NS_IMETHOD HandleUnknownContentType( nsIDocumentLoader* loader, - nsIURI *aURL, - const char *aContentType, - const char *aCommand ) = 0; -#endif };