summaryrefslogtreecommitdiffstats
path: root/dom/ipc/BrowserChild.h
diff options
context:
space:
mode:
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);