Readonly
siteNative window for the site's window. The implementor should copy the native window object into the address supplied by the caller. The type of the native window that the address refers to is platform and OS specific as follows:
HWND
.WindowPtr
.GtkWidget*
.Title of the window.
Visibility of the 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.
Gets the dimensions of the window. The caller may pass
nullptr
for any value it is uninterested in receiving.
Combination of position, inner and outer size flag .
Left hand corner of the outer area; or nullptr
.
Top corner of the outer area; or nullptr
.
Width of the inner or outer area; or nullptr
.
Height of the inner or outer area; or nullptr
.
Sets the dimensions for the window; the position & size. The flags to indicate what the caller wants to set and whether the size refers to the inner or outer area. The inner area refers to just the embedded area, wheras the outer area can also include any surrounding chrome, window frame, title bar, and so on.
NS_OK
if operation was performed correctly;
NS_ERROR_UNEXPECTED
if window could not be
destroyed;
NS_ERROR_INVALID_ARG
for bad flag combination
or illegal dimensions.
Combination of position, inner and outer size flags. The ignore flags are telling the parent to use the current values for those dimensions and ignore the corresponding parameters the child sends.
Left hand corner of the outer area.
Top corner of the outer area.
Width of the inner or outer area.
Height of the inner or outer area.
Generated using TypeDoc
The nsIEmbeddingSiteWindow is implemented by the embedder to provide Gecko with the means to call up to the host to resize the window, hide or show it and set/get its title.