summaryrefslogtreecommitdiffstats
path: root/dom/ipc/ContentParent.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/ipc/ContentParent.h')
-rw-r--r--dom/ipc/ContentParent.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/dom/ipc/ContentParent.h b/dom/ipc/ContentParent.h
index 15139a93f1..31cfa6de88 100644
--- a/dom/ipc/ContentParent.h
+++ b/dom/ipc/ContentParent.h
@@ -50,8 +50,6 @@
#include "DriverCrashGuard.h"
#include "nsIReferrerInfo.h"
-#define CHILD_PROCESS_SHUTDOWN_MESSAGE u"child-process-shutdown"_ns
-
class nsConsoleService;
class nsIContentProcessInfo;
class nsICycleCollectorLogSink;
@@ -551,12 +549,12 @@ class ContentParent final : public PContentParent,
void SetMainThreadQoSPriority(nsIThread::QoSPriority aQoSPriority);
// This function is called when we are about to load a document from an
- // HTTP(S) or FTP channel for a content process. It is a useful place
+ // HTTP(S) channel for a content process. It is a useful place
// to start to kick off work as early as possible in response to such
// document loads.
// aShouldWaitForPermissionCookieUpdate is set to true if main thread IPCs for
// updating permissions/cookies are sent.
- nsresult AboutToLoadHttpFtpDocumentForChild(
+ nsresult AboutToLoadHttpDocumentForChild(
nsIChannel* aChannel,
bool* aShouldWaitForPermissionCookieUpdate = nullptr);
@@ -618,7 +616,8 @@ class ContentParent final : public PContentParent,
uint64_t aActionId);
mozilla::ipc::IPCResult RecvAdjustWindowFocus(
const MaybeDiscarded<BrowsingContext>& aContext, bool aIsVisible,
- uint64_t aActionId);
+ uint64_t aActionId, bool aShouldClearFocus,
+ const MaybeDiscarded<BrowsingContext>& aAncestorBrowsingContextToFocus);
mozilla::ipc::IPCResult RecvClearFocus(
const MaybeDiscarded<BrowsingContext>& aContext);
mozilla::ipc::IPCResult RecvSetFocusedBrowsingContext(