Implemented by
imgIDecoderObserver interface @author Stuart Parmenter <pavlov@netscape.com> @version 0.1 @see imagelib2
[scriptable, uuid(cce7152e-4395-4231-a781-c347c5446cc2)]
interface imgIDecoderObserver : imgIContainerObserver
Methods
called when some part of the frame has new data in it
[noscript]
void
onDataAvailable(in imgIRequest aRequest, in gfxIImageFrame aFrame, [const] in nsIntRect aRect)
called once the image has been inited and therefore has a width and height
void
onStartContainer(in imgIRequest aRequest, in imgIContainer aContainer)
called as soon as the image begins getting decoded
void
onStartDecode(in imgIRequest aRequest)
called when each frame is created
void
onStartFrame(in imgIRequest aRequest, in gfxIImageFrame aFrame)
probably not needed. called right before onStopDecode
void
onStopContainer(in imgIRequest aRequest, in imgIContainer aContainer)
called when the decoder is dying off
void
onStopDecode(in imgIRequest aRequest, in nsresult status, in wstring statusArg)
called when a frame is finished decoding
void
onStopFrame(in imgIRequest aRequest, in gfxIImageFrame aFrame)
Compare to: