Visit Mozilla.org

Gecko Embedding API Reference

From MDC

Contents

[edit] Public Interfaces

[edit] nsISupports

Base Component Object Model interface. This interface provides runtime interface discovery and a reference counted memory model fashioned after the Microsoft COM IUnknown interface. Interface status... none Interface definition: nsISupportsUtils.h

[edit] nsIInterfaceRequestor

This Interface provides an interface discovery mechanism which does not imply aggregation. Interface status... none Interface definition: nsIInterfaceRequestor.idl

[edit] nsIWeakReference

This interface is used to retern a proxy reference to a component. Interface status... complete Interface definition: nsIWeakReference.idl

[edit] nsISimpleEmunerator

This interface provides a simple enumeration abstraction. Interface status... complete Interface definition: nsISimpleEnumerator.idl

[edit] nsIServiceManager

This interface allows access to global services within mozilla. Interface status... none Interface definition: nsIServiceManager.h

[edit] nsIShutdownListener

This interface is used to receive notifications when the Service Manager is being shutdown. Interface status... none Interface definition: nsIServiceManager.h

[edit] nsIComponentManager

This interface allows new instances of registered XPCOM components to be instantiated. Interface status... none Interface definition: nsIComponentManager.idl
[1]

[edit] nsIFactory

This interface is used by the Component Manager to create new instances of a particular XPCOM component. Each component must provide a factory implementation for creating new instances. Interface status... none Interface definition: nsIFactory.idl
[2]

[edit] nsIMemory

This interface provides access to the global memory management functionality. Interface status: being reviewed Interface definition: nsIMemory.idl

[edit] nsIDOMWindow

This interface is used to represent the window containing a specific document. Interface status... being reviewed Interface definition: nsIDOMWindow.idl

[edit] nsIBaseWindow

This interface provides access to various window operations. Interface status... being reviewed Interface definition: nsIBaseWindow.idl

[edit] nsIRequest

This interface provides a means to control various operations. Interface status... complete Interface definition: nsIRequest.idl

[edit] nsIWebBrowser

This is the primary interface to the WebBrowser component Interface status... complete Interface definition: nsIWebBrowser.idl

[edit] nsIWebBrowserSetup

This interface is used to enable or disable various capabilities of a nsWebBrowser instance. Interface status... complete Interface definition: nsIWebBrowserSetup.idl

[edit] nsIWebBrowserChrome

This interface provides access to the window containing an nsWebBrowser instance. Interface status... being reviewed Interface definition: nsIWebBrowserChrome.idl

[edit] nsIWebNavigation

This interface exposes the web navigation functionality of the nsWebBrowser component. Interface status... being reviewed Interface definition: nsIWebNavigation.idl

[edit] nsIWebBrowserPersist

This interface exposes the save-as functionality of the nsWebBrowser component. Interface status... being reviewed Interface definition: nsIWebBrowserPersist.idl
[3]

[edit] nsIWebBrowserPrint

This interface allows printing of individual (or a collection of) DOM Windows within a nsWebBrowser component. Interface status: being reviewed Interfaced definition: nsIWebBrowserPrint.idl
[4]

[edit] nsIWebBrowserFind

This interface exposes the searching capabilities of the nsWebBrowser component. Interface status: none Interface definition: nsIWebBrowserFind.idl

[edit] nsIWebBrowserFocus

This interface provides access to the focus information of a nsWebBrowser instance. Interface status: being reviewed Interface definition: nsIWebBrowserFocus.idl

[edit] nsIWebProgress

The nsIWebProgress interface is used to add or remove nsIWebProgressListener instances to observe the loading of asynchronous requests (usually in the context of a DOM window).

[edit] nsIWebProgressListener

The nsIWebProgress interface is used to add or remove nsIWebProgressListener instances to observe the loading of asynchronous requests (usually in the context of a DOM window).

[edit] nsIPrompt

[edit] nsIPrefs

[edit] nsIProfile

[edit] nsIDirectoryServiceProvider

The nsIDirectoryServiceProvider interface is used by the Directory Service to get file locations.

[edit] nsILocalFile

The nsILocalFile interface represents a file or directory location in a platform-independent manner that is accessible on the local filesystem. It extends nsIFile.

[edit] nsIFile

This interface is the only correct cross-platform way to specify a file. Strings are not such a way. Despite the fact that they work on Windows or Unix, they will not work here.

[edit] nsIClipboardCommands

An interface for embedding clients who wish to interact with the system-wide OS clipboard. Mozilla does not use a private clipboard, instead it places its data directly onto the system clipboard. The webshell implements this interface.

[edit] nsISelection

Interface for manipulating and querying the current selected range of nodes within the document.

[edit] nsIURILoader

The uri dispatcher is responsible for taking uri's, determining the content and routing the opened url to the correct content handler.

[edit] nsIURIContentListener

nsIURIContentListener is an interface used by components which want to know (and have a chance to handle) a particular content type. Typical usage scenarios will include running applications which register a nsIURIContentListener for each of its content windows with the uri dispatcher service.