Removed BeginDocumentLoad/EndDocumentLoad. This functionality is handled by OnStatusNetStart/OnStatusNetStop.
git-svn-id: svn://10.0.0.236/trunk@66951 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
b6c53b9bc1
commit
0a0ca35bce
@ -318,7 +318,7 @@ NS_METHOD CBrowserWindow::SetLocation(const nsString& aLocation)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_METHOD CBrowserWindow::BeginDocumentLoad(nsIDocumentLoader *aLoader, nsIURI *aURL, const char *aCommand)
|
||||
NS_METHOD CBrowserWindow::OnStatusNetStart(nsIChannel *aChannel)
|
||||
{
|
||||
// Stop the throbber
|
||||
if (mThrobber)
|
||||
@ -332,11 +332,11 @@ NS_METHOD CBrowserWindow::BeginDocumentLoad(nsIDocumentLoader *aLoader, nsIURI *
|
||||
// broadcasters and listeners. But for demo's sake this
|
||||
// better shows what's happening.
|
||||
LBroadcaster::BroadcastMessage(msg_OnStartLoadDocument, 0);
|
||||
|
||||
return NS_OK;
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_METHOD CBrowserWindow::EndDocumentLoad(nsIDocumentLoader *loader, nsIChannel *aChannel, PRUint32 aStatus)
|
||||
NS_METHOD CBrowserWindow::OnStatusNetStop(nsIChannel *aChannel)
|
||||
{
|
||||
// Stop the throbber
|
||||
if (mThrobber)
|
||||
@ -355,18 +355,7 @@ NS_METHOD CBrowserWindow::EndDocumentLoad(nsIDocumentLoader *loader, nsIChannel
|
||||
// broadcasters and listeners. But for demo's sake this
|
||||
// better shows what's happening.
|
||||
LBroadcaster::BroadcastMessage(msg_OnEndLoadDocument, 0);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
NS_METHOD CBrowserWindow::OnStatusNetStart(nsIChannel *aChannel)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_METHOD CBrowserWindow::OnStatusNetStop(nsIChannel *aChannel)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
@ -90,9 +90,6 @@ protected:
|
||||
|
||||
NS_METHOD SetLocation(const nsString& aLocation);
|
||||
|
||||
NS_METHOD BeginDocumentLoad(nsIDocumentLoader *aLoader, nsIURI *aURL, const char *aCommand);
|
||||
NS_METHOD EndDocumentLoad(nsIDocumentLoader *loader, nsIChannel *aChannel, PRUint32 aStatus);
|
||||
|
||||
NS_METHOD OnStatusNetStart(nsIChannel *aChannel);
|
||||
NS_METHOD OnStatusNetStop(nsIChannel *aChannel);
|
||||
NS_METHOD OnStatusDNS(nsIChannel *aChannel);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user