Readonly
currentURIReadonly
syncGets the sync-decoding hint set by the decoding attribute.
Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Used to register an image decoder observer. Typically, this will be a proxy for a frame that wants to paint the image. Notifications from ongoing image loads will be passed to all registered observers. Notifications for all request types, current and pending, will be passed through.
the observer to register
Accessor to get the image requests
the imgIRequest object (may be null, even when no error is thrown)
NS_ERROR_UNEXPECTED if the request type requested is not known
a value saying which request is wanted
Used to find out what type of request one is dealing with (eg which request got passed through to the imgINotificationObserver interface of an observer)
an enum value saying what type this request is
NS_ERROR_UNEXPECTED if aRequest is not known
the request whose type we want to know
loadImageWithChannel allows data from an existing channel to be used as the image data for this content node.
a stream listener to pump the image data into
imgILoader::loadImageWithChannel
NS_ERROR_NULL_POINTER if aChannel is null
the channel that will deliver the data
Called by layout to announce when the frame associated with this content has changed its visibility state.
The new visibility state.
A requested action if the frame has become nonvisible. If Nothing(), no action is requested. If DISCARD_IMAGES is specified, the frame is requested to ask any images it's associated with to discard their surfaces if possible.
Generated using TypeDoc
Gets the URI of the current request, if available. Otherwise, returns the last URI that this content tried to load, or null if there haven't been any such attempts.