Define new SecurityWarningDialogs interface

This commit is contained in:
thayes%netscape.com 2001-02-14 19:58:21 +00:00
Родитель 0dbaa4f83f
Коммит 5da8e807fe
1 изменённых файлов: 36 добавлений и 1 удалений

Просмотреть файл

@ -26,7 +26,7 @@ interface nsIInterfaceRequestor;
/**
* nsITokenPasswordDialogs
* This is the interface for setting and changin password
* This is the interface for setting and changing password
* on a PKCS11 token.
*/
[scriptable, uuid(be26b580-1dd1-11b2-9946-c598d0d07727)]
@ -58,6 +58,41 @@ interface nsINSSDialogs : nsISupports
*/
};
/**
* nsISecurityWarningDialogs - functions that
* display warnings for transitions between secure
* and insecure pages, posts to insecure servers etc.
*/
[scriptable, uuid(1c399d06-1dd2-11b2-bc58-c87cbcacdb78)]
interface nsISecurityWarningDialogs : nsISupports
{
/**
* alertEnteringSecure
*/
void alertEnteringSecure(in nsIInterfaceRequestor ctx);
/**
* alertLeavingSecure
*/
void alertLeavingSecure(in nsIInterfaceRequestor ctx);
/**
* alertMixedMode
*/
void alertMixedMode(in nsIInterfaceRequestor ctx);
/**
* confirmPostToInsecure
*/
boolean confirmPostToInsecure(in nsIInterfaceRequestor ctx);
/**
* confirmPostToInsecureFromSecure
*/
boolean confirmPostToInsecureFromSecure(in nsIInterfaceRequestor ctx);
};
/**
* NS_NSSDIALOGS_CONTRACTID - contract id of a service that
* implements nsINSSDialogs (and possibly other interfaces)