зеркало из https://github.com/mozilla/pjs.git
Now holds on to a docShell instead of a webShell. Use IDL generated NS_DECL_NSIDOCUMENTLOADEROBSERVER instead of inline function declarations.
This commit is contained in:
Родитель
d9fc9ebec4
Коммит
a364b44502
|
@ -43,7 +43,7 @@
|
|||
#include "nsISHistory.h"
|
||||
#endif
|
||||
|
||||
class nsIWebShell;
|
||||
class nsIDocShell;
|
||||
class nsIScriptContext;
|
||||
class nsIDOMWindow;
|
||||
class nsIDOMNode;
|
||||
|
@ -76,13 +76,7 @@ class nsBrowserInstance : public nsIBrowserInstance,
|
|||
NS_DEFINE_STATIC_CID_ACCESSOR( NS_BROWSERINSTANCE_CID )
|
||||
|
||||
// nsIDocumentLoaderObserver
|
||||
NS_IMETHOD OnStartDocumentLoad(nsIDocumentLoader* loader, nsIURI* aURL, const char* aCommand);
|
||||
NS_IMETHOD OnEndDocumentLoad(nsIDocumentLoader* loader, nsIChannel* channel, nsresult aStatus);
|
||||
NS_IMETHOD OnStartURLLoad(nsIDocumentLoader* loader, nsIChannel* channel);
|
||||
NS_IMETHOD OnProgressURLLoad(nsIDocumentLoader* loader, nsIChannel* channel, PRUint32 aProgress, PRUint32 aProgressMax);
|
||||
NS_IMETHOD OnStatusURLLoad(nsIDocumentLoader* loader, nsIChannel* channel, nsString& aMsg);
|
||||
NS_IMETHOD OnEndURLLoad(nsIDocumentLoader* loader, nsIChannel* channel, nsresult aStatus);
|
||||
NS_IMETHOD HandleUnknownContentType(nsIDocumentLoader* loader, nsIChannel* channel, const char *aContentType,const char *aCommand );
|
||||
NS_DECL_NSIDOCUMENTLOADEROBSERVER
|
||||
|
||||
// nsIObserver
|
||||
NS_DECL_NSIOBSERVER
|
||||
|
@ -110,7 +104,7 @@ class nsBrowserInstance : public nsIBrowserInstance,
|
|||
nsIDOMWindow *mContentWindow; // weak reference
|
||||
|
||||
nsIWebShellWindow *mWebShellWin; // weak reference
|
||||
nsIWebShell * mWebShell; // weak reference
|
||||
nsIDocShell * mDocShell; // weak reference
|
||||
nsIWebShell * mContentAreaWebShell; // weak reference
|
||||
nsIDocumentLoader * mContentAreaDocLoader; // weak reference
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче