docshell/base/nsDocShellLoadInfo.h

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:d3e254695cb9
1 /* -*- Mode: C++; tab-width: 3; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6
7 #ifndef nsDocShellLoadInfo_h__
8 #define nsDocShellLoadInfo_h__
9
10
11 // Helper Classes
12 #include "nsCOMPtr.h"
13 #include "nsString.h"
14
15 // Interfaces Needed
16 #include "nsIDocShellLoadInfo.h"
17
18 class nsIInputStream;
19 class nsISHEntry;
20 class nsIURI;
21 class nsIDocShell;
22
23 class nsDocShellLoadInfo : public nsIDocShellLoadInfo
24 {
25 public:
26 nsDocShellLoadInfo();
27
28 NS_DECL_ISUPPORTS
29 NS_DECL_NSIDOCSHELLLOADINFO
30
31 protected:
32 virtual ~nsDocShellLoadInfo();
33
34 protected:
35 nsCOMPtr<nsIURI> mReferrer;
36 nsCOMPtr<nsISupports> mOwner;
37 bool mInheritOwner;
38 bool mOwnerIsExplicit;
39 bool mSendReferrer;
40 nsDocShellInfoLoadType mLoadType;
41 nsCOMPtr<nsISHEntry> mSHEntry;
42 nsString mTarget;
43 nsCOMPtr<nsIInputStream> mPostDataStream;
44 nsCOMPtr<nsIInputStream> mHeadersStream;
45 bool mIsSrcdocLoad;
46 nsString mSrcdocData;
47 nsCOMPtr<nsIDocShell> mSourceDocShell;
48 nsCOMPtr<nsIURI> mBaseURI;
49 };
50
51 #endif /* nsDocShellLoadInfo_h__ */

mercurial