Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Private Attributes
nsSimplePopupBlocker Class Reference
Inheritance diagram for nsSimplePopupBlocker:
Inheritance graph
[legend]
Collaboration diagram for nsSimplePopupBlocker:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSIPOPUPWINDOWMANAGER 
nsSimplePopupBlocker ()
virtual ~nsSimplePopupBlocker ()
PRUint32 testPermission (in nsIURI uri)
 Test whether a website has permission to show a popup window.

Public Attributes

const PRUint32 ALLOW_POPUP = 1
 These values are returned by the testPermission method.
const PRUint32 DENY_POPUP = 2
const PRUint32 ALLOW_POPUP_WITH_PREJUDICE = 3

Private Attributes

PRUint32 mPolicy

Detailed Description

Definition at line 50 of file nsSimplePopupBlocker.cpp.


Constructor & Destructor Documentation

Definition at line 63 of file nsSimplePopupBlocker.cpp.

Definition at line 68 of file nsSimplePopupBlocker.cpp.

{
}

Member Function Documentation

Test whether a website has permission to show a popup window.

Parameters:
uriis the URI to be tested
Returns:
one of the enumerated permission actions defined above

Member Data Documentation

These values are returned by the testPermission method.

Definition at line 53 of file nsIPopupWindowManager.idl.

Definition at line 55 of file nsIPopupWindowManager.idl.

Definition at line 54 of file nsIPopupWindowManager.idl.

Definition at line 60 of file nsSimplePopupBlocker.cpp.


The documentation for this class was generated from the following file: