Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla.old/nsIDocShellLoadInfo.d @ 288:4ee8c4237614
old branches... commit by mistake
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Tue, 05 Aug 2008 18:00:50 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
287:9cbe6285f746 | 288:4ee8c4237614 |
---|---|
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 extern(System) | |
20 | |
21 interface nsIDocShellLoadInfo : nsISupports { | |
22 | |
23 static const char[] IID_STR = NS_IDOCSHELLLOADINFO_IID_STR; | |
24 static const nsIID IID = NS_IDOCSHELLLOADINFO_IID; | |
25 | |
26 nsresult GetReferrer(nsIURI *aReferrer); | |
27 nsresult SetReferrer(nsIURI aReferrer); | |
28 nsresult GetOwner(nsISupports *aOwner); | |
29 nsresult SetOwner(nsISupports aOwner); | |
30 nsresult GetInheritOwner(PRBool *aInheritOwner); | |
31 nsresult SetInheritOwner(PRBool aInheritOwner); | |
32 | |
33 enum { loadNormal = 0 }; | |
34 enum { loadNormalReplace = 1 }; | |
35 enum { loadHistory = 2 }; | |
36 enum { loadReloadNormal = 3 }; | |
37 enum { loadReloadBypassCache = 4 }; | |
38 enum { loadReloadBypassProxy = 5 }; | |
39 enum { loadReloadBypassProxyAndCache = 6 }; | |
40 enum { loadLink = 7 }; | |
41 enum { loadRefresh = 8 }; | |
42 enum { loadReloadCharsetChange = 9 }; | |
43 enum { loadBypassHistory = 10 }; | |
44 enum { loadStopContent = 11 }; | |
45 enum { loadStopContentAndReplace = 12 }; | |
46 enum { loadNormalExternal = 13 }; | |
47 | |
48 nsresult GetLoadType(nsDocShellInfoLoadType *aLoadType); | |
49 nsresult SetLoadType(nsDocShellInfoLoadType aLoadType); | |
50 nsresult GetSHEntry(nsISHEntry *aSHEntry); | |
51 nsresult SetSHEntry(nsISHEntry aSHEntry); | |
52 nsresult GetTarget(PRUnichar * *aTarget); | |
53 nsresult SetTarget(PRUnichar * aTarget); | |
54 nsresult GetPostDataStream(nsIInputStream *aPostDataStream); | |
55 nsresult SetPostDataStream(nsIInputStream aPostDataStream); | |
56 nsresult GetHeadersStream(nsIInputStream *aHeadersStream); | |
57 nsresult SetHeadersStream(nsIInputStream aHeadersStream); | |
58 nsresult GetSendReferrer(PRBool *aSendReferrer); | |
59 nsresult SetSendReferrer(PRBool aSendReferrer); | |
60 | |
61 } | |
62 |