Use the XPIDL generated macro to declare the methods for nsIDocumentLoaderObserver interface.

This commit is contained in:
tbogard%aol.net 2000-03-11 01:01:39 +00:00
Родитель 23282f97e8
Коммит 04645ac524
2 изменённых файлов: 2 добавлений и 28 удалений

Просмотреть файл

@ -90,20 +90,7 @@ class nsEditorShell : public nsIEditorShell,
NS_DECL_NSIEDITORSPELLCHECK NS_DECL_NSIEDITORSPELLCHECK
// nsIDocumentLoaderObserver // nsIDocumentLoaderObserver
NS_IMETHOD OnStartDocumentLoad(nsIDocumentLoader* loader, nsIURI* aURL, const char* aCommand); NS_DECL_NSIDOCUMENTLOADEROBSERVER
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 );
protected: protected:
nsIDOMWindow *mToolbarWindow; // weak reference nsIDOMWindow *mToolbarWindow; // weak reference

Просмотреть файл

@ -90,20 +90,7 @@ class nsEditorShell : public nsIEditorShell,
NS_DECL_NSIEDITORSPELLCHECK NS_DECL_NSIEDITORSPELLCHECK
// nsIDocumentLoaderObserver // nsIDocumentLoaderObserver
NS_IMETHOD OnStartDocumentLoad(nsIDocumentLoader* loader, nsIURI* aURL, const char* aCommand); NS_DECL_NSIDOCUMENTLOADEROBSERVER
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 );
protected: protected:
nsIDOMWindow *mToolbarWindow; // weak reference nsIDOMWindow *mToolbarWindow; // weak reference