Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

nsIWebProgress Interface Reference

import "nsIWebProgress.idl";

Inheritance diagram for nsIWebProgress:


List of all members.

Detailed Description

The nsIWebProgress interface is used to add or remove nsIWebProgressListener instances to observe the loading of asynchronous requests (usually in the context of a DOM window).

nsIWebProgress instances may be arranged in a parent-child configuration, corresponding to the parent-child configuration of their respective DOM windows. However, in some cases a nsIWebProgress instance may not have an associated DOM window. The parent-child relationship of nsIWebProgress instances is not made explicit by this interface, but the relationship may exist in some implementations.

A nsIWebProgressListener instance receives notifications for the nsIWebProgress instance to which it added itself, and it may also receive notifications from any nsIWebProgress instances that are children of that nsIWebProgress instance.


Definition at line 67 of file nsIWebProgress.idl.

Public Member Functions

void addProgressListener (in nsIWebProgressListener aListener, in unsigned long aNotifyMask)
void removeProgressListener (in nsIWebProgressListener aListener)
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Public Attributes

readonly attribute nsIDOMWindow DOMWindow
readonly attribute PRBool isLoadingDocument
const unsigned long NOTIFY_ALL = 0x000001ff
const unsigned long NOTIFY_LOCATION = 0x00000080
const unsigned long NOTIFY_PROGRESS = 0x00000010
const unsigned long NOTIFY_REFRESH = 0x00000100
const unsigned long NOTIFY_SECURITY = 0x00000040
const unsigned long NOTIFY_STATE_ALL = 0x0000000f
const unsigned long NOTIFY_STATE_DOCUMENT = 0x00000002
const unsigned long NOTIFY_STATE_NETWORK = 0x00000004
const unsigned long NOTIFY_STATE_REQUEST = 0x00000001
const unsigned long NOTIFY_STATE_WINDOW = 0x00000008
const unsigned long NOTIFY_STATUS = 0x00000020

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

Generated by  Doxygen 1.6.0   Back to index