Readonly
docReadonly
initialIf the window was opened as a content window, this will return the initial nsIOpenWindowInfo to use.
Indicates if this window is instrinsically sized.
Readonly
outerReturns the difference between the inner window size (client size) and the outer window size, in CSS pixels.
Readonly
outerReadonly
primaryHelper for getting the BrowsingContext from either primaryContentShell
or
primaryRemoteTab
depending on which is available.
Readonly
primaryThe primary content shell.
Note that this is a docshell tree item and therefore can not be assured of what object it is. It could be an editor, a docshell, or a browser object. Or down the road any other object that supports being a DocShellTreeItem Query accordingly to determine the capabilities.
Readonly
primaryIn multiprocess case we may not have primaryContentShell but primaryRemoteTab.
Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Back-door method to make sure some stuff is done when the document is ready for layout, that would cause expensive computation otherwise later.
Do NOT call this unless you know what you're doing! In particular, calling this when this XUL window doesn't yet have a document in its docshell could cause problems.
Move the window to a centered position.
If not null, the window relative to which the window is moved. See aScreen parameter for details.
PR_TRUE to center the window relative to the screen containing aRelative if aRelative is not null. If aRelative is null then relative to the screen of the opener window if it was initialized by passing it to nsWebShellWindow::Initialize. Failing that relative to the main screen. PR_FALSE to center it relative to aRelative itself.
PR_TRUE to move the window to an alert position, generally centered horizontally and 1/3 down from the top.
Create a new window.
the newly minted window
see nsIWebBrowserChrome
information about the request for a content window to be opened. Will be null for non-content loads.
Generated using TypeDoc
The docshell owning the XUL for this window.