Interface nsIWebBrowserChromeType

nsIWebBrowserChrome corresponds to the top-level, outermost window containing an embedded Gecko web browser.

Hierarchy

Properties

chromeFlags: number

The chrome flags for this browser chrome. The implementation should reflect the value of this attribute by hiding or showing its chrome appropriately.

Methods

  • Increases the reference count for this interface. The associated instance will not be deleted unless the reference count is returned to zero.

    Returns

    The resulting reference count.

    Returns number

  • Parameters

    • aIID: object
    • Optional aInstancePtr: object

    Returns any

  • A run time mechanism for interface discovery.

    Returns

    NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.

    aInstancePtr must not be null.

    Parameters

    • aIID: object

      [in] A requested interface IID

    • aInstancePtr: object

      [out] A pointer to an interface pointer to receive the result.

    Returns void

  • Decreases the reference count for this interface. Generally, if the reference count returns to zero, the associated instance is deleted.

    Returns

    The resulting reference count.

    Returns number

  • Blur the window. This should unfocus the window and send an onblur event.

    Returns void

  • Gets the dimensions of the window. The caller may pass nullptr for any value it is uninterested in receiving.

    Gets called as fallback when no nsIBaseWindow is available.

    See

    nsIBaseWindow

    Parameters

    • aDimensionKind: DimensionKind
    • aX: number
    • aY: number
    • aCX: number
    • aCY: number

    Returns void

  • Is the window modal (that is, currently executing a modal loop)?

    Returns

    true if it's a modal window

    Returns boolean

  • Allows to request the change of individual dimensions of a window without specifying all dimensions.

    Gets called as fallback when no nsIBaseWindow is available.

    See

    nsIBaseWindow

    Parameters

    • aRequest: DimensionRequest

    Returns void

  • Called when the link hover status is being changed.

    Parameters

    • status: string

      status string. empty string is an acceptable value meaning no link is hovered.

    Returns void

  • Shows the window as a modal window.

    Returns void

Generated using TypeDoc