HandleUnknownContentType is no longer part of the nsIDocumentLoaderObserver interface.
git-svn-id: svn://10.0.0.236/trunk@62599 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -839,12 +839,3 @@ mozXMLTerminal::OnEndURLLoad(nsIDocumentLoader* loader,
|
||||
Activate();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
mozXMLTerminal::HandleUnknownContentType(nsIDocumentLoader* loader,
|
||||
nsIChannel* channel,
|
||||
const char *aContentType,
|
||||
const char *aCommand )
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
@@ -236,15 +236,6 @@ NS_IMETHODIMP mozSimpleContainer::OnEndURLLoad(nsIDocumentLoader *aLoader,
|
||||
}
|
||||
|
||||
|
||||
NS_IMETHODIMP mozSimpleContainer::HandleUnknownContentType(
|
||||
nsIDocumentLoader *aLoader,
|
||||
nsIChannel *aChannel,
|
||||
const char *aContentType, const char *aCommand)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
/** Resizes container to new dimensions
|
||||
* @param width new window width (pixels)
|
||||
* @param height new window height (pixels)
|
||||
|
||||
@@ -137,29 +137,7 @@ public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
||||
// 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
|
||||
};
|
||||
|
||||
// document loader observer implementation
|
||||
@@ -213,15 +191,6 @@ CStreamListener::OnEndURLLoad(nsIDocumentLoader* loader,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
CStreamListener::HandleUnknownContentType(nsIDocumentLoader* loader,
|
||||
nsIChannel* channel,
|
||||
const char *aContentType,
|
||||
const char *aCommand)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
nsresult CStreamListener::QueryInterface(const nsIID& aIID, void** aInstancePtr)
|
||||
{
|
||||
|
||||
@@ -137,29 +137,7 @@ public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
||||
// 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
|
||||
};
|
||||
|
||||
// document loader observer implementation
|
||||
@@ -213,15 +191,6 @@ CStreamListener::OnEndURLLoad(nsIDocumentLoader* loader,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
CStreamListener::HandleUnknownContentType(nsIDocumentLoader* loader,
|
||||
nsIChannel* channel,
|
||||
const char *aContentType,
|
||||
const char *aCommand)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
nsresult CStreamListener::QueryInterface(const nsIID& aIID, void** aInstancePtr)
|
||||
{
|
||||
|
||||
@@ -83,15 +83,6 @@ interface nsIDocumentLoaderObserver : nsISupports
|
||||
* Notify the observer that the specified nsIURI has finished loading.
|
||||
*/
|
||||
void onEndURLLoad(in nsIDocumentLoader aLoader, in nsIChannel aChannel, in unsigned long aStatus);
|
||||
|
||||
/**
|
||||
* Notify the observer that some content of unknown type has been
|
||||
* encountered...
|
||||
*/
|
||||
void handleUnknownContentType(in nsIDocumentLoader aLoader,
|
||||
in nsIChannel aChannel,
|
||||
in string aContentType,
|
||||
in string aCommand);
|
||||
};
|
||||
|
||||
/* the following is a transition define. nsIDocumentLoaderObserver wasn't scriptable and now it is.
|
||||
@@ -100,4 +91,4 @@ interface nsIDocumentLoaderObserver : nsISupports
|
||||
|
||||
%{C++
|
||||
#define NS_IDOCUMENT_LOADER_OBSERVER_IID NS_IDOCUMENTLOADEROBSERVER_IID
|
||||
%}
|
||||
%}
|
||||
|
||||
Reference in New Issue
Block a user