Logo Search packages:      
Sourcecode: xulrunner version File versions

nsIWebProgressListener Interface Reference

import "nsIWebProgressListener.idl";

Inheritance diagram for nsIWebProgressListener:

nsISupports nsAccessProxy nsIWebProgressListener2 nsIDownload nsIDownload

List of all members.

Detailed Description

The nsIWebProgressListener interface is implemented by clients wishing to listen in on the progress associated with the loading of asynchronous requests in the context of a nsIWebProgress instance as well as any child nsIWebProgress instances. nsIWebProgress.idl describes the parent-child relationship of nsIWebProgress instances.


Definition at line 57 of file nsIWebProgressListener.idl.

Public Member Functions

void onLocationChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in nsIURI aLocation)
void onProgressChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aCurSelfProgress, in long aMaxSelfProgress, in long aCurTotalProgress, in long aMaxTotalProgress)
void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long aState)
void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long aStateFlags, in nsresult aStatus)
void onStatusChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in nsresult aStatus, in wstring aMessage)
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Public Attributes

const unsigned long STATE_IDENTITY_EV_TOPLEVEL = 0x00100000
const unsigned long STATE_IS_BROKEN = 0x00000001
const unsigned long STATE_IS_DOCUMENT = 0x00020000
const unsigned long STATE_IS_INSECURE = 0x00000004
const unsigned long STATE_IS_NETWORK = 0x00040000
const unsigned long STATE_IS_REQUEST = 0x00010000
const unsigned long STATE_IS_SECURE = 0x00000002
const unsigned long STATE_IS_WINDOW = 0x00080000
const unsigned long STATE_NEGOTIATING = 0x00000008
const unsigned long STATE_REDIRECTING = 0x00000002
const unsigned long STATE_RESTORING = 0x01000000
const unsigned long STATE_SECURE_HIGH = 0x00040000
const unsigned long STATE_SECURE_LOW = 0x00020000
const unsigned long STATE_SECURE_MED = 0x00010000
const unsigned long STATE_START = 0x00000001
const unsigned long STATE_STOP = 0x00000010
const unsigned long STATE_TRANSFERRING = 0x00000004

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

Generated by  Doxygen 1.6.0   Back to index