sbRemoteSecurityEvent Class Reference

#include <sbRemoteSecurityEvent.h>

Inheritance diagram for sbRemoteSecurityEvent:
[legend]
Collaboration diagram for sbRemoteSecurityEvent:
[legend]

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSICLASSINFO
NS_DECL_SBISECURITYAGGREGATOR
NS_DECL_SBIREMOTESECURITYEVENT
virtual
NS_DECL_SBIMUTABLEREMOTESECURITYEVENT
nsresult 
Init ()
 
 NS_FORWARD_SAFE_NSISECURITYCHECKEDCOMPONENT (mSecurityMixin)
 
 NS_FORWARD_SAFE_NSIDOMEVENT (mEvent)
 
 NS_FORWARD_SAFE_NSIDOMNSEVENT (mNSEvent)
 
NS_IMETHOD DuplicatePrivateData ()
 
NS_IMETHOD SetTarget (nsIDOMEventTarget *aTarget)
 
 NS_IMETHOD_ (PRBool) IsDispatchStopped()
 
 NS_IMETHOD_ (nsEvent *) GetInternalNSEvent()
 
NS_IMETHOD SetTrusted (PRBool aTrusted)
 
 sbRemoteSecurityEvent ()
 
 ~sbRemoteSecurityEvent ()
 
NS_IMETHOD InitEvent (nsIDOMEvent *, nsIURI *, const nsAString &, const nsAString &, PRBool)
 
- Public Member Functions inherited from sbIMutableRemoteSecurityEvent
void initSecurityEvent (in nsIDOMDocument aDoc, in nsIURI aSiteScope, in AString aCategory, in AString aCategoryID, in boolean aHasAccess)
 

Protected Attributes

nsCOMPtr
< nsISecurityCheckedComponent
mSecurityMixin
 
nsCOMPtr< nsIDOMEventmEvent
 
nsCOMPtr< nsIDOMNSEvent > mNSEvent
 
nsCOMPtr< nsIURI > mScopeURI
 
PRBool mHasAccess
 
nsString mCategory
 
nsString mCategoryID
 

Additional Inherited Members

- Public Attributes inherited from sbISecurityAggregator
readonly attribute sbIRemotePlayer remotePlayer
 
- Public Attributes inherited from sbIRemoteSecurityEvent
readonly attribute nsIURI siteScope
 
readonly attribute AString category
 
readonly attribute AString categoryID
 
readonly attribute boolean hasAccess
 

Detailed Description

Definition at line 60 of file sbRemoteSecurityEvent.h.

Constructor & Destructor Documentation

sbRemoteSecurityEvent::sbRemoteSecurityEvent ( )

Definition at line 98 of file sbRemoteSecurityEvent.cpp.

sbRemoteSecurityEvent::~sbRemoteSecurityEvent ( )

Definition at line 110 of file sbRemoteSecurityEvent.cpp.

Member Function Documentation

NS_IMETHOD sbRemoteSecurityEvent::DuplicatePrivateData ( )

nsIPrivateDOMEvent - this is non-XPCOM so no forward macro

sbIRemoteSecurityEvent nsresult sbRemoteSecurityEvent::Init ( )
virtual

Definition at line 96 of file sbRemoteSecurityEvent.cpp.

NS_IMETHODIMP sbRemoteSecurityEvent::InitEvent ( nsIDOMEvent aEvent,
nsIURI *  aScopeURI,
const nsAString &  aSecurityCategory,
const nsAString &  aSecurityCategoryID,
PRBool  aHasAccessToCategory 
)

Definition at line 133 of file sbRemoteSecurityEvent.cpp.

sbRemoteSecurityEvent::NS_FORWARD_SAFE_NSIDOMEVENT ( mEvent  )
sbRemoteSecurityEvent::NS_FORWARD_SAFE_NSIDOMNSEVENT ( mNSEvent  )
sbRemoteSecurityEvent::NS_FORWARD_SAFE_NSISECURITYCHECKEDCOMPONENT ( mSecurityMixin  )
sbRemoteSecurityEvent::NS_IMETHOD_ ( PRBool  )
sbRemoteSecurityEvent::NS_IMETHOD_ ( nsEvent *  )
NS_IMETHOD sbRemoteSecurityEvent::SetTarget ( nsIDOMEventTarget *  aTarget)
NS_IMETHOD sbRemoteSecurityEvent::SetTrusted ( PRBool  aTrusted)

Member Data Documentation

nsString sbRemoteSecurityEvent::mCategory
protected

Definition at line 107 of file sbRemoteSecurityEvent.h.

nsString sbRemoteSecurityEvent::mCategoryID
protected

Definition at line 108 of file sbRemoteSecurityEvent.h.

nsCOMPtr<nsIDOMEvent> sbRemoteSecurityEvent::mEvent
protected

Definition at line 101 of file sbRemoteSecurityEvent.h.

PRBool sbRemoteSecurityEvent::mHasAccess
protected

Definition at line 106 of file sbRemoteSecurityEvent.h.

nsCOMPtr<nsIDOMNSEvent> sbRemoteSecurityEvent::mNSEvent
protected

Definition at line 102 of file sbRemoteSecurityEvent.h.

nsCOMPtr<nsIURI> sbRemoteSecurityEvent::mScopeURI
protected

Definition at line 105 of file sbRemoteSecurityEvent.h.

nsCOMPtr<nsISecurityCheckedComponent> sbRemoteSecurityEvent::mSecurityMixin
protected

Definition at line 99 of file sbRemoteSecurityEvent.h.


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