41 #ifndef nsSystemTrayIconBase_h__
42 #define nsSystemTrayIconBase_h__
44 #include "nsISupports.h"
45 #include "nsIDOMEventTarget.h"
48 #include "imgIDecoderObserver.h"
49 #include "imgIRequest.h"
53 class nsIDOMEventTarget;
59 NS_DECL_IMGIDECODEROBSERVER
60 NS_DECL_IMGICONTAINEROBSERVER
74 void DispatchEvent(
const nsAString& aType, PRUint16 aButton, PRInt32 aDetail,
75 PRBool aCtrlKey, PRBool aAltKey,
76 PRBool aShiftKey, PRBool aMetaKey);
void DispatchEvent(const nsAString &aType, PRUint16 aButton, PRInt32 aDetail, PRBool aCtrlKey, PRBool aAltKey, PRBool aShiftKey, PRBool aMetaKey)
nsCOMPtr< imgIRequest > mRequest
virtual nsPoint GetPopupPosition()=0
nsCOMPtr< nsIDOMEventTarget > mEventTarget
nsresult SetEventTarget(nsIDOMEventTarget *aEventTarget)
nsresult SetImageFromURI(nsIURI *aURI)