You've already forked lazarus-ccr
* Added inc header-files for all gecko-9 idl files that are different to gecko-10
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2363 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
16
components/geckoport/version2/gecko9/idltypemap.cfg
Normal file
16
components/geckoport/version2/gecko9/idltypemap.cfg
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
wstring=PWideChar
|
||||||
|
string=PAnsiChar
|
||||||
|
boolean=longbool
|
||||||
|
FILE=PFILE
|
||||||
|
nsQIResult,out=
|
||||||
|
nsCIDRef,in=TGuid,constref
|
||||||
|
nsIIDRef,in=TGuid,constref
|
||||||
|
long=idllong
|
||||||
|
short=idlshort
|
||||||
|
float=idlfloat
|
||||||
|
long,unsigned=idlulong
|
||||||
|
short,unsigned=idlushort
|
||||||
|
float,unsigned=idlufloat
|
||||||
|
AUTF8String,f=AUTF8String,
|
||||||
|
ACString,f=ACString,
|
||||||
|
DOMString,f=DOMString,
|
47
components/geckoport/version2/gecko9/nsicontentviewer.inc
Normal file
47
components/geckoport/version2/gecko9/nsicontentviewer.inc
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
type
|
||||||
|
nsIntRect = record
|
||||||
|
end;
|
||||||
|
|
||||||
|
type
|
||||||
|
|
||||||
|
|
||||||
|
nsIContentViewer = interface(nsISupports)
|
||||||
|
['{75306a89-e3ad-4a2b-9daf-ac4de06661a4}']
|
||||||
|
{ procedure init(aParentWidget: nsIWidgetPtr; aBounds: nsIntRectRef); safecall;
|
||||||
|
function Getcontainer(): nsISupports; safecall;
|
||||||
|
procedure Setcontainer(acontainer: nsISupports); safecall;
|
||||||
|
property container : nsISupports read Getcontainer write Setcontainer;
|
||||||
|
procedure loadStart(aDoc: nsISupports); safecall;
|
||||||
|
procedure loadComplete(aStatus: idlulong); safecall;
|
||||||
|
function permitUnload(aCallerClosesWindow: longbool) : longbool; safecall;
|
||||||
|
procedure resetCloseWindow(); safecall;
|
||||||
|
procedure pageHide(isUnload: longbool); safecall;
|
||||||
|
procedure close(ahistoryEntry: nsISHEntry); safecall;
|
||||||
|
procedure destroy(); safecall;
|
||||||
|
procedure stop(); safecall;
|
||||||
|
function GetDOMDocument(): nsIDOMDocument; safecall;
|
||||||
|
procedure SetDOMDocument(aDOMDocument: nsIDOMDocument); safecall;
|
||||||
|
property DOMDocument : nsIDOMDocument read GetDOMDocument write SetDOMDocument;
|
||||||
|
function getDocument() : nsIDocumentPtr; safecall;
|
||||||
|
procedure getBounds(aBounds: nsIntRectRef); safecall;
|
||||||
|
procedure setBounds(aBounds: nsIntRectRef); safecall;
|
||||||
|
function GetpreviousViewer(): nsIContentViewer; safecall;
|
||||||
|
procedure SetpreviousViewer(apreviousViewer: nsIContentViewer); safecall;
|
||||||
|
property previousViewer : nsIContentViewer read GetpreviousViewer write SetpreviousViewer;
|
||||||
|
procedure move(aX: idllong; aY: idllong); safecall;
|
||||||
|
procedure show(); safecall;
|
||||||
|
procedure hide(); safecall;
|
||||||
|
function Getsticky(): longbool; safecall;
|
||||||
|
procedure Setsticky(asticky: longbool); safecall;
|
||||||
|
property sticky : longbool read Getsticky write Setsticky;
|
||||||
|
function requestWindowClose() : longbool; safecall;
|
||||||
|
procedure open(aState: nsISupports; aSHEntry: nsISHEntry); safecall;
|
||||||
|
procedure clearHistoryEntry(); safecall;
|
||||||
|
procedure setPageMode(aPageMode: longbool; aPrintSettings: nsIPrintSettings); safecall;
|
||||||
|
function GethistoryEntry(): nsISHEntry; safecall;
|
||||||
|
property historyEntry : nsISHEntry read GethistoryEntry;
|
||||||
|
function GetisTabModalPromptAllowed(): longbool; safecall;
|
||||||
|
property isTabModalPromptAllowed : longbool read GetisTabModalPromptAllowed;
|
||||||
|
}
|
||||||
|
end;
|
||||||
|
|
@ -0,0 +1,7 @@
|
|||||||
|
type
|
||||||
|
|
||||||
|
nsIDOMCDATASection = interface(nsIDOMText)
|
||||||
|
['{08a05c75-23de-4937-a45b-89bdcbe4f467}']
|
||||||
|
|
||||||
|
end;
|
||||||
|
|
81
components/geckoport/version2/gecko9/nsidomdocument.inc
Normal file
81
components/geckoport/version2/gecko9/nsidomdocument.inc
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
type
|
||||||
|
|
||||||
|
nsIDOMDocument = interface(nsIDOMNode)
|
||||||
|
['{6cba4f7e-7e71-427d-b914-44517ae1e45b}']
|
||||||
|
function Getdoctype(): nsIDOMDocumentType; safecall;
|
||||||
|
property doctype : nsIDOMDocumentType read Getdoctype;
|
||||||
|
function Getimplementation(): nsIDOMDOMImplementation; safecall;
|
||||||
|
property animplementation : nsIDOMDOMImplementation read Getimplementation;
|
||||||
|
function GetdocumentElement(): nsIDOMElement; safecall;
|
||||||
|
property documentElement : nsIDOMElement read GetdocumentElement;
|
||||||
|
function createElement(atagName: DOMString) : nsIDOMElement; safecall;
|
||||||
|
function createDocumentFragment() : nsIDOMDocumentFragment; safecall;
|
||||||
|
function createTextNode(adata: DOMString) : nsIDOMText; safecall;
|
||||||
|
function createComment(adata: DOMString) : nsIDOMComment; safecall;
|
||||||
|
function createCDATASection(adata: DOMString) : nsIDOMCDATASection; safecall;
|
||||||
|
function createProcessingInstruction(atarget: DOMString; adata: DOMString) : nsIDOMProcessingInstruction; safecall;
|
||||||
|
function createAttribute(aname: DOMString) : nsIDOMAttr; safecall;
|
||||||
|
function getElementsByTagName(atagname: DOMString) : nsIDOMNodeList; safecall;
|
||||||
|
function importNode(animportedNode: nsIDOMNode; adeep: longbool) : nsIDOMNode; safecall;
|
||||||
|
function createElementNS(anamespaceURI: DOMString; aqualifiedName: DOMString) : nsIDOMElement; safecall;
|
||||||
|
function createAttributeNS(anamespaceURI: DOMString; aqualifiedName: DOMString) : nsIDOMAttr; safecall;
|
||||||
|
function getElementsByTagNameNS(anamespaceURI: DOMString; alocalName: DOMString) : nsIDOMNodeList; safecall;
|
||||||
|
function getElementById(anelementId: DOMString) : nsIDOMElement; safecall;
|
||||||
|
procedure GetinputEncoding( result_: DOMString); safecall;
|
||||||
|
procedure GetxmlEncoding( result_: DOMString); safecall;
|
||||||
|
function GetxmlStandalone(): longbool; safecall;
|
||||||
|
procedure SetxmlStandalone(axmlStandalone: longbool); safecall;
|
||||||
|
property xmlStandalone : longbool read GetxmlStandalone write SetxmlStandalone;
|
||||||
|
procedure GetxmlVersion( result_: DOMString); safecall;
|
||||||
|
procedure SetxmlVersion(axmlVersion: DOMString); safecall;
|
||||||
|
procedure GetdocumentURI( result_: DOMString); safecall;
|
||||||
|
procedure SetdocumentURI(adocumentURI: DOMString); safecall;
|
||||||
|
function adoptNode(asource: nsIDOMNode) : nsIDOMNode; safecall;
|
||||||
|
function createRange() : nsIDOMRange; safecall;
|
||||||
|
function createNodeIterator(aroot: nsIDOMNode; awhatToShow: idlulong; afilter: nsIDOMNodeFilter; anentityReferenceExpansion: longbool) : nsIDOMNodeIterator; safecall;
|
||||||
|
function createTreeWalker(aroot: nsIDOMNode; awhatToShow: idlulong; afilter: nsIDOMNodeFilter; anentityReferenceExpansion: longbool) : nsIDOMTreeWalker; safecall;
|
||||||
|
function createEvent(aneventType: DOMString) : nsIDOMEvent; safecall;
|
||||||
|
function GetdefaultView(): nsIDOMWindow; safecall;
|
||||||
|
property defaultView : nsIDOMWindow read GetdefaultView;
|
||||||
|
procedure GetcharacterSet( result_: DOMString); safecall;
|
||||||
|
procedure Getdir( result_: DOMString); safecall;
|
||||||
|
procedure Setdir(adir: DOMString); safecall;
|
||||||
|
function Getlocation(): nsIDOMLocation; safecall;
|
||||||
|
property location : nsIDOMLocation read Getlocation;
|
||||||
|
procedure Gettitle( result_: DOMString); safecall;
|
||||||
|
procedure Settitle(atitle: DOMString); safecall;
|
||||||
|
procedure GetreadyState( result_: DOMString); safecall;
|
||||||
|
procedure GetlastModified( result_: DOMString); safecall;
|
||||||
|
procedure Getreferrer( result_: DOMString); safecall;
|
||||||
|
function hasFocus() : longbool; safecall;
|
||||||
|
function GetactiveElement(): nsIDOMElement; safecall;
|
||||||
|
property activeElement : nsIDOMElement read GetactiveElement;
|
||||||
|
function getElementsByClassName(aclasses: DOMString) : nsIDOMNodeList; safecall;
|
||||||
|
function GetstyleSheets(): nsIDOMStyleSheetList; safecall;
|
||||||
|
property styleSheets : nsIDOMStyleSheetList read GetstyleSheets;
|
||||||
|
procedure GetpreferredStyleSheetSet( result_: DOMString); safecall;
|
||||||
|
procedure GetselectedStyleSheetSet( result_: DOMString); safecall;
|
||||||
|
procedure SetselectedStyleSheetSet(aselectedStyleSheetSet: DOMString); safecall;
|
||||||
|
procedure GetlastStyleSheetSet( result_: DOMString); safecall;
|
||||||
|
function GetstyleSheetSets(): nsIDOMDOMStringList; safecall;
|
||||||
|
property styleSheetSets : nsIDOMDOMStringList read GetstyleSheetSets;
|
||||||
|
procedure enableStyleSheetsForSet(aname: DOMString); safecall;
|
||||||
|
function elementFromPoint(ax: idlfloat; ay: idlfloat) : nsIDOMElement; safecall;
|
||||||
|
procedure GetcontentType( result_: DOMString); safecall;
|
||||||
|
function GetmozSyntheticDocument(): longbool; safecall;
|
||||||
|
property mozSyntheticDocument : longbool read GetmozSyntheticDocument;
|
||||||
|
function GetcurrentScript(): nsIDOMElement; safecall;
|
||||||
|
property currentScript : nsIDOMElement read GetcurrentScript;
|
||||||
|
procedure releaseCapture(); safecall;
|
||||||
|
procedure mozSetImageElement(anaImageElementId: DOMString; anaImageElement: nsIDOMElement); safecall;
|
||||||
|
function GetmozFullScreenElement(): nsIDOMHTMLElement; safecall;
|
||||||
|
property mozFullScreenElement : nsIDOMHTMLElement read GetmozFullScreenElement;
|
||||||
|
procedure mozCancelFullScreen(); safecall;
|
||||||
|
function GetmozFullScreen(): longbool; safecall;
|
||||||
|
property mozFullScreen : longbool read GetmozFullScreen;
|
||||||
|
function Getonreadystatechange(): jsval; safecall;
|
||||||
|
procedure Setonreadystatechange(aonreadystatechange: jsval); safecall;
|
||||||
|
property onreadystatechange : jsval read Getonreadystatechange write Setonreadystatechange;
|
||||||
|
|
||||||
|
end;
|
||||||
|
|
23
components/geckoport/version2/gecko9/nsidomelement.inc
Normal file
23
components/geckoport/version2/gecko9/nsidomelement.inc
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
type
|
||||||
|
|
||||||
|
nsIDOMElement = interface(nsIDOMNode)
|
||||||
|
['{56aaaf03-f8f1-4c06-9cb5-f3e33a39e5c3}']
|
||||||
|
procedure GettagName( result_: DOMString); safecall;
|
||||||
|
procedure getAttribute(aname: DOMString; result_: DOMString); safecall;
|
||||||
|
procedure setAttribute(aname: DOMString; avalue: DOMString); safecall;
|
||||||
|
procedure removeAttribute(aname: DOMString); safecall;
|
||||||
|
function getAttributeNode(aname: DOMString) : nsIDOMAttr; safecall;
|
||||||
|
function setAttributeNode(anewAttr: nsIDOMAttr) : nsIDOMAttr; safecall;
|
||||||
|
function removeAttributeNode(anoldAttr: nsIDOMAttr) : nsIDOMAttr; safecall;
|
||||||
|
function getElementsByTagName(aname: DOMString) : nsIDOMNodeList; safecall;
|
||||||
|
procedure getAttributeNS(anamespaceURI: DOMString; alocalName: DOMString; result_: DOMString); safecall;
|
||||||
|
procedure setAttributeNS(anamespaceURI: DOMString; aqualifiedName: DOMString; avalue: DOMString); safecall;
|
||||||
|
procedure removeAttributeNS(anamespaceURI: DOMString; alocalName: DOMString); safecall;
|
||||||
|
function getAttributeNodeNS(anamespaceURI: DOMString; alocalName: DOMString) : nsIDOMAttr; safecall;
|
||||||
|
function setAttributeNodeNS(anewAttr: nsIDOMAttr) : nsIDOMAttr; safecall;
|
||||||
|
function getElementsByTagNameNS(anamespaceURI: DOMString; alocalName: DOMString) : nsIDOMNodeList; safecall;
|
||||||
|
function hasAttribute(aname: DOMString) : longbool; safecall;
|
||||||
|
function hasAttributeNS(anamespaceURI: DOMString; alocalName: DOMString) : longbool; safecall;
|
||||||
|
|
||||||
|
end;
|
||||||
|
|
30
components/geckoport/version2/gecko9/nsidomevent.inc
Normal file
30
components/geckoport/version2/gecko9/nsidomevent.inc
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
type
|
||||||
|
|
||||||
|
nsIDOMEvent = interface(nsISupports)
|
||||||
|
['{548137e8-fd2c-48c4-8635-3033f7db79e0}']
|
||||||
|
procedure Gettype( result_: DOMString); safecall;
|
||||||
|
function Gettarget(): nsIDOMEventTarget; safecall;
|
||||||
|
property target : nsIDOMEventTarget read Gettarget;
|
||||||
|
function GetcurrentTarget(): nsIDOMEventTarget; safecall;
|
||||||
|
property currentTarget : nsIDOMEventTarget read GetcurrentTarget;
|
||||||
|
function GeteventPhase(): idlushort; safecall;
|
||||||
|
property eventPhase : idlushort read GeteventPhase;
|
||||||
|
function Getbubbles(): longbool; safecall;
|
||||||
|
property bubbles : longbool read Getbubbles;
|
||||||
|
function Getcancelable(): longbool; safecall;
|
||||||
|
property cancelable : longbool read Getcancelable;
|
||||||
|
function GettimeStamp(): DOMTimeStamp; safecall;
|
||||||
|
property timeStamp : DOMTimeStamp read GettimeStamp;
|
||||||
|
procedure stopPropagation(); safecall;
|
||||||
|
procedure preventDefault(); safecall;
|
||||||
|
procedure initEvent(eventTypeArg: DOMString; canBubbleArg: longbool; cancelableArg: longbool); safecall;
|
||||||
|
function GetdefaultPrevented(): longbool; safecall;
|
||||||
|
property defaultPrevented : longbool read GetdefaultPrevented;
|
||||||
|
|
||||||
|
end;
|
||||||
|
|
||||||
|
const
|
||||||
|
nsIDOMEvent_CAPTURING_PHASE=1;
|
||||||
|
nsIDOMEvent_AT_TARGET=2;
|
||||||
|
nsIDOMEvent_BUBBLING_PHASE=3;
|
||||||
|
|
29
components/geckoport/version2/gecko9/nsidomnavigator.inc
Normal file
29
components/geckoport/version2/gecko9/nsidomnavigator.inc
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
type
|
||||||
|
|
||||||
|
nsIDOMNavigator = interface(nsISupports)
|
||||||
|
['{B8EE0374-5F47-4ED0-B9B0-BDE3E6D81FF5}']
|
||||||
|
procedure GetappCodeName( result_: DOMString); safecall;
|
||||||
|
procedure GetappName( result_: DOMString); safecall;
|
||||||
|
procedure GetappVersion( result_: DOMString); safecall;
|
||||||
|
procedure Getlanguage( result_: DOMString); safecall;
|
||||||
|
function GetmimeTypes(): nsIDOMMimeTypeArray; safecall;
|
||||||
|
property mimeTypes : nsIDOMMimeTypeArray read GetmimeTypes;
|
||||||
|
procedure Getplatform( result_: DOMString); safecall;
|
||||||
|
procedure Getoscpu( result_: DOMString); safecall;
|
||||||
|
procedure Getvendor( result_: DOMString); safecall;
|
||||||
|
procedure GetvendorSub( result_: DOMString); safecall;
|
||||||
|
procedure Getproduct( result_: DOMString); safecall;
|
||||||
|
procedure GetproductSub( result_: DOMString); safecall;
|
||||||
|
function Getplugins(): nsIDOMPluginArray; safecall;
|
||||||
|
property plugins : nsIDOMPluginArray read Getplugins;
|
||||||
|
procedure GetuserAgent( result_: DOMString); safecall;
|
||||||
|
function GetcookieEnabled(): longbool; safecall;
|
||||||
|
property cookieEnabled : longbool read GetcookieEnabled;
|
||||||
|
function GetonLine(): longbool; safecall;
|
||||||
|
property onLine : longbool read GetonLine;
|
||||||
|
procedure GetbuildID( result_: DOMString); safecall;
|
||||||
|
procedure GetdoNotTrack( result_: DOMString); safecall;
|
||||||
|
function javaEnabled() : longbool; safecall;
|
||||||
|
|
||||||
|
end;
|
||||||
|
|
74
components/geckoport/version2/gecko9/nsidomnode.inc
Normal file
74
components/geckoport/version2/gecko9/nsidomnode.inc
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
type
|
||||||
|
|
||||||
|
nsIDOMNode = interface(nsISupports)
|
||||||
|
['{c8ac3f81-63e1-4c31-8543-70a656642789}']
|
||||||
|
procedure GetnodeName( result_: DOMString); safecall;
|
||||||
|
procedure GetnodeValue( result_: DOMString); safecall;
|
||||||
|
procedure SetnodeValue(anodeValue: DOMString); safecall;
|
||||||
|
function GetnodeType(): idlushort; safecall;
|
||||||
|
property nodeType : idlushort read GetnodeType;
|
||||||
|
function GetparentNode(): nsIDOMNode; safecall;
|
||||||
|
property parentNode : nsIDOMNode read GetparentNode;
|
||||||
|
function GetparentElement(): nsIDOMElement; safecall;
|
||||||
|
property parentElement : nsIDOMElement read GetparentElement;
|
||||||
|
function GetchildNodes(): nsIDOMNodeList; safecall;
|
||||||
|
property childNodes : nsIDOMNodeList read GetchildNodes;
|
||||||
|
function GetfirstChild(): nsIDOMNode; safecall;
|
||||||
|
property firstChild : nsIDOMNode read GetfirstChild;
|
||||||
|
function GetlastChild(): nsIDOMNode; safecall;
|
||||||
|
property lastChild : nsIDOMNode read GetlastChild;
|
||||||
|
function GetpreviousSibling(): nsIDOMNode; safecall;
|
||||||
|
property previousSibling : nsIDOMNode read GetpreviousSibling;
|
||||||
|
function GetnextSibling(): nsIDOMNode; safecall;
|
||||||
|
property nextSibling : nsIDOMNode read GetnextSibling;
|
||||||
|
function Getattributes(): nsIDOMNamedNodeMap; safecall;
|
||||||
|
property attributes : nsIDOMNamedNodeMap read Getattributes;
|
||||||
|
function GetownerDocument(): nsIDOMDocument; safecall;
|
||||||
|
property ownerDocument : nsIDOMDocument read GetownerDocument;
|
||||||
|
function insertBefore(newChild: nsIDOMNode; refChild: nsIDOMNode) : nsIDOMNode; safecall;
|
||||||
|
function replaceChild(newChild: nsIDOMNode; oldChild: nsIDOMNode) : nsIDOMNode; safecall;
|
||||||
|
function removeChild(oldChild: nsIDOMNode) : nsIDOMNode; safecall;
|
||||||
|
function appendChild(newChild: nsIDOMNode) : nsIDOMNode; safecall;
|
||||||
|
function hasChildNodes() : longbool; safecall;
|
||||||
|
function cloneNode(deep: longbool) : nsIDOMNode; safecall;
|
||||||
|
procedure normalize(); safecall;
|
||||||
|
function isSupported(feature: DOMString; version: DOMString) : longbool; safecall;
|
||||||
|
procedure GetnamespaceURI( result_: DOMString); safecall;
|
||||||
|
procedure Getprefix( result_: DOMString); safecall;
|
||||||
|
procedure GetlocalName( result_: DOMString); safecall;
|
||||||
|
function hasAttributes() : longbool; safecall;
|
||||||
|
procedure GetbaseURI( result_: DOMString); safecall;
|
||||||
|
function compareDocumentPosition(other: nsIDOMNode) : idlushort; safecall;
|
||||||
|
procedure GettextContent( result_: DOMString); safecall;
|
||||||
|
procedure SettextContent(atextContent: DOMString); safecall;
|
||||||
|
function isSameNode(other: nsIDOMNode) : longbool; safecall;
|
||||||
|
procedure lookupPrefix(anamespaceURI: DOMString; result_: DOMString); safecall;
|
||||||
|
function isDefaultNamespace(anamespaceURI: DOMString) : longbool; safecall;
|
||||||
|
procedure lookupNamespaceURI(aprefix: DOMString; result_: DOMString); safecall;
|
||||||
|
function isEqualNode(arg: nsIDOMNode) : longbool; safecall;
|
||||||
|
function setUserData(key: DOMString; data: nsIVariant; handler: nsIDOMUserDataHandler) : nsIVariant; safecall;
|
||||||
|
function getUserData(key: DOMString) : nsIVariant; safecall;
|
||||||
|
function contains(aOther: nsIDOMNode) : longbool; safecall;
|
||||||
|
|
||||||
|
end;
|
||||||
|
|
||||||
|
const
|
||||||
|
nsIDOMNode_ELEMENT_NODE=1;
|
||||||
|
nsIDOMNode_ATTRIBUTE_NODE=2;
|
||||||
|
nsIDOMNode_TEXT_NODE=3;
|
||||||
|
nsIDOMNode_CDATA_SECTION_NODE=4;
|
||||||
|
nsIDOMNode_ENTITY_REFERENCE_NODE=5;
|
||||||
|
nsIDOMNode_ENTITY_NODE=6;
|
||||||
|
nsIDOMNode_PROCESSING_INSTRUCTION_NODE=7;
|
||||||
|
nsIDOMNode_COMMENT_NODE=8;
|
||||||
|
nsIDOMNode_DOCUMENT_NODE=9;
|
||||||
|
nsIDOMNode_DOCUMENT_TYPE_NODE=10;
|
||||||
|
nsIDOMNode_DOCUMENT_FRAGMENT_NODE=11;
|
||||||
|
nsIDOMNode_NOTATION_NODE=12;
|
||||||
|
nsIDOMNode_DOCUMENT_POSITION_DISCONNECTED=$01;
|
||||||
|
nsIDOMNode_DOCUMENT_POSITION_PRECEDING=$02;
|
||||||
|
nsIDOMNode_DOCUMENT_POSITION_FOLLOWING=$04;
|
||||||
|
nsIDOMNode_DOCUMENT_POSITION_CONTAINS=$08;
|
||||||
|
nsIDOMNode_DOCUMENT_POSITION_CONTAINED_BY=$10;
|
||||||
|
nsIDOMNode_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=$20;
|
||||||
|
|
10
components/geckoport/version2/gecko9/nsidomnodelist.inc
Normal file
10
components/geckoport/version2/gecko9/nsidomnodelist.inc
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
type
|
||||||
|
|
||||||
|
nsIDOMNodeList = interface(nsISupports)
|
||||||
|
['{a6cf907d-15b3-11d2-932e-00805f8add32}']
|
||||||
|
function item(index: idlulong) : nsIDOMNode; safecall;
|
||||||
|
function Getlength(): idlulong; safecall;
|
||||||
|
property length : idlulong read Getlength;
|
||||||
|
|
||||||
|
end;
|
||||||
|
|
12
components/geckoport/version2/gecko9/nsidomtext.inc
Normal file
12
components/geckoport/version2/gecko9/nsidomtext.inc
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
type
|
||||||
|
|
||||||
|
nsIDOMText = interface(nsIDOMCharacterData)
|
||||||
|
['{92b0df87-78a1-4e3b-a23c-d0c5bb2b83f9}']
|
||||||
|
function splitText(offset: idlulong) : nsIDOMText; safecall;
|
||||||
|
function GetisElementContentWhitespace(): longbool; safecall;
|
||||||
|
property isElementContentWhitespace : longbool read GetisElementContentWhitespace;
|
||||||
|
procedure GetwholeText( result_: DOMString); safecall;
|
||||||
|
function replaceWholeText(content: DOMString) : nsIDOMText; safecall;
|
||||||
|
|
||||||
|
end;
|
||||||
|
|
217
components/geckoport/version2/gecko9/nsidomwindow.inc
Normal file
217
components/geckoport/version2/gecko9/nsidomwindow.inc
Normal file
@ -0,0 +1,217 @@
|
|||||||
|
type
|
||||||
|
|
||||||
|
nsIDOMMozURLProperty = interface(nsISupports)
|
||||||
|
['{8fc58f56-f769-4368-a098-edd08550cf1a}']
|
||||||
|
procedure createObjectURL(blob: nsIDOMBlob; result_: DOMString); safecall;
|
||||||
|
procedure revokeObjectURL(URL: DOMString); safecall;
|
||||||
|
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
nsIDOMWindow = interface(nsISupports)
|
||||||
|
['{3f5b2af2-604e-4253-8d25-6d3cafc13a69}']
|
||||||
|
function Getwindow(): nsIDOMWindow; safecall;
|
||||||
|
property window : nsIDOMWindow read Getwindow;
|
||||||
|
function Getself(): nsIDOMWindow; safecall;
|
||||||
|
property self : nsIDOMWindow read Getself;
|
||||||
|
function Getdocument(): nsIDOMDocument; safecall;
|
||||||
|
property document : nsIDOMDocument read Getdocument;
|
||||||
|
procedure Getname( result_: DOMString); safecall;
|
||||||
|
procedure Setname(aname: DOMString); safecall;
|
||||||
|
function Getlocation(): nsIDOMLocation; safecall;
|
||||||
|
property location : nsIDOMLocation read Getlocation;
|
||||||
|
function Gethistory(): nsIDOMHistory; safecall;
|
||||||
|
property history : nsIDOMHistory read Gethistory;
|
||||||
|
function Getlocationbar(): nsIDOMBarProp; safecall;
|
||||||
|
property locationbar : nsIDOMBarProp read Getlocationbar;
|
||||||
|
function Getmenubar(): nsIDOMBarProp; safecall;
|
||||||
|
property menubar : nsIDOMBarProp read Getmenubar;
|
||||||
|
function Getpersonalbar(): nsIDOMBarProp; safecall;
|
||||||
|
property personalbar : nsIDOMBarProp read Getpersonalbar;
|
||||||
|
function Getscrollbars(): nsIDOMBarProp; safecall;
|
||||||
|
property scrollbars : nsIDOMBarProp read Getscrollbars;
|
||||||
|
function Getstatusbar(): nsIDOMBarProp; safecall;
|
||||||
|
property statusbar : nsIDOMBarProp read Getstatusbar;
|
||||||
|
function Gettoolbar(): nsIDOMBarProp; safecall;
|
||||||
|
property toolbar : nsIDOMBarProp read Gettoolbar;
|
||||||
|
procedure Getstatus( result_: DOMString); safecall;
|
||||||
|
procedure Setstatus(astatus: DOMString); safecall;
|
||||||
|
procedure close(); safecall;
|
||||||
|
procedure stop(); safecall;
|
||||||
|
procedure focus(); safecall;
|
||||||
|
procedure blur(); safecall;
|
||||||
|
function Getlength(): idlulong; safecall;
|
||||||
|
property length : idlulong read Getlength;
|
||||||
|
function Gettop(): nsIDOMWindow; safecall;
|
||||||
|
property top : nsIDOMWindow read Gettop;
|
||||||
|
function Getopener(): nsIDOMWindow; safecall;
|
||||||
|
procedure Setopener(aopener: nsIDOMWindow); safecall;
|
||||||
|
property opener : nsIDOMWindow read Getopener write Setopener;
|
||||||
|
function Getparent(): nsIDOMWindow; safecall;
|
||||||
|
property parent : nsIDOMWindow read Getparent;
|
||||||
|
function GetframeElement(): nsIDOMElement; safecall;
|
||||||
|
property frameElement : nsIDOMElement read GetframeElement;
|
||||||
|
function Getnavigator(): nsIDOMNavigator; safecall;
|
||||||
|
property navigator : nsIDOMNavigator read Getnavigator;
|
||||||
|
function GetapplicationCache(): nsIDOMOfflineResourceList; safecall;
|
||||||
|
property applicationCache : nsIDOMOfflineResourceList read GetapplicationCache;
|
||||||
|
procedure alert(text: DOMString); safecall;
|
||||||
|
function confirm(text: DOMString) : longbool; safecall;
|
||||||
|
procedure prompt(aMessage: DOMString; aInitial: DOMString; result_: DOMString); safecall;
|
||||||
|
procedure print(); safecall;
|
||||||
|
function showModalDialog(aURI: DOMString; aArgs: nsIVariant; aOptions: DOMString) : nsIVariant; safecall;
|
||||||
|
procedure postMessage(message: jsval; targetOrigin: DOMString); safecall;
|
||||||
|
procedure atob(aAsciiString: DOMString; result_: DOMString); safecall;
|
||||||
|
procedure btoa(aBase64Data: DOMString; result_: DOMString); safecall;
|
||||||
|
function GetsessionStorage(): nsIDOMStorage; safecall;
|
||||||
|
property sessionStorage : nsIDOMStorage read GetsessionStorage;
|
||||||
|
function GetlocalStorage(): nsIDOMStorage; safecall;
|
||||||
|
property localStorage : nsIDOMStorage read GetlocalStorage;
|
||||||
|
function getSelection() : nsISelection; safecall;
|
||||||
|
function matchMedia(media_query_list: DOMString) : nsIDOMMediaQueryList; safecall;
|
||||||
|
function Getscreen(): nsIDOMScreen; safecall;
|
||||||
|
property screen : nsIDOMScreen read Getscreen;
|
||||||
|
function GetinnerWidth(): idllong; safecall;
|
||||||
|
procedure SetinnerWidth(ainnerWidth: idllong); safecall;
|
||||||
|
property innerWidth : idllong read GetinnerWidth write SetinnerWidth;
|
||||||
|
function GetinnerHeight(): idllong; safecall;
|
||||||
|
procedure SetinnerHeight(ainnerHeight: idllong); safecall;
|
||||||
|
property innerHeight : idllong read GetinnerHeight write SetinnerHeight;
|
||||||
|
function GetscrollX(): idllong; safecall;
|
||||||
|
property scrollX : idllong read GetscrollX;
|
||||||
|
function GetpageXOffset(): idllong; safecall;
|
||||||
|
property pageXOffset : idllong read GetpageXOffset;
|
||||||
|
function GetscrollY(): idllong; safecall;
|
||||||
|
property scrollY : idllong read GetscrollY;
|
||||||
|
function GetpageYOffset(): idllong; safecall;
|
||||||
|
property pageYOffset : idllong read GetpageYOffset;
|
||||||
|
procedure scroll(xScroll: idllong; yScroll: idllong); safecall;
|
||||||
|
procedure scrollTo(xScroll: idllong; yScroll: idllong); safecall;
|
||||||
|
procedure scrollBy(xScrollDif: idllong; yScrollDif: idllong); safecall;
|
||||||
|
function GetscreenX(): idllong; safecall;
|
||||||
|
procedure SetscreenX(ascreenX: idllong); safecall;
|
||||||
|
property screenX : idllong read GetscreenX write SetscreenX;
|
||||||
|
function GetscreenY(): idllong; safecall;
|
||||||
|
procedure SetscreenY(ascreenY: idllong); safecall;
|
||||||
|
property screenY : idllong read GetscreenY write SetscreenY;
|
||||||
|
function GetouterWidth(): idllong; safecall;
|
||||||
|
procedure SetouterWidth(aouterWidth: idllong); safecall;
|
||||||
|
property outerWidth : idllong read GetouterWidth write SetouterWidth;
|
||||||
|
function GetouterHeight(): idllong; safecall;
|
||||||
|
procedure SetouterHeight(aouterHeight: idllong); safecall;
|
||||||
|
property outerHeight : idllong read GetouterHeight write SetouterHeight;
|
||||||
|
function getComputedStyle(elt: nsIDOMElement; pseudoElt: DOMString) : nsIDOMCSSStyleDeclaration; safecall;
|
||||||
|
function GetwindowRoot(): nsIDOMEventTarget; safecall;
|
||||||
|
property windowRoot : nsIDOMEventTarget read GetwindowRoot;
|
||||||
|
function Getframes(): nsIDOMWindowCollection; safecall;
|
||||||
|
property frames : nsIDOMWindowCollection read Getframes;
|
||||||
|
function GettextZoom(): idlfloat; safecall;
|
||||||
|
procedure SettextZoom(atextZoom: idlfloat); safecall;
|
||||||
|
property textZoom : idlfloat read GettextZoom write SettextZoom;
|
||||||
|
procedure scrollByLines(numLines: idllong); safecall;
|
||||||
|
procedure scrollByPages(numPages: idllong); safecall;
|
||||||
|
procedure sizeToContent(); safecall;
|
||||||
|
function Getcontent(): nsIDOMWindow; safecall;
|
||||||
|
property content : nsIDOMWindow read Getcontent;
|
||||||
|
function Getprompter(): nsIPrompt; safecall;
|
||||||
|
property prompter : nsIPrompt read Getprompter;
|
||||||
|
function Getclosed(): longbool; safecall;
|
||||||
|
property closed : longbool read Getclosed;
|
||||||
|
function Getcrypto(): nsIDOMCrypto; safecall;
|
||||||
|
property crypto : nsIDOMCrypto read Getcrypto;
|
||||||
|
function Getpkcs11(): nsIDOMPkcs11; safecall;
|
||||||
|
property pkcs11 : nsIDOMPkcs11 read Getpkcs11;
|
||||||
|
function Getcontrollers(): nsIControllers; safecall;
|
||||||
|
property controllers : nsIControllers read Getcontrollers;
|
||||||
|
procedure GetdefaultStatus( result_: DOMString); safecall;
|
||||||
|
procedure SetdefaultStatus(adefaultStatus: DOMString); safecall;
|
||||||
|
function GetmozInnerScreenX(): idlfloat; safecall;
|
||||||
|
property mozInnerScreenX : idlfloat read GetmozInnerScreenX;
|
||||||
|
function GetmozInnerScreenY(): idlfloat; safecall;
|
||||||
|
property mozInnerScreenY : idlfloat read GetmozInnerScreenY;
|
||||||
|
function GetscrollMaxX(): idllong; safecall;
|
||||||
|
property scrollMaxX : idllong read GetscrollMaxX;
|
||||||
|
function GetscrollMaxY(): idllong; safecall;
|
||||||
|
property scrollMaxY : idllong read GetscrollMaxY;
|
||||||
|
function GetfullScreen(): longbool; safecall;
|
||||||
|
procedure SetfullScreen(afullScreen: longbool); safecall;
|
||||||
|
property fullScreen : longbool read GetfullScreen write SetfullScreen;
|
||||||
|
procedure back(); safecall;
|
||||||
|
procedure forward(); safecall;
|
||||||
|
procedure home(); safecall;
|
||||||
|
procedure moveTo(xPos: idllong; yPos: idllong); safecall;
|
||||||
|
procedure moveBy(xDif: idllong; yDif: idllong); safecall;
|
||||||
|
procedure resizeTo(width: idllong; height: idllong); safecall;
|
||||||
|
procedure resizeBy(widthDif: idllong; heightDif: idllong); safecall;
|
||||||
|
function open(anurl: DOMString; aname: DOMString; options: DOMString) : nsIDOMWindow; safecall;
|
||||||
|
function openDialog(anurl: DOMString; aname: DOMString; options: DOMString; aExtraArgument: nsISupports) : nsIDOMWindow; safecall;
|
||||||
|
procedure updateCommands(action: DOMString); safecall;
|
||||||
|
function find(str: DOMString; caseSensitive: longbool; backwards: longbool; wrapAround: longbool; wholeWord: longbool; searchInFrames: longbool; showDialog: longbool) : longbool; safecall;
|
||||||
|
function GetmozPaintCount(): idlulong; safecall;
|
||||||
|
property mozPaintCount : idlulong read GetmozPaintCount;
|
||||||
|
procedure mozRequestAnimationFrame(aListener: nsIAnimationFrameListener); safecall;
|
||||||
|
function GetmozAnimationStartTime(): idllong; safecall;
|
||||||
|
property mozAnimationStartTime : idllong read GetmozAnimationStartTime;
|
||||||
|
function GetURL(): nsIDOMMozURLProperty; safecall;
|
||||||
|
property URL : nsIDOMMozURLProperty read GetURL;
|
||||||
|
function GetglobalStorage(): nsIDOMStorageList; safecall;
|
||||||
|
property globalStorage : nsIDOMStorageList read GetglobalStorage;
|
||||||
|
function Getonafterprint(): jsval; safecall;
|
||||||
|
procedure Setonafterprint(aonafterprint: jsval); safecall;
|
||||||
|
property onafterprint : jsval read Getonafterprint write Setonafterprint;
|
||||||
|
function Getonbeforeprint(): jsval; safecall;
|
||||||
|
procedure Setonbeforeprint(aonbeforeprint: jsval); safecall;
|
||||||
|
property onbeforeprint : jsval read Getonbeforeprint write Setonbeforeprint;
|
||||||
|
function Getonbeforeunload(): jsval; safecall;
|
||||||
|
procedure Setonbeforeunload(aonbeforeunload: jsval); safecall;
|
||||||
|
property onbeforeunload : jsval read Getonbeforeunload write Setonbeforeunload;
|
||||||
|
function Getonhashchange(): jsval; safecall;
|
||||||
|
procedure Setonhashchange(aonhashchange: jsval); safecall;
|
||||||
|
property onhashchange : jsval read Getonhashchange write Setonhashchange;
|
||||||
|
function Getonmessage(): jsval; safecall;
|
||||||
|
procedure Setonmessage(aonmessage: jsval); safecall;
|
||||||
|
property onmessage : jsval read Getonmessage write Setonmessage;
|
||||||
|
function Getonoffline(): jsval; safecall;
|
||||||
|
procedure Setonoffline(aonoffline: jsval); safecall;
|
||||||
|
property onoffline : jsval read Getonoffline write Setonoffline;
|
||||||
|
function Getononline(): jsval; safecall;
|
||||||
|
procedure Setononline(aononline: jsval); safecall;
|
||||||
|
property ononline : jsval read Getononline write Setononline;
|
||||||
|
function Getonpopstate(): jsval; safecall;
|
||||||
|
procedure Setonpopstate(aonpopstate: jsval); safecall;
|
||||||
|
property onpopstate : jsval read Getonpopstate write Setonpopstate;
|
||||||
|
function Getonpagehide(): jsval; safecall;
|
||||||
|
procedure Setonpagehide(aonpagehide: jsval); safecall;
|
||||||
|
property onpagehide : jsval read Getonpagehide write Setonpagehide;
|
||||||
|
function Getonpageshow(): jsval; safecall;
|
||||||
|
procedure Setonpageshow(aonpageshow: jsval); safecall;
|
||||||
|
property onpageshow : jsval read Getonpageshow write Setonpageshow;
|
||||||
|
function Getonresize(): jsval; safecall;
|
||||||
|
procedure Setonresize(aonresize: jsval); safecall;
|
||||||
|
property onresize : jsval read Getonresize write Setonresize;
|
||||||
|
function Getonunload(): jsval; safecall;
|
||||||
|
procedure Setonunload(aonunload: jsval); safecall;
|
||||||
|
property onunload : jsval read Getonunload write Setonunload;
|
||||||
|
function Getondevicemotion(): jsval; safecall;
|
||||||
|
procedure Setondevicemotion(aondevicemotion: jsval); safecall;
|
||||||
|
property ondevicemotion : jsval read Getondevicemotion write Setondevicemotion;
|
||||||
|
function Getondeviceorientation(): jsval; safecall;
|
||||||
|
procedure Setondeviceorientation(aondeviceorientation: jsval); safecall;
|
||||||
|
property ondeviceorientation : jsval read Getondeviceorientation write Setondeviceorientation;
|
||||||
|
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
nsIDOMWindowPerformance = interface(nsISupports)
|
||||||
|
['{2146c906-57f7-486c-a1b4-8cdb57ef577f}']
|
||||||
|
function Getperformance(): nsIDOMPerformance; safecall;
|
||||||
|
property performance : nsIDOMPerformance read Getperformance;
|
||||||
|
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
nsIDOMWindowInternal = interface(nsIDOMWindow)
|
||||||
|
['{8614bdb7-5b07-4d00-a7ba-4d44697a343d}']
|
||||||
|
|
||||||
|
end;
|
||||||
|
|
29
components/geckoport/version2/gecko9/nsilocalfile.inc
Normal file
29
components/geckoport/version2/gecko9/nsilocalfile.inc
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
type
|
||||||
|
|
||||||
|
nsILocalFile = interface(nsIFile)
|
||||||
|
['{aa610f20-a889-11d3-8c81-000064657374}']
|
||||||
|
procedure initWithPath(filePath: AString); safecall;
|
||||||
|
procedure initWithNativePath(filePath: ACString); safecall;
|
||||||
|
procedure initWithFile(aFile: nsILocalFile); safecall;
|
||||||
|
function GetfollowLinks(): longbool; safecall;
|
||||||
|
procedure SetfollowLinks(afollowLinks: longbool); safecall;
|
||||||
|
property followLinks : longbool read GetfollowLinks write SetfollowLinks;
|
||||||
|
function openNSPRFileDesc(flags: idllong; mode: idllong) : PRFileDescStar; safecall;
|
||||||
|
function openANSIFileDesc(mode: PAnsiChar) : PFILE; safecall;
|
||||||
|
function load() : PRLibraryStar; safecall;
|
||||||
|
function GetdiskSpaceAvailable(): PRInt64; safecall;
|
||||||
|
property diskSpaceAvailable : PRInt64 read GetdiskSpaceAvailable;
|
||||||
|
procedure appendRelativePath(relativeFilePath: AString); safecall;
|
||||||
|
procedure appendRelativeNativePath(relativeFilePath: ACString); safecall;
|
||||||
|
procedure GetpersistentDescriptor( result_: ACString); safecall;
|
||||||
|
procedure SetpersistentDescriptor(apersistentDescriptor: ACString); safecall;
|
||||||
|
procedure reveal(); safecall;
|
||||||
|
procedure launch(); safecall;
|
||||||
|
procedure getRelativeDescriptor(fromFile: nsILocalFile; result_: ACString); safecall;
|
||||||
|
procedure setRelativeDescriptor(fromFile: nsILocalFile; relativeDesc: ACString); safecall;
|
||||||
|
|
||||||
|
end;
|
||||||
|
|
||||||
|
const
|
||||||
|
nsILocalFile_DELETE_ON_CLOSE=$80000000;
|
||||||
|
|
48
components/geckoport/version2/gecko9/nsiwebnavigation.inc
Normal file
48
components/geckoport/version2/gecko9/nsiwebnavigation.inc
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
type
|
||||||
|
|
||||||
|
nsIWebNavigation = interface(nsISupports)
|
||||||
|
['{F5D9E7B0-D930-11d3-B057-00A024FFC08C}']
|
||||||
|
function GetcanGoBack(): longbool; safecall;
|
||||||
|
property canGoBack : longbool read GetcanGoBack;
|
||||||
|
function GetcanGoForward(): longbool; safecall;
|
||||||
|
property canGoForward : longbool read GetcanGoForward;
|
||||||
|
procedure goBack(); safecall;
|
||||||
|
procedure goForward(); safecall;
|
||||||
|
procedure gotoIndex(index: idllong); safecall;
|
||||||
|
procedure loadURI(aURI: PWideChar; aLoadFlags: idlulong; aReferrer: nsIURI; aPostData: nsIInputStream; aHeaders: nsIInputStream); safecall;
|
||||||
|
procedure reload(aReloadFlags: idlulong); safecall;
|
||||||
|
procedure stop(aStopFlags: idlulong); safecall;
|
||||||
|
function Getdocument(): nsIDOMDocument; safecall;
|
||||||
|
property document : nsIDOMDocument read Getdocument;
|
||||||
|
function GetcurrentURI(): nsIURI; safecall;
|
||||||
|
property currentURI : nsIURI read GetcurrentURI;
|
||||||
|
function GetreferringURI(): nsIURI; safecall;
|
||||||
|
property referringURI : nsIURI read GetreferringURI;
|
||||||
|
function GetsessionHistory(): nsISHistory; safecall;
|
||||||
|
procedure SetsessionHistory(asessionHistory: nsISHistory); safecall;
|
||||||
|
property sessionHistory : nsISHistory read GetsessionHistory write SetsessionHistory;
|
||||||
|
|
||||||
|
end;
|
||||||
|
|
||||||
|
const
|
||||||
|
nsIWebNavigation_LOAD_FLAGS_MASK=$ffff;
|
||||||
|
nsIWebNavigation_LOAD_FLAGS_NONE=$0000;
|
||||||
|
nsIWebNavigation_LOAD_FLAGS_IS_REFRESH=$0010;
|
||||||
|
nsIWebNavigation_LOAD_FLAGS_IS_LINK=$0020;
|
||||||
|
nsIWebNavigation_LOAD_FLAGS_BYPASS_HISTORY=$0040;
|
||||||
|
nsIWebNavigation_LOAD_FLAGS_REPLACE_HISTORY=$0080;
|
||||||
|
nsIWebNavigation_LOAD_FLAGS_BYPASS_CACHE=$0100;
|
||||||
|
nsIWebNavigation_LOAD_FLAGS_BYPASS_PROXY=$0200;
|
||||||
|
nsIWebNavigation_LOAD_FLAGS_CHARSET_CHANGE=$0400;
|
||||||
|
nsIWebNavigation_LOAD_FLAGS_STOP_CONTENT=$0800;
|
||||||
|
nsIWebNavigation_LOAD_FLAGS_FROM_EXTERNAL=$1000;
|
||||||
|
nsIWebNavigation_LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP=$2000;
|
||||||
|
nsIWebNavigation_LOAD_FLAGS_FIRST_LOAD=$4000;
|
||||||
|
nsIWebNavigation_LOAD_FLAGS_ALLOW_POPUPS=$8000;
|
||||||
|
nsIWebNavigation_LOAD_FLAGS_BYPASS_CLASSIFIER=$10000;
|
||||||
|
nsIWebNavigation_LOAD_FLAGS_FORCE_ALLOW_COOKIES=$20000;
|
||||||
|
nsIWebNavigation_LOAD_FLAGS_DISALLOW_INHERIT_OWNER=$40000;
|
||||||
|
nsIWebNavigation_STOP_NETWORK=$01;
|
||||||
|
nsIWebNavigation_STOP_CONTENT=$02;
|
||||||
|
nsIWebNavigation_STOP_ALL=$03;
|
||||||
|
|
Reference in New Issue
Block a user