adding a way to get the imgIDecoderObserver back from the request

git-svn-id: svn://10.0.0.236/trunk@90146 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pavlov%netscape.com
2001-03-22 23:16:52 +00:00
parent f96da00aea
commit ce0f4e3210
3 changed files with 18 additions and 0 deletions

View File

@@ -164,6 +164,15 @@ NS_IMETHODIMP imgRequestProxy::GetURI(nsIURI **aURI)
return mOwner->GetURI(aURI);
}
/* readonly attribute imgIDecoderObserver decoderObserver; */
NS_IMETHODIMP imgRequestProxy::GetDecoderObserver(imgIDecoderObserver **aDecoderObserver)
{
*aDecoderObserver = mObserver;
NS_IF_ADDREF(*aDecoderObserver);
return NS_OK;
}
/** imgIContainerObserver methods **/
/* [noscript] void frameChanged (in imgIContainer container, in nsISupports cx, in gfxIImageFrame newframe, in nsRect dirtyRect); */