Made the nsDocShell a nsIWebProgressListener. This is a first step for the Session History changes and ultimately removing the nsIDocumentLoaderObserver interface...

This commit is contained in:
rpotts@netscape.com
2000-06-20 07:59:45 +00:00
parent 3bdc7da34c
commit 2b7089f55d
2 changed files with 69 additions and 4 deletions

View File

@@ -64,7 +64,6 @@
#include "nsISupportsArray.h"
#include "nsITimerCallback.h"
#include "nsIWebNavigation.h"
#include "nsIWebProgress.h"
#include "nsIWebProgressListener.h"
//*****************************************************************************
@@ -119,10 +118,10 @@ class nsDocShell : public nsIDocShell,
public nsIInterfaceRequestor,
public nsIScriptGlobalObjectOwner,
public nsIRefreshURI,
public nsIWebProgressListener,
public nsSupportsWeakReference
{
friend class nsDSURIContentListener;
friend class nsDSWebProgressListener;
public:
// Object Management
@@ -139,6 +138,7 @@ public:
NS_DECL_NSITEXTSCROLL
NS_DECL_NSIINTERFACEREQUESTOR
NS_DECL_NSISCRIPTGLOBALOBJECTOWNER
NS_DECL_NSIWEBPROGRESSLISTENER
// nsIRefreshURI
NS_IMETHOD RefreshURI(nsIURI *aURI, PRInt32 aDelay, PRBool aRepeat);
@@ -151,6 +151,9 @@ public:
nsISupports* aExtraInfo);
nsresult SetLoadCookie(nsISupports *aCookie);
nsresult GetLoadCookie(nsISupports **aResult);
protected:
// Object Management
virtual ~nsDocShell();