Files
lazarus-ccr/components/geckoport/version2/gecko10/nsidomeventtarget.inc
loesje_ 625a4e0e99 * Begin of version 2 of the geckoport package
In this new version the gecko-interfaces are generated directly from the
   idl-files of the gecko-sdk using the idlparser utility. The generated 
   include files are kept as closely to the original as possible. For now
   by defaule Gecko 9 is used, as Gecko 10 has a bug which makes it
   impossible to embed it on Linux systems.



git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2349 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-03-17 10:50:10 +00:00

20 lines
1.2 KiB
PHP

type
nsIDOMEventTarget = interface(nsISupports)
['{1797d5a4-b12a-428d-9eef-a0e13839728c}']
procedure addEventListener(atype: DOMString; listener: nsIDOMEventListener; useCapture: longbool; wantsUntrusted: longbool); safecall;
procedure removeEventListener(atype: DOMString; listener: nsIDOMEventListener; useCapture: longbool); safecall;
function dispatchEvent(evt: nsIDOMEvent) : longbool; safecall;
function GetTargetForDOMEvent() : nsIDOMEventTarget; safecall;
function GetTargetForEventTargetChain() : nsIDOMEventTarget; safecall;
{ procedure PreHandleEvent(aVisitor: nsEventChainPreVisitorRef); safecall;
procedure WillHandleEvent(aVisitor: nsEventChainPostVisitorRef); safecall;
procedure PostHandleEvent(aVisitor: nsEventChainPostVisitorRef); safecall;
procedure DispatchDOMEvent(aEvent: nsEventPtr; aDOMEvent: nsIDOMEvent; aPresContext: nsPresContextPtr; aEventStatus: nsEventStatusPtr); safecall;
function GetListenerManager(aMayCreate: longbool) : nsEventListenerManagerPtr; safecall;
function GetContextForEventHandlers(out aRv: nsresult) : nsIScriptContext; safecall;
function GetJSContextForEventHandlers() : JSContextPtr; safecall;
}
end;