27 #ifndef __SB_REMOTE_SECURITY_EVENT_H__
28 #define __SB_REMOTE_SECURITY_EVENT_H__
32 #include <sbISecurityMixin.h>
33 #include <sbISecurityAggregator.h>
34 #include <sbIRemoteSecurityEvent.h>
36 #include <nsIClassInfo.h>
37 #include <nsIDOMEvent.h>
38 #include <nsIDOMEventTarget.h>
39 #include <nsIDOMNSEvent.h>
40 #include <nsIPrivateDOMEvent.h>
41 #include <nsISecurityCheckedComponent.h>
42 #include <nsStringGlue.h>
45 #define SONGBIRD_SECURITYEVENT_CONTRACTID \
46 "@songbirdnest.com/remoteapi/security-event;1"
47 #define SONGBIRD_SECURITYEVENT_CLASSNAME \
48 "Songbird Remote Security Event"
49 #define SONGBIRD_SECURITYEVENT_CID \
54 { 0xa7, 0x4b, 0xa3, 0x19, 0x9a, 0x3e, 0x8c, 0x43 } \
66 public nsIPrivateDOMEvent,
72 NS_DECL_SBISECURITYAGGREGATOR
73 NS_DECL_SBIREMOTESECURITYEVENT
74 NS_DECL_SBIMUTABLEREMOTESECURITYEVENT
83 NS_IMETHOD
SetTarget(nsIDOMEventTarget* aTarget);
NS_IMETHOD InitEvent(nsIDOMEvent *, nsIURI *, const nsAString &, const nsAString &, PRBool)
NS_IMETHOD DuplicatePrivateData()
NS_IMETHOD SetTarget(nsIDOMEventTarget *aTarget)
nsISecurityCheckedComponent
NS_IMETHOD SetTrusted(PRBool aTrusted)
nsCOMPtr< nsISecurityCheckedComponent > mSecurityMixin
NS_FORWARD_SAFE_NSISECURITYCHECKEDCOMPONENT(mSecurityMixin)
nsCOMPtr< nsIDOMNSEvent > mNSEvent
A marker interface for objects that aggregate the security mixin.
NS_FORWARD_SAFE_NSIDOMEVENT(mEvent)
NS_FORWARD_SAFE_NSIDOMNSEVENT(mNSEvent)
#define SB_DECL_SECURITYCHECKEDCOMP_INIT
An interface to maintain information about the last security event that occurred. ...
nsCOMPtr< nsIDOMEvent > mEvent
NS_IMETHOD_(PRBool) IsDispatchStopped()
nsCOMPtr< nsIURI > mScopeURI