layout/printing/nsIPrintProgress.idl

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
michael@0 2 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 5 #include "nsIWebProgressListener.idl"
michael@0 6
michael@0 7 interface nsIDOMWindow;
michael@0 8 interface nsIObserver;
michael@0 9 interface nsIPrompt;
michael@0 10
michael@0 11 [scriptable, uuid(594fd36d-5b1b-412f-a74e-ab72099a5bb2)]
michael@0 12 interface nsIPrintProgress: nsIWebProgressListener {
michael@0 13
michael@0 14 /* Open the progress dialog
michael@0 15 you can specify parameters through an xpcom object
michael@0 16 */
michael@0 17 void openProgressDialog(in nsIDOMWindow parent,
michael@0 18 in string dialogURL,
michael@0 19 in nsISupports parameters,
michael@0 20 in nsIObserver openDialogObserver,
michael@0 21 out boolean notifyOnOpen);
michael@0 22
michael@0 23 /* Close the progress dialog */
michael@0 24 void closeProgressDialog(in boolean forceClose);
michael@0 25
michael@0 26 /* Register a Web Progress Listener */
michael@0 27 void registerListener(in nsIWebProgressListener listener);
michael@0 28
michael@0 29 /* Unregister a Web Progress Listener */
michael@0 30 void unregisterListener(in nsIWebProgressListener listener);
michael@0 31
michael@0 32 /* This method is called after the dialog that shows the progress has been shown
michael@0 33 */
michael@0 34 void doneIniting();
michael@0 35
michael@0 36 /* Retrieve the prompter, needed to display modal dialog on top of progress dialog */
michael@0 37 nsIPrompt getPrompter();
michael@0 38
michael@0 39 /* Indicated if the user asked to cancel the current process */
michael@0 40 attribute boolean processCanceledByUser;
michael@0 41 };
michael@0 42
michael@0 43

mercurial