Scott Lanning > Mozilla-DOM > Mozilla::DOM::WebBrowser

Download:
Mozilla-DOM-0.23.tar.gz

Annotate this POD

CPAN RT

New  2
Open  5
View/Report Bugs
Source  

NAME ^

Mozilla::DOM::WebBrowser

Mozilla::DOM::WebBrowser is a wrapper around an instance of Mozilla's nsIWebBrowser interface. This class inherits from Supports.

 * The nsIWebBrowser interface is implemented by web browser objects.
 * Embedders use this interface during initialisation to associate
 * the new web browser instance with the embedders chrome and
 * to register any listeners. The interface may also be used at runtime
 * to obtain the content DOM window and from that the rest of the DOM.

Note: currently only the GetContentDOMWindow method is wrapped.

CLASS METHODS ^

$iid = Mozilla::DOM::WebBrowser->GetIID()

Pass this to QueryInterface.

METHODS ^

$window = $browser->GetContentDOMWindow

Gets the top-level DOM Window. The embedder may walk the entire DOM starting from this value.

SEE ALSO ^

Mozilla::DOM

COPYRIGHT ^

Copyright (C) 2005-2007, Scott Lanning

This software is licensed under the LGPL. See Mozilla::DOM for a full notice.

syntax highlighting: