/usr/include/firefox/nsIDocShellLoadInfo.h is in firefox-dev 11.0+build1-0ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/firefox-11.0+build1/build-tree/mozilla/docshell/base/nsIDocShellLoadInfo.idl
*/
#ifndef __gen_nsIDocShellLoadInfo_h__
#define __gen_nsIDocShellLoadInfo_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIURI; /* forward declaration */
class nsIInputStream; /* forward declaration */
class nsISHEntry; /* forward declaration */
typedef PRInt32 nsDocShellInfoLoadType;
/* starting interface: nsIDocShellLoadInfo */
#define NS_IDOCSHELLLOADINFO_IID_STR "92a0a637-373e-4647-9476-ead11e005c75"
#define NS_IDOCSHELLLOADINFO_IID \
{0x92a0a637, 0x373e, 0x4647, \
{ 0x94, 0x76, 0xea, 0xd1, 0x1e, 0x00, 0x5c, 0x75 }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIDocShellLoadInfo : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOCSHELLLOADINFO_IID)
/* attribute nsIURI referrer; */
NS_SCRIPTABLE NS_IMETHOD GetReferrer(nsIURI * *aReferrer) = 0;
NS_SCRIPTABLE NS_IMETHOD SetReferrer(nsIURI *aReferrer) = 0;
/* attribute nsISupports owner; */
NS_SCRIPTABLE NS_IMETHOD GetOwner(nsISupports * *aOwner) = 0;
NS_SCRIPTABLE NS_IMETHOD SetOwner(nsISupports *aOwner) = 0;
/* attribute boolean inheritOwner; */
NS_SCRIPTABLE NS_IMETHOD GetInheritOwner(bool *aInheritOwner) = 0;
NS_SCRIPTABLE NS_IMETHOD SetInheritOwner(bool aInheritOwner) = 0;
/* attribute boolean ownerIsExplicit; */
NS_SCRIPTABLE NS_IMETHOD GetOwnerIsExplicit(bool *aOwnerIsExplicit) = 0;
NS_SCRIPTABLE NS_IMETHOD SetOwnerIsExplicit(bool aOwnerIsExplicit) = 0;
enum {
loadNormal = 0,
loadNormalReplace = 1,
loadHistory = 2,
loadReloadNormal = 3,
loadReloadBypassCache = 4,
loadReloadBypassProxy = 5,
loadReloadBypassProxyAndCache = 6,
loadLink = 7,
loadRefresh = 8,
loadReloadCharsetChange = 9,
loadBypassHistory = 10,
loadStopContent = 11,
loadStopContentAndReplace = 12,
loadNormalExternal = 13,
loadNormalBypassCache = 14,
loadNormalBypassProxy = 15,
loadNormalBypassProxyAndCache = 16,
loadPushState = 17
};
/* attribute nsDocShellInfoLoadType loadType; */
NS_SCRIPTABLE NS_IMETHOD GetLoadType(nsDocShellInfoLoadType *aLoadType) = 0;
NS_SCRIPTABLE NS_IMETHOD SetLoadType(nsDocShellInfoLoadType aLoadType) = 0;
/* attribute nsISHEntry SHEntry; */
NS_SCRIPTABLE NS_IMETHOD GetSHEntry(nsISHEntry * *aSHEntry) = 0;
NS_SCRIPTABLE NS_IMETHOD SetSHEntry(nsISHEntry *aSHEntry) = 0;
/* attribute wstring target; */
NS_SCRIPTABLE NS_IMETHOD GetTarget(PRUnichar * *aTarget) = 0;
NS_SCRIPTABLE NS_IMETHOD SetTarget(const PRUnichar * aTarget) = 0;
/* attribute nsIInputStream postDataStream; */
NS_SCRIPTABLE NS_IMETHOD GetPostDataStream(nsIInputStream * *aPostDataStream) = 0;
NS_SCRIPTABLE NS_IMETHOD SetPostDataStream(nsIInputStream *aPostDataStream) = 0;
/* attribute nsIInputStream headersStream; */
NS_SCRIPTABLE NS_IMETHOD GetHeadersStream(nsIInputStream * *aHeadersStream) = 0;
NS_SCRIPTABLE NS_IMETHOD SetHeadersStream(nsIInputStream *aHeadersStream) = 0;
/* attribute boolean sendReferrer; */
NS_SCRIPTABLE NS_IMETHOD GetSendReferrer(bool *aSendReferrer) = 0;
NS_SCRIPTABLE NS_IMETHOD SetSendReferrer(bool aSendReferrer) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIDocShellLoadInfo, NS_IDOCSHELLLOADINFO_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOCSHELLLOADINFO \
NS_SCRIPTABLE NS_IMETHOD GetReferrer(nsIURI * *aReferrer); \
NS_SCRIPTABLE NS_IMETHOD SetReferrer(nsIURI *aReferrer); \
NS_SCRIPTABLE NS_IMETHOD GetOwner(nsISupports * *aOwner); \
NS_SCRIPTABLE NS_IMETHOD SetOwner(nsISupports *aOwner); \
NS_SCRIPTABLE NS_IMETHOD GetInheritOwner(bool *aInheritOwner); \
NS_SCRIPTABLE NS_IMETHOD SetInheritOwner(bool aInheritOwner); \
NS_SCRIPTABLE NS_IMETHOD GetOwnerIsExplicit(bool *aOwnerIsExplicit); \
NS_SCRIPTABLE NS_IMETHOD SetOwnerIsExplicit(bool aOwnerIsExplicit); \
NS_SCRIPTABLE NS_IMETHOD GetLoadType(nsDocShellInfoLoadType *aLoadType); \
NS_SCRIPTABLE NS_IMETHOD SetLoadType(nsDocShellInfoLoadType aLoadType); \
NS_SCRIPTABLE NS_IMETHOD GetSHEntry(nsISHEntry * *aSHEntry); \
NS_SCRIPTABLE NS_IMETHOD SetSHEntry(nsISHEntry *aSHEntry); \
NS_SCRIPTABLE NS_IMETHOD GetTarget(PRUnichar * *aTarget); \
NS_SCRIPTABLE NS_IMETHOD SetTarget(const PRUnichar * aTarget); \
NS_SCRIPTABLE NS_IMETHOD GetPostDataStream(nsIInputStream * *aPostDataStream); \
NS_SCRIPTABLE NS_IMETHOD SetPostDataStream(nsIInputStream *aPostDataStream); \
NS_SCRIPTABLE NS_IMETHOD GetHeadersStream(nsIInputStream * *aHeadersStream); \
NS_SCRIPTABLE NS_IMETHOD SetHeadersStream(nsIInputStream *aHeadersStream); \
NS_SCRIPTABLE NS_IMETHOD GetSendReferrer(bool *aSendReferrer); \
NS_SCRIPTABLE NS_IMETHOD SetSendReferrer(bool aSendReferrer);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOCSHELLLOADINFO(_to) \
NS_SCRIPTABLE NS_IMETHOD GetReferrer(nsIURI * *aReferrer) { return _to GetReferrer(aReferrer); } \
NS_SCRIPTABLE NS_IMETHOD SetReferrer(nsIURI *aReferrer) { return _to SetReferrer(aReferrer); } \
NS_SCRIPTABLE NS_IMETHOD GetOwner(nsISupports * *aOwner) { return _to GetOwner(aOwner); } \
NS_SCRIPTABLE NS_IMETHOD SetOwner(nsISupports *aOwner) { return _to SetOwner(aOwner); } \
NS_SCRIPTABLE NS_IMETHOD GetInheritOwner(bool *aInheritOwner) { return _to GetInheritOwner(aInheritOwner); } \
NS_SCRIPTABLE NS_IMETHOD SetInheritOwner(bool aInheritOwner) { return _to SetInheritOwner(aInheritOwner); } \
NS_SCRIPTABLE NS_IMETHOD GetOwnerIsExplicit(bool *aOwnerIsExplicit) { return _to GetOwnerIsExplicit(aOwnerIsExplicit); } \
NS_SCRIPTABLE NS_IMETHOD SetOwnerIsExplicit(bool aOwnerIsExplicit) { return _to SetOwnerIsExplicit(aOwnerIsExplicit); } \
NS_SCRIPTABLE NS_IMETHOD GetLoadType(nsDocShellInfoLoadType *aLoadType) { return _to GetLoadType(aLoadType); } \
NS_SCRIPTABLE NS_IMETHOD SetLoadType(nsDocShellInfoLoadType aLoadType) { return _to SetLoadType(aLoadType); } \
NS_SCRIPTABLE NS_IMETHOD GetSHEntry(nsISHEntry * *aSHEntry) { return _to GetSHEntry(aSHEntry); } \
NS_SCRIPTABLE NS_IMETHOD SetSHEntry(nsISHEntry *aSHEntry) { return _to SetSHEntry(aSHEntry); } \
NS_SCRIPTABLE NS_IMETHOD GetTarget(PRUnichar * *aTarget) { return _to GetTarget(aTarget); } \
NS_SCRIPTABLE NS_IMETHOD SetTarget(const PRUnichar * aTarget) { return _to SetTarget(aTarget); } \
NS_SCRIPTABLE NS_IMETHOD GetPostDataStream(nsIInputStream * *aPostDataStream) { return _to GetPostDataStream(aPostDataStream); } \
NS_SCRIPTABLE NS_IMETHOD SetPostDataStream(nsIInputStream *aPostDataStream) { return _to SetPostDataStream(aPostDataStream); } \
NS_SCRIPTABLE NS_IMETHOD GetHeadersStream(nsIInputStream * *aHeadersStream) { return _to GetHeadersStream(aHeadersStream); } \
NS_SCRIPTABLE NS_IMETHOD SetHeadersStream(nsIInputStream *aHeadersStream) { return _to SetHeadersStream(aHeadersStream); } \
NS_SCRIPTABLE NS_IMETHOD GetSendReferrer(bool *aSendReferrer) { return _to GetSendReferrer(aSendReferrer); } \
NS_SCRIPTABLE NS_IMETHOD SetSendReferrer(bool aSendReferrer) { return _to SetSendReferrer(aSendReferrer); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOCSHELLLOADINFO(_to) \
NS_SCRIPTABLE NS_IMETHOD GetReferrer(nsIURI * *aReferrer) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReferrer(aReferrer); } \
NS_SCRIPTABLE NS_IMETHOD SetReferrer(nsIURI *aReferrer) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetReferrer(aReferrer); } \
NS_SCRIPTABLE NS_IMETHOD GetOwner(nsISupports * *aOwner) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOwner(aOwner); } \
NS_SCRIPTABLE NS_IMETHOD SetOwner(nsISupports *aOwner) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOwner(aOwner); } \
NS_SCRIPTABLE NS_IMETHOD GetInheritOwner(bool *aInheritOwner) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInheritOwner(aInheritOwner); } \
NS_SCRIPTABLE NS_IMETHOD SetInheritOwner(bool aInheritOwner) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetInheritOwner(aInheritOwner); } \
NS_SCRIPTABLE NS_IMETHOD GetOwnerIsExplicit(bool *aOwnerIsExplicit) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOwnerIsExplicit(aOwnerIsExplicit); } \
NS_SCRIPTABLE NS_IMETHOD SetOwnerIsExplicit(bool aOwnerIsExplicit) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOwnerIsExplicit(aOwnerIsExplicit); } \
NS_SCRIPTABLE NS_IMETHOD GetLoadType(nsDocShellInfoLoadType *aLoadType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLoadType(aLoadType); } \
NS_SCRIPTABLE NS_IMETHOD SetLoadType(nsDocShellInfoLoadType aLoadType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLoadType(aLoadType); } \
NS_SCRIPTABLE NS_IMETHOD GetSHEntry(nsISHEntry * *aSHEntry) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSHEntry(aSHEntry); } \
NS_SCRIPTABLE NS_IMETHOD SetSHEntry(nsISHEntry *aSHEntry) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSHEntry(aSHEntry); } \
NS_SCRIPTABLE NS_IMETHOD GetTarget(PRUnichar * *aTarget) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTarget(aTarget); } \
NS_SCRIPTABLE NS_IMETHOD SetTarget(const PRUnichar * aTarget) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTarget(aTarget); } \
NS_SCRIPTABLE NS_IMETHOD GetPostDataStream(nsIInputStream * *aPostDataStream) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPostDataStream(aPostDataStream); } \
NS_SCRIPTABLE NS_IMETHOD SetPostDataStream(nsIInputStream *aPostDataStream) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPostDataStream(aPostDataStream); } \
NS_SCRIPTABLE NS_IMETHOD GetHeadersStream(nsIInputStream * *aHeadersStream) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeadersStream(aHeadersStream); } \
NS_SCRIPTABLE NS_IMETHOD SetHeadersStream(nsIInputStream *aHeadersStream) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHeadersStream(aHeadersStream); } \
NS_SCRIPTABLE NS_IMETHOD GetSendReferrer(bool *aSendReferrer) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSendReferrer(aSendReferrer); } \
NS_SCRIPTABLE NS_IMETHOD SetSendReferrer(bool aSendReferrer) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSendReferrer(aSendReferrer); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsDocShellLoadInfo : public nsIDocShellLoadInfo
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIDOCSHELLLOADINFO
nsDocShellLoadInfo();
private:
~nsDocShellLoadInfo();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDocShellLoadInfo, nsIDocShellLoadInfo)
nsDocShellLoadInfo::nsDocShellLoadInfo()
{
/* member initializers and constructor code */
}
nsDocShellLoadInfo::~nsDocShellLoadInfo()
{
/* destructor code */
}
/* attribute nsIURI referrer; */
NS_IMETHODIMP nsDocShellLoadInfo::GetReferrer(nsIURI * *aReferrer)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetReferrer(nsIURI *aReferrer)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsISupports owner; */
NS_IMETHODIMP nsDocShellLoadInfo::GetOwner(nsISupports * *aOwner)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetOwner(nsISupports *aOwner)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean inheritOwner; */
NS_IMETHODIMP nsDocShellLoadInfo::GetInheritOwner(bool *aInheritOwner)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetInheritOwner(bool aInheritOwner)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean ownerIsExplicit; */
NS_IMETHODIMP nsDocShellLoadInfo::GetOwnerIsExplicit(bool *aOwnerIsExplicit)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetOwnerIsExplicit(bool aOwnerIsExplicit)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsDocShellInfoLoadType loadType; */
NS_IMETHODIMP nsDocShellLoadInfo::GetLoadType(nsDocShellInfoLoadType *aLoadType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetLoadType(nsDocShellInfoLoadType aLoadType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsISHEntry SHEntry; */
NS_IMETHODIMP nsDocShellLoadInfo::GetSHEntry(nsISHEntry * *aSHEntry)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetSHEntry(nsISHEntry *aSHEntry)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute wstring target; */
NS_IMETHODIMP nsDocShellLoadInfo::GetTarget(PRUnichar * *aTarget)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetTarget(const PRUnichar * aTarget)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIInputStream postDataStream; */
NS_IMETHODIMP nsDocShellLoadInfo::GetPostDataStream(nsIInputStream * *aPostDataStream)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetPostDataStream(nsIInputStream *aPostDataStream)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIInputStream headersStream; */
NS_IMETHODIMP nsDocShellLoadInfo::GetHeadersStream(nsIInputStream * *aHeadersStream)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetHeadersStream(nsIInputStream *aHeadersStream)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean sendReferrer; */
NS_IMETHODIMP nsDocShellLoadInfo::GetSendReferrer(bool *aSendReferrer)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetSendReferrer(bool aSendReferrer)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIDocShellLoadInfo_h__ */
|