nsIWebBrowserChrome corresponds to the top-level, outermost window
containing an embedded Gecko web browser.
Called when the status text in the chrome needs to be updated.
statusType | indicates what is setting the text |
status | status string. null is an acceptable value meaning no status. |
Asks the implementer to destroy the window associated with this
WebBrowser object.
Tells the chrome to size itself such that the browser will be the
specified size.
aCX | new width of the browser |
aCY | new height of the browser |
Shows the window as a modal window.
(the function error code) the status value specified by in exitModalEventLoop. |
Is the window modal (that is, currently executing a modal loop)?
true if it's a modal window |
Exit a modal event loop if we’re in one. The implementation
should also exit out of the loop if the window is destroyed.
aStatus | - the result code to return from showAsModal |
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.
The chrome flags for this browser chrome. The implementation should
reflect the value of this attribute by hiding or showing its chrome
appropriately.
Definitions for the chrome flags