diff options
Diffstat (limited to 'toolkit/components/browser')
-rw-r--r-- | toolkit/components/browser/nsIWebBrowserChromeFocus.idl | 4 | ||||
-rw-r--r-- | toolkit/components/browser/nsIWebBrowserPrint.idl | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/toolkit/components/browser/nsIWebBrowserChromeFocus.idl b/toolkit/components/browser/nsIWebBrowserChromeFocus.idl index ee24155b51..077ce39201 100644 --- a/toolkit/components/browser/nsIWebBrowserChromeFocus.idl +++ b/toolkit/components/browser/nsIWebBrowserChromeFocus.idl @@ -21,12 +21,12 @@ interface nsIWebBrowserChromeFocus : nsISupports * focus the parent window. */ - void focusNextElement(in bool aForDocumentNavigation); + void focusNextElement(in boolean aForDocumentNavigation); /** * Set the focus at the previous focusable element in the chrome. */ - void focusPrevElement(in bool aForDocumentNavigation); + void focusPrevElement(in boolean aForDocumentNavigation); }; 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 * |