root/dwt/internal/mozilla/nsIWebProgress.d

Revision 327:b0d7eb5bd76c, 1.2 kB (checked in by John Reimer <terminal.node@gmail.com>, 3 years ago)

Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win

Line 
1 module dwt.internal.mozilla.nsIWebProgress;
2
3 import dwt.internal.mozilla.Common;
4 import dwt.internal.mozilla.nsID;
5 import dwt.internal.mozilla.nsISupports;
6
7 import dwt.internal.mozilla.nsIDOMWindow;
8 import dwt.internal.mozilla.nsIWebProgressListener;
9
10 const char[] NS_IWEBPROGRESS_IID_STR = "570f39d0-efd0-11d3-b093-00a024ffc08c";
11
12 const nsIID NS_IWEBPROGRESS_IID=
13   {0x570f39d0, 0xefd0, 0x11d3,
14     [ 0xb0, 0x93, 0x00, 0xa0, 0x24, 0xff, 0xc0, 0x8c ]};
15
16 interface nsIWebProgress : nsISupports {
17
18   static const char[] IID_STR = NS_IWEBPROGRESS_IID_STR;
19   static const nsIID IID = NS_IWEBPROGRESS_IID;
20
21 extern(System):
22   enum { NOTIFY_STATE_REQUEST = 1U };
23   enum { NOTIFY_STATE_DOCUMENT = 2U };
24   enum { NOTIFY_STATE_NETWORK = 4U };
25   enum { NOTIFY_STATE_WINDOW = 8U };
26   enum { NOTIFY_STATE_ALL = 15U };
27   enum { NOTIFY_PROGRESS = 16U };
28   enum { NOTIFY_STATUS = 32U };
29   enum { NOTIFY_SECURITY = 64U };
30   enum { NOTIFY_LOCATION = 128U };
31   enum { NOTIFY_ALL = 255U };
32
33   nsresult AddProgressListener(nsIWebProgressListener aListener, PRUint32 aNotifyMask);
34   nsresult RemoveProgressListener(nsIWebProgressListener aListener);
35   nsresult GetDOMWindow(nsIDOMWindow  *aDOMWindow);
36   nsresult GetIsLoadingDocument(PRBool *aIsLoadingDocument);
37
38 }
Note: See TracBrowser for help on using the browser.