Mercurial > projects > dwt-win
view dwt/internal/mozilla/nsIWebProgress.d @ 327:b0d7eb5bd76c
Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Fri, 02 Jan 2009 17:45:10 -0800 |
parents | |
children |
line wrap: on
line source
module dwt.internal.mozilla.nsIWebProgress; import dwt.internal.mozilla.Common; import dwt.internal.mozilla.nsID; import dwt.internal.mozilla.nsISupports; import dwt.internal.mozilla.nsIDOMWindow; import dwt.internal.mozilla.nsIWebProgressListener; const char[] NS_IWEBPROGRESS_IID_STR = "570f39d0-efd0-11d3-b093-00a024ffc08c"; const nsIID NS_IWEBPROGRESS_IID= {0x570f39d0, 0xefd0, 0x11d3, [ 0xb0, 0x93, 0x00, 0xa0, 0x24, 0xff, 0xc0, 0x8c ]}; interface nsIWebProgress : nsISupports { static const char[] IID_STR = NS_IWEBPROGRESS_IID_STR; static const nsIID IID = NS_IWEBPROGRESS_IID; extern(System): enum { NOTIFY_STATE_REQUEST = 1U }; enum { NOTIFY_STATE_DOCUMENT = 2U }; enum { NOTIFY_STATE_NETWORK = 4U }; enum { NOTIFY_STATE_WINDOW = 8U }; enum { NOTIFY_STATE_ALL = 15U }; enum { NOTIFY_PROGRESS = 16U }; enum { NOTIFY_STATUS = 32U }; enum { NOTIFY_SECURITY = 64U }; enum { NOTIFY_LOCATION = 128U }; enum { NOTIFY_ALL = 255U }; nsresult AddProgressListener(nsIWebProgressListener aListener, PRUint32 aNotifyMask); nsresult RemoveProgressListener(nsIWebProgressListener aListener); nsresult GetDOMWindow(nsIDOMWindow *aDOMWindow); nsresult GetIsLoadingDocument(PRBool *aIsLoadingDocument); }