Public Member Functions

amIWebInstallPrompt Interface Reference

amIWebInstallPrompt is used, if available, by the default implementation of amIWebInstallInfo to display a confirmation UI to the user before running installs. More...

import "amIWebInstallListener.idl";

List of all members.

Public Member Functions

NS_SCRIPTABLE NS_IMETHOD Confirm (nsIDOMWindowInternal *aWindow, nsIURI *aUri, nsIVariant **aInstalls, PRUint32 aCount)=0
 Get a confirmation that the user wants to start the installs.
void confirm (in nsIDOMWindowInternal aWindow, in nsIURI aUri,[array, size_is(aCount)] in nsIVariant aInstalls,[optional] in PRUint32 aCount)
 Get a confirmation that the user wants to start the installs.

Detailed Description

amIWebInstallPrompt is used, if available, by the default implementation of amIWebInstallInfo to display a confirmation UI to the user before running installs.


Member Function Documentation

NS_SCRIPTABLE NS_IMETHOD amIWebInstallPrompt::Confirm ( nsIDOMWindowInternal aWindow,
nsIURI aUri,
nsIVariant **  aInstalls,
PRUint32  aCount 
) [pure virtual]

Get a confirmation that the user wants to start the installs.

Parameters:
aWindow The window that triggered the installs
aUri The URI of the site that triggered the installs
aInstalls The AddonInstalls that were requested
aCount The number of AddonInstalls
void amIWebInstallPrompt::confirm ( in nsIDOMWindowInternal  aWindow,
in nsIURI  aUri,
[array, size_is(aCount)] in nsIVariant  aInstalls,
[optional] in PRUint32  aCount 
)

Get a confirmation that the user wants to start the installs.

Parameters:
aWindow The window that triggered the installs
aUri The URI of the site that triggered the installs
aInstalls The AddonInstalls that were requested
aCount The number of AddonInstalls

The documentation for this interface was generated from the following files: