Adding implementation for the new method OnStartURIOpen on nsIURIContentListener.

This commit is contained in:
tbogard%aol.net 2000-03-24 00:26:51 +00:00
parent 0b23120401
commit bd5b532ce6
2 changed files with 18 additions and 0 deletions

View File

@ -54,6 +54,16 @@ NS_INTERFACE_MAP_END
// nsDSURIContentListener::nsIURIContentListener
//*****************************************************************************
NS_IMETHODIMP nsDSURIContentListener::OnStartURIOpen(nsIURI* aURI,
const char* aWindowTarget, PRBool* aAbortOpen)
{
if(mParentContentListener)
return mParentContentListener->OnStartURIOpen(aURI, aWindowTarget,
aAbortOpen);
return NS_OK;
}
NS_IMETHODIMP nsDSURIContentListener::GetProtocolHandler(nsIURI* aURI,
nsIProtocolHandler** aProtocolHandler)
{

View File

@ -176,6 +176,14 @@ NS_IMETHODIMP ImageConsumer::GetInterface(const nsIID & aIID, void * *aInstanceP
}
// nsIURIContentListener support
NS_IMETHODIMP
ImageConsumer::OnStartURIOpen(nsIURI* aURI,
const char* aWindowTarget, PRBool* aAbortOpen)
{
return NS_OK;
}
NS_IMETHODIMP
ImageConsumer::GetProtocolHandler(nsIURI *aURI, nsIProtocolHandler **aProtocolHandler)
{