diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:42 +0000 |
commit | da4c7e7ed675c3bf405668739c3012d140856109 (patch) | |
tree | cdd868dba063fecba609a1d819de271f0d51b23e /toolkit/components/browser/nsIWebBrowserPrint.idl | |
parent | Adding upstream version 125.0.3. (diff) | |
download | firefox-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 'toolkit/components/browser/nsIWebBrowserPrint.idl')
-rw-r--r-- | toolkit/components/browser/nsIWebBrowserPrint.idl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/toolkit/components/browser/nsIWebBrowserPrint.idl b/toolkit/components/browser/nsIWebBrowserPrint.idl index 5a900b7b65..2b5d7669bc 100644 --- a/toolkit/components/browser/nsIWebBrowserPrint.idl +++ b/toolkit/components/browser/nsIWebBrowserPrint.idl @@ -30,7 +30,7 @@ native PrintPreviewResolver(std::function<void(const mozilla::dom::PrintPreviewR * nsIWebBrowserPrint corresponds to the main interface * for printing an embedded Gecko web browser window/document */ -[scriptable, uuid(c9a934ed-fff1-4971-bfba-6c25ad70e1e6)] +[scriptable, builtinclass, uuid(c9a934ed-fff1-4971-bfba-6c25ad70e1e6)] interface nsIWebBrowserPrint : nsISupports { /** @@ -85,6 +85,13 @@ interface nsIWebBrowserPrint : nsISupports */ readonly attribute long printPreviewCurrentPageNumber; + /* + * Whether the document to print needs to have its window closed after printing + * is done - see OPEN_PRINT_BROWSER and specifically handleStaticCloneCreatedForPrint(). + * This is set if the document is not a static clone. + */ + [infallible] attribute boolean closeWindowAfterPrint; + /** * Print the specified DOM window * |