nsIBrowserDOMWindow
IID: | af25c296-aaec-4f7f-8885-dd37a1cc0a13 |
Inherits From: | nsISupports |
The C++ source has access to the browser script source through nsIBrowserWindow. It is intended to be attached to the chrome DOMWindow of a browser 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.
nsIDOMWindow openURI ( nsIURI URI , nsIDOMWindow opener , PRInt16 where , PRInt16 context )
Load a URI
- Arguments:
- URI: the URI to open. null is allowed; it means about:blank.
- 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.