зеркало из https://github.com/mozilla/gecko-dev.git
Родитель
c9256360f0
Коммит
d7a4c2790e
|
@ -198,6 +198,7 @@ NS_INTERFACE_MAP_BEGIN(nsDocLoaderImpl)
|
|||
NS_INTERFACE_MAP_ENTRY(nsIWebProgress)
|
||||
NS_INTERFACE_MAP_ENTRY(nsIProgressEventSink)
|
||||
NS_INTERFACE_MAP_ENTRY(nsIInterfaceRequestor)
|
||||
NS_INTERFACE_MAP_ENTRY(nsIHTTPEventSink)
|
||||
NS_INTERFACE_MAP_END
|
||||
|
||||
|
||||
|
@ -1386,6 +1387,19 @@ void nsDocLoaderImpl::CalculateMaxProgress(PRInt32 *aMax)
|
|||
*aMax = max;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsDocLoaderImpl::OnHeadersAvailable(nsISupports * aContext)
|
||||
{
|
||||
// right now I don't think we need to do anything special for this case...
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsDocLoaderImpl::OnRedirect(nsISupports * aContext, nsIURI * aNewLocation)
|
||||
{
|
||||
// right now I don't think we need to do anything special for this case...
|
||||
FireOnLocationChange(this, mDocumentChannel, aNewLocation);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
#if 0
|
||||
void nsDocLoaderImpl::DumpChannelInfo()
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include "nsIChannel.h"
|
||||
#include "nsIProgressEventSink.h"
|
||||
#include "nsIInterfaceRequestor.h"
|
||||
#include "nsIHTTPEventSink.h"
|
||||
#include "nsCOMPtr.h"
|
||||
|
||||
struct nsChannelInfo;
|
||||
|
@ -51,7 +52,8 @@ class nsDocLoaderImpl : public nsIDocumentLoader,
|
|||
public nsSupportsWeakReference,
|
||||
public nsIProgressEventSink,
|
||||
public nsIWebProgress,
|
||||
public nsIInterfaceRequestor
|
||||
public nsIInterfaceRequestor,
|
||||
public nsIHTTPEventSink
|
||||
{
|
||||
public:
|
||||
|
||||
|
@ -73,6 +75,7 @@ public:
|
|||
NS_DECL_NSIWEBPROGRESS
|
||||
|
||||
NS_DECL_NSIINTERFACEREQUESTOR
|
||||
NS_DECL_NSIHTTPEVENTSINK
|
||||
|
||||
// Implementation specific methods...
|
||||
protected:
|
||||
|
|
Загрузка…
Ссылка в новой задаче