Bug 1717224 [wpt PR 29434] - Make the Referrer-Policy tests allow further truncated...
[gecko.git] / widget / nsIPrintSession.idl
blob778fdbf1ce303f88f322009f6375b78d00b71d4c
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include "nsISupports.idl"
8 /**
9 * nsIPrintSession
11 * Stores data pertaining only to a single print job. This
12 * differs from nsIPrintSettings, which stores data which may
13 * be valid across a number of jobs.
15 * The creation of a component which implements this interface
16 * will begin the session. Likewise, destruction of that object
17 * will end the session.
19 * @status
22 %{ C++
23 namespace mozilla {
24 namespace layout {
25 class RemotePrintJobChild;
30 [ptr] native RemotePrintJobChildPtr(mozilla::layout::RemotePrintJobChild);
32 [uuid(424ae4bb-10ca-4f35-b84e-eab893322df4)]
33 interface nsIPrintSession : nsISupports
35 /**
36 * The remote print job is used for printing via the parent process.
38 [notxpcom, nostdcall] attribute RemotePrintJobChildPtr remotePrintJob;