125
|
1 module dwt.internal.mozilla.nsIDocShellLoadInfo;
|
|
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.nsIURI;
|
|
8 import dwt.internal.mozilla.nsIInputStream;
|
|
9 import dwt.internal.mozilla.nsISHEntry;
|
|
10
|
|
11 alias PRInt32 nsDocShellInfoLoadType;
|
|
12
|
|
13 const char[] NS_IDOCSHELLLOADINFO_IID_STR = "4f813a88-7aca-4607-9896-d97270cdf15e";
|
|
14
|
|
15 const nsIID NS_IDOCSHELLLOADINFO_IID=
|
|
16 {0x4f813a88, 0x7aca, 0x4607,
|
|
17 [ 0x98, 0x96, 0xd9, 0x72, 0x70, 0xcd, 0xf1, 0x5e ]};
|
|
18
|
|
19 interface nsIDocShellLoadInfo : nsISupports {
|
|
20
|
|
21 static const char[] IID_STR = NS_IDOCSHELLLOADINFO_IID_STR;
|
|
22 static const nsIID IID = NS_IDOCSHELLLOADINFO_IID;
|
|
23
|
|
24 extern(System):
|
|
25 nsresult GetReferrer(nsIURI *aReferrer);
|
|
26 nsresult SetReferrer(nsIURI aReferrer);
|
|
27 nsresult GetOwner(nsISupports *aOwner);
|
|
28 nsresult SetOwner(nsISupports aOwner);
|
|
29 nsresult GetInheritOwner(PRBool *aInheritOwner);
|
|
30 nsresult SetInheritOwner(PRBool aInheritOwner);
|
|
31
|
|
32 enum { loadNormal = 0 };
|
|
33 enum { loadNormalReplace = 1 };
|
|
34 enum { loadHistory = 2 };
|
|
35 enum { loadReloadNormal = 3 };
|
|
36 enum { loadReloadBypassCache = 4 };
|
|
37 enum { loadReloadBypassProxy = 5 };
|
|
38 enum { loadReloadBypassProxyAndCache = 6 };
|
|
39 enum { loadLink = 7 };
|
|
40 enum { loadRefresh = 8 };
|
|
41 enum { loadReloadCharsetChange = 9 };
|
|
42 enum { loadBypassHistory = 10 };
|
|
43 enum { loadStopContent = 11 };
|
|
44 enum { loadStopContentAndReplace = 12 };
|
|
45 enum { loadNormalExternal = 13 };
|
|
46
|
|
47 nsresult GetLoadType(nsDocShellInfoLoadType *aLoadType);
|
|
48 nsresult SetLoadType(nsDocShellInfoLoadType aLoadType);
|
|
49 nsresult GetSHEntry(nsISHEntry *aSHEntry);
|
|
50 nsresult SetSHEntry(nsISHEntry aSHEntry);
|
|
51 nsresult GetTarget(PRUnichar * *aTarget);
|
|
52 nsresult SetTarget(PRUnichar * aTarget);
|
|
53 nsresult GetPostDataStream(nsIInputStream *aPostDataStream);
|
|
54 nsresult SetPostDataStream(nsIInputStream aPostDataStream);
|
|
55 nsresult GetHeadersStream(nsIInputStream *aHeadersStream);
|
|
56 nsresult SetHeadersStream(nsIInputStream aHeadersStream);
|
|
57 nsresult GetSendReferrer(PRBool *aSendReferrer);
|
|
58 nsresult SetSendReferrer(PRBool aSendReferrer);
|
|
59
|
|
60 }
|
|
61
|