Logo Search packages:      
Sourcecode: xulrunner version File versions

imgIRequest Interface Reference

import "imgIRequest.idl";

Inheritance diagram for imgIRequest:

nsIRequest nsISupports

List of all members.

Detailed Description

imgIRequest interface

Stuart Parmenter <stuart@mozilla.com>
See also:

Definition at line 56 of file imgIRequest.idl.

Public Member Functions

void cancel (in nsresult aStatus)
imgIRequest clone (in imgIDecoderObserver aObserver)
boolean isPending ()
void resume ()
void suspend ()
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Public Attributes

readonly attribute
readonly attribute imgIContainer image
readonly attribute nsIPrincipal imagePrincipal
readonly attribute unsigned long imageStatus
const unsigned long INHIBIT_CACHING = 1 << 7
const unsigned long INHIBIT_PERSISTENT_CACHING = 1 << 8
const unsigned long LOAD_BACKGROUND = 1 << 0
const unsigned long LOAD_BYPASS_CACHE = 1 << 9
const unsigned long LOAD_FROM_CACHE = 1 << 10
const unsigned long LOAD_NORMAL = 0
attribute nsLoadFlags loadFlags
attribute nsILoadGroup loadGroup
readonly attribute string mimeType
readonly attribute AUTF8String name
readonly attribute nsresult status
readonly attribute nsIURI URI
const unsigned long VALIDATE_ALWAYS = 1 << 11
const unsigned long VALIDATE_NEVER = 1 << 12
const unsigned long VALIDATE_ONCE_PER_SESSION = 1 << 13
Bits set in the return value from imageStatus

const long STATUS_ERROR = 0x8
const long STATUS_FRAME_COMPLETE = 0x10
const long STATUS_LOAD_COMPLETE = 0x4
const long STATUS_LOAD_PARTIAL = 0x2
const long STATUS_NONE = 0x0
const long STATUS_SIZE_AVAILABLE = 0x1

The documentation for this interface was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index