imgIDecoderObserver interface This interface is used both for observing imgIDecoder objects and for observing imgIRequest objects. In the former case, aRequest is always null. XXXldb The two functions should probably be split. @author Stuart Parmenter <pavlov@netscape.com> @version 0.1 @see imagelib2
[scriptable, uuid(cce7152e-4395-4231-a781-c347c5446cc2)]
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
called as soon as the image begins getting decoded
called when each frame is created
probably not needed. called right before onStopDecode
called when the decoder is dying off
called when a frame is finished decoding
Compare to: