Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Gecko Embedding API Reference

Public Interfaces

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

nsIInterfaceRequestor

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

nsIWeakReference

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

nsISimpleEmunerator

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

nsIServiceManager

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

nsIShutdownListener

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

nsIComponentManager

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

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

nsIMemory

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

nsIDOMWindow

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

nsIBaseWindow

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

nsIRequest

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

nsIWebBrowser

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

nsIWebBrowserSetup

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

nsIWebBrowserChrome

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

nsIWebNavigation

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

nsIWebBrowserPersist

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

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

nsIWebBrowserFind

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

nsIWebBrowserFocus

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

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).

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).

nsIPrompt

nsIPrefs

nsIProfile

The nsIProfile interface provides access to the Profile Manager, which lets you create and manage user profiles.

Note: This interface is obsolete; use nsIToolkitProfileService instead.

nsIDirectoryServiceProvider

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

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.

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.

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.

nsISelection

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

nsIURILoader

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

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.

Document Tags and Contributors

 Contributors to this page: teoli, alispivak, Sheppy, kohei.yoshino, DigDug
 Last updated by: alispivak,