nsIBrowserDOMWindow
| IID: | f9691a49-7fb3-4b54-bb11-a4f2e0b6eddb |
| Inherits From: | nsISupports |
The C++ source has access to the browser script source through nsIBrowserDOMWindow. It is intended to be attached to the chrome DOMWindow of a toplevel browser window (a XUL window). A DOMWindow that does not happen to be a browser chrome window will simply have no access to any such interface.
Constants
Methods
PRBool isTabContentWindow ( nsIDOMWindow window )
nsIDOMWindow openURI ( nsIURI URI , nsIDOMWindow opener , PRInt16 where , PRInt16 context )
PRBool isTabContentWindow ( nsIDOMWindow window )
- Arguments:
- window: the window to test.
- Returns:
- whether the window is the main content window for any currently open tab in this toplevel browser window.
nsIDOMWindow openURI ( nsIURI URI , nsIDOMWindow opener , PRInt16 where , PRInt16 context )
Load a URI
- Arguments:
- URI: the URI to open. null is allowed. If null is passed in, no load will be done, though the window the load would have happened in will be returned.
- opener: window requesting the open (can be null).
- where: see possible values described above.
- context: the context in which the URI is being opened. This is used only when where == OPEN_DEFAULTWINDOW.
- Returns:
- the window into which the URI was opened.
References
This interface is the type of the following properties:
nsIDOMChromeWindow.browserDOMWindow
Reference documentation is generated from Mozilla's source.
