The content shell specified by the supplied id.
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.
Tell this window that it has picked up a child XUL window
aChild | the child window being added |
Tell this window that it has lost a child XUL window
aChild | the child window being removed |
Move the window to a centered position.
aRelative | If not null, the window relative to which the window is moved. See aScreen parameter for details. |
aScreen | 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. |
aAlert | PR_TRUE to move the window to an alert position, generally centered horizontally and 1/3 down from the top. |
Shows the window as a modal window. That is, ensures that it is visible
and runs a local event loop, exiting only once the window has been closed.
Begin assuming |chromeFlags| don’t change hereafter, and assert
if they do change. The state change is one-way and idempotent.
Create a new window.
aChromeFlags | see nsIWebBrowserChrome |
aOpeningTab | the TabParent that requested this new window be opened. Can be left null. |
the newly minted window |
Back-door method to force application of chrome flags at a particular
time. 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.
The docshell owning the XUL for this window.
Indicates if this window is instrinsically sized.
The 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.
contextFlags are from nsIWindowCreator2