michael@0: /* -*- Mode: C++; tab-width: 3; indent-tabs-mode: nil; c-basic-offset: 2 -*- michael@0: * michael@0: * This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef nsDocShellLoadInfo_h__ michael@0: #define nsDocShellLoadInfo_h__ michael@0: michael@0: michael@0: // Helper Classes michael@0: #include "nsCOMPtr.h" michael@0: #include "nsString.h" michael@0: michael@0: // Interfaces Needed michael@0: #include "nsIDocShellLoadInfo.h" michael@0: michael@0: class nsIInputStream; michael@0: class nsISHEntry; michael@0: class nsIURI; michael@0: class nsIDocShell; michael@0: michael@0: class nsDocShellLoadInfo : public nsIDocShellLoadInfo michael@0: { michael@0: public: michael@0: nsDocShellLoadInfo(); michael@0: michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_NSIDOCSHELLLOADINFO michael@0: michael@0: protected: michael@0: virtual ~nsDocShellLoadInfo(); michael@0: michael@0: protected: michael@0: nsCOMPtr mReferrer; michael@0: nsCOMPtr mOwner; michael@0: bool mInheritOwner; michael@0: bool mOwnerIsExplicit; michael@0: bool mSendReferrer; michael@0: nsDocShellInfoLoadType mLoadType; michael@0: nsCOMPtr mSHEntry; michael@0: nsString mTarget; michael@0: nsCOMPtr mPostDataStream; michael@0: nsCOMPtr mHeadersStream; michael@0: bool mIsSrcdocLoad; michael@0: nsString mSrcdocData; michael@0: nsCOMPtr mSourceDocShell; michael@0: nsCOMPtr mBaseURI; michael@0: }; michael@0: michael@0: #endif /* nsDocShellLoadInfo_h__ */