mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
Bug 1683532 - Make docshell
buildable outside of unified-build
environment. r=sg
Differential Revision: https://phabricator.services.mozilla.com/D100205
This commit is contained in:
parent
f928b04c35
commit
8dcc17a525
@ -1,3 +1,7 @@
|
||||
docshell/base/
|
||||
docshell/build/
|
||||
docshell/resources/
|
||||
docshell/shistory/
|
||||
dom/abort/
|
||||
dom/animation/
|
||||
dom/audiochannel/
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include "nsFrameLoaderOwner.h"
|
||||
#include "nsGlobalWindowOuter.h"
|
||||
#include "nsIWebBrowserChrome.h"
|
||||
#include "nsIXULRuntime.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsSHistory.h"
|
||||
#include "nsSecureBrowserUI.h"
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
#include "mozilla/dom/ChildProcessChannelListener.h"
|
||||
|
||||
#include "mozilla/ipc/Endpoint.h"
|
||||
#include "nsDocShellLoadState.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
#include "mozilla/Assertions.h"
|
||||
#include "mozilla/BasePrincipal.h"
|
||||
#include "mozilla/dom/ToJSValue.h"
|
||||
#include "mozilla/LoadContext.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include "mozilla/dom/SyncedContextInlines.h"
|
||||
#include "mozilla/dom/BrowsingContext.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/dom/UserActivationIPCUtils.h"
|
||||
#include "mozilla/PermissionDelegateIPCUtils.h"
|
||||
#include "mozilla/StaticPrefs_dom.h"
|
||||
#include "mozilla/StaticPtr.h"
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include "mozilla/Encoding.h"
|
||||
#include "mozilla/EventStateManager.h"
|
||||
#include "mozilla/HTMLEditor.h"
|
||||
#include "mozilla/InputTaskManager.h"
|
||||
#include "mozilla/LoadInfo.h"
|
||||
#include "mozilla/Logging.h"
|
||||
#include "mozilla/MediaFeatureChange.h"
|
||||
@ -8866,7 +8867,7 @@ nsresult nsDocShell::HandleSameDocumentNavigation(
|
||||
bool hadActiveEntry = !!mActiveEntry;
|
||||
mActiveEntry = MakeUnique<SessionHistoryInfo>(mLoadingEntry->mInfo);
|
||||
mBrowsingContext->SessionHistoryCommit(*mLoadingEntry, mLoadType,
|
||||
hadActiveEntry, true , true);
|
||||
hadActiveEntry, true, true);
|
||||
// FIXME Need to set postdata.
|
||||
SetCacheKeyOnHistoryEntry(nullptr, cacheKey);
|
||||
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include "nsDocShellEditorData.h"
|
||||
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/HTMLEditor.h"
|
||||
#include "nsIInterfaceRequestorUtils.h"
|
||||
#include "nsComponentManagerUtils.h"
|
||||
#include "nsPIDOMWindow.h"
|
||||
|
@ -19,6 +19,7 @@
|
||||
#include "mozilla/Components.h"
|
||||
#include "mozilla/dom/BrowsingContext.h"
|
||||
#include "mozilla/dom/LoadURIOptionsBinding.h"
|
||||
#include "mozilla/StaticPrefs_browser.h"
|
||||
#include "mozilla/StaticPrefs_fission.h"
|
||||
|
||||
#include "mozilla/OriginAttributes.h"
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include "nsIProtocolHandler.h"
|
||||
#include "nsIUploadChannel2.h"
|
||||
|
||||
#include "nsComponentManagerUtils.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsStreamUtils.h"
|
||||
#include "nsStringStream.h"
|
||||
|
@ -7,6 +7,7 @@
|
||||
#ifndef mozilla_AutoGlobalTimelineMarker_h_
|
||||
#define mozilla_AutoGlobalTimelineMarker_h_
|
||||
|
||||
#include "mozilla/Attributes.h"
|
||||
#include "TimelineMarkerEnums.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
@ -7,7 +7,9 @@
|
||||
#include "TimelineConsumers.h"
|
||||
|
||||
#include "mozilla/ClearOnShutdown.h"
|
||||
#include "mozilla/ObservedDocShell.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/TimelineMarker.h"
|
||||
#include "jsapi.h"
|
||||
#include "nsAppRunner.h" // for XRE_IsContentProcess, XRE_IsParentProcess
|
||||
#include "nsCRT.h"
|
||||
|
@ -5,17 +5,23 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "SessionHistoryEntry.h"
|
||||
#include "ipc/IPCMessageUtilsSpecializations.h"
|
||||
#include "nsDocShell.h"
|
||||
#include "nsDocShellLoadState.h"
|
||||
#include "nsIHttpChannel.h"
|
||||
#include "nsSHEntryShared.h"
|
||||
#include "nsSHistory.h"
|
||||
#include "nsStructuredCloneContainer.h"
|
||||
#include "nsXULAppAPI.h"
|
||||
#include "mozilla/PresState.h"
|
||||
#include "mozilla/Tuple.h"
|
||||
#include "mozilla/dom/CSPMessageUtils.h"
|
||||
#include "mozilla/dom/DOMTypes.h"
|
||||
#include "mozilla/dom/nsCSPContext.h"
|
||||
#include "mozilla/dom/PermissionMessageUtils.h"
|
||||
#include "mozilla/dom/ReferrerInfoUtils.h"
|
||||
#include "mozilla/ipc/IPDLParamTraits.h"
|
||||
#include "mozilla/ipc/ProtocolUtils.h"
|
||||
#include "mozilla/ipc/URIUtils.h"
|
||||
|
||||
extern mozilla::LazyLogModule gSHLog;
|
||||
|
@ -21,6 +21,11 @@ class nsIReferrerInfo;
|
||||
class nsISHistory;
|
||||
class nsIURI;
|
||||
|
||||
namespace mozilla::ipc {
|
||||
template <typename P>
|
||||
struct IPDLParamTraits;
|
||||
}
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
|
@ -22,9 +22,11 @@
|
||||
class nsSHEntry;
|
||||
class nsISHEntry;
|
||||
class nsISHistory;
|
||||
class nsIContentSecurityPolicy;
|
||||
class nsIContentViewer;
|
||||
class nsIDocShellTreeItem;
|
||||
class nsILayoutHistoryState;
|
||||
class nsIPrincipal;
|
||||
class nsDocShellEditorData;
|
||||
class nsIMutableArray;
|
||||
class nsSHistory;
|
||||
|
Loading…
Reference in New Issue
Block a user