WindowGlobalTypes.ipdlh (1330B)
1 /* -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 8 -*- */ 2 /* vim: set sw=4 ts=8 et tw=80 ft=cpp : */ 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 include "mozilla/dom/PermissionMessageUtils.h"; 8 include "mozilla/ipc/TransportSecurityInfoUtils.h"; 9 include "mozilla/ipc/URIUtils.h"; 10 11 include NeckoChannelParams; 12 include DOMTypes; 13 14 using mozilla::dom::WindowContextInitializer from "mozilla/dom/WindowContext.h"; 15 [RefCounted] using class nsITransportSecurityInfo from "nsITransportSecurityInfo.h"; 16 17 namespace mozilla { 18 namespace dom { 19 20 struct WindowGlobalInit 21 { 22 // Fields which are synchronized to other processes are found here. 23 WindowContextInitializer context; 24 25 // Private fields only shared with the parent process. 26 nullable nsIPrincipal principal; 27 nullable nsIPrincipal storagePrincipal; 28 nullable nsIURI documentURI; 29 30 bool isInitialDocument; 31 bool isUncommittedInitialDocument; 32 bool blockAllMixedContent; 33 bool upgradeInsecureRequests; 34 uint32_t sandboxFlags; 35 CookieJarSettingsArgs cookieJarSettings; 36 uint32_t httpsOnlyStatus; 37 nullable nsITransportSecurityInfo securityInfo; 38 }; 39 40 } // namespace dom 41 } // namespace mozilla