nsIWebBrowserChrome corresponds to the top-level, outermost window containing an embedded Gecko web browser. @status FROZEN
[scriptable, uuid(ba434c60-9d52-11d3-afb0-00a024ffc08c)]
Constants
Attributes
The chrome flags for this browser chrome. The implementation should reflect the value of this attribute by hiding or showing its chrome appropriately.
The currently loaded WebBrowser. The browser chrome may be told to set the WebBrowser object to a new object by setting this attribute. In this case the implementer is responsible for taking the new WebBrowser object and doing any necessary initialization or setup as if it had created the WebBrowser itself. This includes positioning setting up listeners etc.
Methods
Asks the implementer to destroy the window associated with this WebBrowser object.
Exit a modal event loop if we're in one. The implementation should also exit out of the loop if the window is destroyed. @param aStatus - the result code to return from showAsModal
Is the window modal (that is, currently executing a modal loop)? @return true if it's a modal window
Called when the status text in the chrome needs to be updated.
@param statusType indicates what is setting the text
@param status status string. null is an acceptable value meaning
no status.
Shows the window as a modal window.
@return (the function error code) the status value specified by
in exitModalEventLoop.
