summaryrefslogtreecommitdiffstats
path: root/dom/ipc/BrowserChild.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
commitda4c7e7ed675c3bf405668739c3012d140856109 (patch)
treecdd868dba063fecba609a1d819de271f0d51b23e /dom/ipc/BrowserChild.h
parentAdding upstream version 125.0.3. (diff)
downloadfirefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz
firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/ipc/BrowserChild.h')
-rw-r--r--dom/ipc/BrowserChild.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/dom/ipc/BrowserChild.h b/dom/ipc/BrowserChild.h
index ddbf8f0b74..90cb712476 100644
--- a/dom/ipc/BrowserChild.h
+++ b/dom/ipc/BrowserChild.h
@@ -507,7 +507,15 @@ class BrowserChild final : public nsMessageManagerScriptExecutor,
mozilla::ipc::IPCResult RecvExitPrintPreview();
MOZ_CAN_RUN_SCRIPT_BOUNDARY mozilla::ipc::IPCResult RecvPrint(
- const MaybeDiscardedBrowsingContext&, const PrintData&);
+ const MaybeDiscardedBrowsingContext&, const PrintData&, bool,
+ PrintResolver&&);
+
+ MOZ_CAN_RUN_SCRIPT_BOUNDARY mozilla::ipc::IPCResult RecvPrintClonedPage(
+ const MaybeDiscardedBrowsingContext&, const PrintData&,
+ const MaybeDiscardedBrowsingContext&);
+
+ mozilla::ipc::IPCResult RecvDestroyPrintClone(
+ const MaybeDiscardedBrowsingContext&);
mozilla::ipc::IPCResult RecvUpdateNativeWindowHandle(
const uintptr_t& aNewHandle);
@@ -712,6 +720,11 @@ class BrowserChild final : public nsMessageManagerScriptExecutor,
void InternalSetDocShellIsActive(bool aIsActive);
+ MOZ_CAN_RUN_SCRIPT
+ mozilla::ipc::IPCResult CommonPrint(
+ const MaybeDiscardedBrowsingContext& aBc, const PrintData& aPrintData,
+ RefPtr<BrowsingContext>* aCachedBrowsingContext);
+
bool CreateRemoteLayerManager(
mozilla::layers::PCompositorBridgeChild* aCompositorChild);