45
|
1 module dwt.internal.mozilla.nsIURIContentListener;
|
|
2
|
125
|
3 import dwt.internal.mozilla.Common;
|
|
4 import dwt.internal.mozilla.nsID;
|
|
5 import dwt.internal.mozilla.nsISupports;
|
45
|
6
|
125
|
7 import dwt.internal.mozilla.nsIRequest;
|
|
8 import dwt.internal.mozilla.nsIStreamListener;
|
|
9 import dwt.internal.mozilla.nsIURI;
|
45
|
10
|
125
|
11 const char[] NS_IURICONTENTLISTENER_IID_STR = "94928ab3-8b63-11d3-989d-001083010e9b";
|
45
|
12
|
125
|
13 const nsIID NS_IURICONTENTLISTENER_IID=
|
|
14 {0x94928ab3, 0x8b63, 0x11d3,
|
|
15 [ 0x98, 0x9d, 0x00, 0x10, 0x83, 0x01, 0x0e, 0x9b ]};
|
45
|
16
|
125
|
17 interface nsIURIContentListener : nsISupports {
|
45
|
18
|
125
|
19 static const char[] IID_STR = NS_IURICONTENTLISTENER_IID_STR;
|
|
20 static const nsIID IID = NS_IURICONTENTLISTENER_IID;
|
45
|
21
|
125
|
22 extern(System):
|
|
23 nsresult OnStartURIOpen(nsIURI aURI, PRBool *_retval);
|
|
24 nsresult DoContent(char *aContentType, PRBool aIsContentPreferred, nsIRequest aRequest, nsIStreamListener *aContentHandler, PRBool *_retval);
|
|
25 nsresult IsPreferred(char *aContentType, char **aDesiredContentType, PRBool *_retval);
|
|
26 nsresult CanHandleContent(char *aContentType, PRBool aIsContentPreferred, char **aDesiredContentType, PRBool *_retval);
|
|
27 nsresult GetLoadCookie(nsISupports *aLoadCookie);
|
|
28 nsresult SetLoadCookie(nsISupports aLoadCookie);
|
|
29 nsresult GetParentContentListener(nsIURIContentListener *aParentContentListener);
|
|
30 nsresult SetParentContentListener(nsIURIContentListener aParentContentListener);
|
45
|
31
|
125
|
32 }
|
45
|
33
|