widget/nsIPrintSession.idl
author David Keeler <dkeeler@mozilla.com>
Fri, 22 Jul 2016 10:31:34 -0700
changeset 346418 d09b4de9752798fb3517826a7ef77bc6cb33761b
parent 313616 cf0cb2ca72fe9e14c7e7cc294e612a42e0038d0b
child 503591 f50e3a884aa8bfc672952a93cbafe02f376292bd
permissions -rw-r--r--
backout changeset 1a1d7ef3cb0e (bug 1279479) for causing WebRTC compatibility issues The WebRTC implementation inherits cipher suite preferences from PSM and then enables a few mandatory ones and disables a number of undesirable ones. If PSM makes a change to a cipher suite preference that isn't in WebRTC's whitelist or blacklist, compatibility issues can arise. See bug 1288246 for an example.

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsISupports.idl"

/**
 * nsIPrintSession
 *
 * Stores data pertaining only to a single print job. This
 * differs from nsIPrintSettings, which stores data which may
 * be valid across a number of jobs.
 *
 * The creation of a component which implements this interface
 * will begin the session. Likewise, destruction of that object
 * will end the session.
 * 
 * @status
 */

%{ C++
namespace mozilla {
namespace layout {
class RemotePrintJobChild;
}
}
%}

[ptr] native RemotePrintJobChildPtr(mozilla::layout::RemotePrintJobChild);

[uuid(424ae4bb-10ca-4f35-b84e-eab893322df4)]

interface nsIPrintSession : nsISupports
{
  /**
   * The remote print job is used for printing via the parent process.
   */
  [noscript] attribute RemotePrintJobChildPtr remotePrintJob;
};