Readonly
applicationReadonly
hasWhether the hidden window has been lazily created.
Readonly
hiddenDOMWindowReturn the (singleton) application hidden window, automatically created and maintained by this AppShellService.
the hidden window. Do not unhide hidden window. Do not taunt hidden window.
Readonly
hiddenReturn the (singleton) application hidden window, automatically created and maintained by this AppShellService.
the hidden window. Do not unhide hidden window. Do not taunt hidden window.
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.
This is the constructor for creating an invisible DocShell. It is used to simulate DOM windows without an actual physical representation.
Set true if you want to use it for chrome content.
Used to specify chrome flags that should be set on the window. See nsIWebBrowserChrome for flag definitions.
Add a window to the application's registry of windows. These windows are generally shown in the Windows taskbar, and the application knows it can't quit until it's out of registered windows.
When this method is successful, it fires the global notification "xul-window-registered"
the window to register
B2G multi-screen support. When open another top-level window on b2g, a screen ID is needed for identifying which screen this window is opened to.
Differentiate screens of windows. It is platform- specific due to the hardware limitation for now.
Remove a window from the application's window registry. Note that this method won't automatically attempt to quit the app when the last window is unregistered. For that, see Quit().
you see the pattern
Generated using TypeDoc
Return true if the application hidden window was provided by the application. If it wasn't, the default hidden window was used. This will usually be false on all non-mac platforms.