1// Copyright (C) 2006, 2007 Apple Inc.  All rights reserved.
2// Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
3//
4// Redistribution and use in source and binary forms, with or without
5// modification, are permitted provided that the following conditions
6// are met:
7// 1. Redistributions of source code must retain the above copyright
8//    notice, this list of conditions and the following disclaimer.
9// 2. Redistributions in binary form must reproduce the above copyright
10//    notice, this list of conditions and the following disclaimer in the
11//    documentation and/or other materials provided with the distribution.
12//
13// THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
14// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16// PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
17// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
20// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24
25// This file is used by bindings/scripts/CodeGeneratorObjC.pm to determine public API.
26// All public DOM class interfaces, properties and methods need to be in this file.
27// Anything not in the file will be generated into the appropriate private header file.
28
29#ifndef OBJC_CODE_GENERATION
30#error Do not include this header, instead include the appropriate DOM header.
31#endif
32
33#ifdef __APPLE__
34#include <TargetConditionals.h>
35#endif
36
37@interface DOMAttr : DOMNode 10_4
38@property (readonly, copy) NSString *name;
39@property (readonly) BOOL specified;
40@property (copy) NSString *value;
41@property (readonly, strong) DOMElement *ownerElement;
42@property (readonly, strong) DOMCSSStyleDeclaration *style WEBKIT_AVAILABLE_MAC(10_5);
43@end
44
45@interface DOMCDATASection : DOMText 10_4
46@end
47
48@interface DOMCharacterData : DOMNode 10_4
49@property (copy) NSString *data;
50@property (readonly) unsigned length;
51- (NSString *)substringData:(unsigned)offset :(unsigned)length;
52- (NSString *)substringData:(unsigned)offset length:(unsigned)length WEBKIT_AVAILABLE_MAC(10_5);
53- (void)appendData:(NSString *)data;
54- (void)insertData:(unsigned)offset :(NSString *)data;
55- (void)deleteData:(unsigned)offset :(unsigned)length;
56- (void)replaceData:(unsigned)offset :(unsigned)length :(NSString *)data;
57- (void)insertData:(unsigned)offset data:(NSString *)data WEBKIT_AVAILABLE_MAC(10_5);
58- (void)deleteData:(unsigned)offset length:(unsigned)length WEBKIT_AVAILABLE_MAC(10_5);
59- (void)replaceData:(unsigned)offset length:(unsigned)length data:(NSString *)data WEBKIT_AVAILABLE_MAC(10_5);
60@end
61
62@interface DOMComment : DOMCharacterData 10_4
63@end
64
65@interface DOMImplementation : DOMObject 10_4
66- (BOOL)hasFeature:(NSString *)feature :(NSString *)version;
67- (DOMDocumentType *)createDocumentType:(NSString *)qualifiedName :(NSString *)publicId :(NSString *)systemId;
68- (DOMDocument *)createDocument:(NSString *)namespaceURI :(NSString *)qualifiedName :(DOMDocumentType *)doctype;
69- (DOMCSSStyleSheet *)createCSSStyleSheet:(NSString *)title :(NSString *)media;
70- (BOOL)hasFeature:(NSString *)feature version:(NSString *)version WEBKIT_AVAILABLE_MAC(10_5);
71- (DOMDocumentType *)createDocumentType:(NSString *)qualifiedName publicId:(NSString *)publicId systemId:(NSString *)systemId WEBKIT_AVAILABLE_MAC(10_5);
72- (DOMDocument *)createDocument:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName doctype:(DOMDocumentType *)doctype WEBKIT_AVAILABLE_MAC(10_5);
73- (DOMCSSStyleSheet *)createCSSStyleSheet:(NSString *)title media:(NSString *)media WEBKIT_AVAILABLE_MAC(10_5);
74- (DOMHTMLDocument *)createHTMLDocument:(NSString *)title WEBKIT_AVAILABLE_MAC(10_5);
75@end
76
77@interface DOMAbstractView : DOMObject 10_4
78@property (readonly, strong) DOMDocument *document;
79@end
80
81@interface DOMDocument : DOMNode 10_4
82@property (readonly, strong) DOMDocumentType *doctype;
83@property (readonly, strong) DOMImplementation *implementation;
84@property (readonly, strong) DOMElement *documentElement;
85@property (readonly, strong) DOMAbstractView *defaultView;
86@property (readonly, strong) DOMStyleSheetList *styleSheets;
87@property (readonly, strong) DOMHTMLCollection *images;
88@property (readonly, strong) DOMHTMLCollection *applets;
89@property (readonly, strong) DOMHTMLCollection *links;
90@property (readonly, strong) DOMHTMLCollection *forms;
91@property (readonly, strong) DOMHTMLCollection *anchors;
92@property (copy) NSString *title;
93@property (readonly, copy) NSString *referrer;
94@property (readonly, copy) NSString *domain;
95@property (readonly, copy) NSString *URL;
96@property (strong) DOMHTMLElement *body;
97@property (copy) NSString *cookie;
98@property (readonly, copy) NSString *inputEncoding WEBKIT_AVAILABLE_MAC(10_5);
99@property (readonly, copy) NSString *xmlEncoding WEBKIT_AVAILABLE_MAC(10_5);
100@property (copy) NSString *xmlVersion WEBKIT_AVAILABLE_MAC(10_5);
101@property BOOL xmlStandalone WEBKIT_AVAILABLE_MAC(10_5);
102@property (copy) NSString *documentURI WEBKIT_AVAILABLE_MAC(10_5);
103@property (copy) NSString *charset WEBKIT_AVAILABLE_MAC(10_5);
104@property (readonly, copy) NSString *defaultCharset WEBKIT_AVAILABLE_MAC(10_5);
105@property (readonly, copy) NSString *readyState WEBKIT_AVAILABLE_MAC(10_5);
106@property (readonly, copy) NSString *characterSet WEBKIT_AVAILABLE_MAC(10_5);
107@property (readonly, copy) NSString *preferredStylesheetSet WEBKIT_AVAILABLE_MAC(10_5);
108@property (copy) NSString *selectedStylesheetSet WEBKIT_AVAILABLE_MAC(10_5);
109@property (readonly, copy) NSString *lastModified WEBKIT_AVAILABLE_MAC(10_6);
110@property (readonly, strong) DOMElement *activeElement WEBKIT_AVAILABLE_MAC(10_6);
111- (DOMElement *)createElement:(NSString *)tagName;
112- (DOMDocumentFragment *)createDocumentFragment;
113- (DOMText *)createTextNode:(NSString *)data;
114- (DOMComment *)createComment:(NSString *)data;
115- (DOMCDATASection *)createCDATASection:(NSString *)data;
116- (DOMProcessingInstruction *)createProcessingInstruction:(NSString *)target :(NSString *)data;
117- (DOMProcessingInstruction *)createProcessingInstruction:(NSString *)target data:(NSString *)data WEBKIT_AVAILABLE_MAC(10_5);
118- (DOMAttr *)createAttribute:(NSString *)name;
119- (DOMEntityReference *)createEntityReference:(NSString *)name;
120- (DOMNodeList *)getElementsByTagName:(NSString *)tagname;
121- (DOMNode *)importNode:(DOMNode *)importedNode :(BOOL)deep;
122- (DOMElement *)createElementNS:(NSString *)namespaceURI :(NSString *)qualifiedName;
123- (DOMAttr *)createAttributeNS:(NSString *)namespaceURI :(NSString *)qualifiedName;
124- (DOMNodeList *)getElementsByTagNameNS:(NSString *)namespaceURI :(NSString *)localName;
125- (DOMNode *)importNode:(DOMNode *)importedNode deep:(BOOL)deep WEBKIT_AVAILABLE_MAC(10_5);
126- (DOMNode *)adoptNode:(DOMNode *)source WEBKIT_AVAILABLE_MAC(10_5);
127- (DOMElement *)createElementNS:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName WEBKIT_AVAILABLE_MAC(10_5);
128- (DOMAttr *)createAttributeNS:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName WEBKIT_AVAILABLE_MAC(10_5);
129- (DOMNodeList *)getElementsByTagNameNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
130- (DOMElement *)getElementById:(NSString *)elementId;
131- (DOMEvent *)createEvent:(NSString *)eventType;
132- (DOMRange *)createRange;
133- (DOMCSSStyleDeclaration *)createCSSStyleDeclaration WEBKIT_AVAILABLE_MAC(10_5);
134- (DOMCSSStyleDeclaration *)getOverrideStyle:(DOMElement *)element :(NSString *)pseudoElement;
135- (DOMCSSStyleDeclaration *)getOverrideStyle:(DOMElement *)element pseudoElement:(NSString *)pseudoElement WEBKIT_AVAILABLE_MAC(10_5);
136- (DOMCSSStyleDeclaration *)getComputedStyle:(DOMElement *)element :(NSString *)pseudoElement;
137- (DOMCSSStyleDeclaration *)getComputedStyle:(DOMElement *)element pseudoElement:(NSString *)pseudoElement WEBKIT_AVAILABLE_MAC(10_5);
138- (DOMCSSRuleList *)getMatchedCSSRules:(DOMElement *)element pseudoElement:(NSString *)pseudoElement WEBKIT_AVAILABLE_MAC(10_5);
139- (DOMCSSRuleList *)getMatchedCSSRules:(DOMElement *)element pseudoElement:(NSString *)pseudoElement authorOnly:(BOOL)authorOnly WEBKIT_AVAILABLE_MAC(10_5);
140- (DOMNodeList *)getElementsByName:(NSString *)elementName;
141- (DOMNodeIterator *)createNodeIterator:(DOMNode *)root whatToShow:(unsigned)whatToShow filter:(id <DOMNodeFilter>)filter expandEntityReferences:(BOOL)expandEntityReferences WEBKIT_AVAILABLE_MAC(10_5);
142- (DOMTreeWalker *)createTreeWalker:(DOMNode *)root whatToShow:(unsigned)whatToShow filter:(id <DOMNodeFilter>)filter expandEntityReferences:(BOOL)expandEntityReferences WEBKIT_AVAILABLE_MAC(10_5);
143- (DOMNodeIterator *)createNodeIterator:(DOMNode *)root :(unsigned)whatToShow :(id <DOMNodeFilter>)filter :(BOOL)expandEntityReferences;
144- (DOMTreeWalker *)createTreeWalker:(DOMNode *)root :(unsigned)whatToShow :(id <DOMNodeFilter>)filter :(BOOL)expandEntityReferences;
145- (DOMXPathExpression *)createExpression:(NSString *)expression :(id <DOMXPathNSResolver>)resolver WEBKIT_DEPRECATED_MAC(10_5, 10_5);
146- (DOMXPathExpression *)createExpression:(NSString *)expression resolver:(id <DOMXPathNSResolver>)resolver WEBKIT_AVAILABLE_MAC(10_5);
147- (id <DOMXPathNSResolver>)createNSResolver:(DOMNode *)nodeResolver WEBKIT_AVAILABLE_MAC(10_5);
148- (DOMXPathResult *)evaluate:(NSString *)expression :(DOMNode *)contextNode :(id <DOMXPathNSResolver>)resolver :(unsigned short)type :(DOMXPathResult *)inResult WEBKIT_DEPRECATED_MAC(10_5, 10_5);
149- (DOMXPathResult *)evaluate:(NSString *)expression contextNode:(DOMNode *)contextNode resolver:(id <DOMXPathNSResolver>)resolver type:(unsigned short)type inResult:(DOMXPathResult *)inResult WEBKIT_AVAILABLE_MAC(10_5);
150- (BOOL)execCommand:(NSString *)command userInterface:(BOOL)userInterface value:(NSString *)value WEBKIT_AVAILABLE_MAC(10_5);
151- (BOOL)execCommand:(NSString *)command userInterface:(BOOL)userInterface WEBKIT_AVAILABLE_MAC(10_5);
152- (BOOL)execCommand:(NSString *)command WEBKIT_AVAILABLE_MAC(10_5);
153- (BOOL)queryCommandEnabled:(NSString *)command WEBKIT_AVAILABLE_MAC(10_5);
154- (BOOL)queryCommandIndeterm:(NSString *)command WEBKIT_AVAILABLE_MAC(10_5);
155- (BOOL)queryCommandState:(NSString *)command WEBKIT_AVAILABLE_MAC(10_5);
156- (BOOL)queryCommandSupported:(NSString *)command WEBKIT_AVAILABLE_MAC(10_5);
157- (NSString *)queryCommandValue:(NSString *)command WEBKIT_AVAILABLE_MAC(10_5);
158- (DOMElement *)elementFromPoint:(int)x y:(int)y WEBKIT_AVAILABLE_MAC(10_5);
159- (DOMNodeList *)getElementsByClassName:(NSString *)tagname WEBKIT_AVAILABLE_MAC(10_6);
160- (DOMElement *)querySelector:(NSString *)selectors WEBKIT_AVAILABLE_MAC(10_6);
161- (DOMNodeList *)querySelectorAll:(NSString *)selectors WEBKIT_AVAILABLE_MAC(10_6);
162#if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API
163- (void)webkitCancelFullScreen WEBKIT_AVAILABLE_MAC(10_6);
164#endif
165- (BOOL)hasFocus WEBKIT_AVAILABLE_MAC(10_6);
166@end
167
168@interface DOMDocumentFragment : DOMNode 10_4
169@end
170
171@interface DOMDocumentType : DOMNode 10_4
172@property (readonly, copy) NSString *name;
173@property (readonly, strong) DOMNamedNodeMap *entities;
174@property (readonly, strong) DOMNamedNodeMap *notations;
175@property (readonly, copy) NSString *publicId;
176@property (readonly, copy) NSString *systemId;
177@property (readonly, copy) NSString *internalSubset;
178@end
179
180@interface DOMElement : DOMNode 10_4
181@property (readonly, copy) NSString *tagName;
182@property (readonly, strong) DOMCSSStyleDeclaration *style;
183@property (copy) NSString *className;
184@property (readonly) int offsetLeft;
185@property (readonly) int offsetTop;
186@property (readonly) int offsetWidth;
187@property (readonly) int offsetHeight;
188@property (readonly, strong) DOMElement *offsetParent;
189@property (readonly) int clientWidth;
190@property (readonly) int clientHeight;
191@property int scrollLeft;
192@property int scrollTop;
193@property (readonly) int scrollWidth;
194@property (readonly) int scrollHeight;
195@property (readonly) int clientLeft WEBKIT_AVAILABLE_MAC(10_5);
196@property (readonly) int clientTop WEBKIT_AVAILABLE_MAC(10_5);
197@property (readonly, copy) NSString *innerText WEBKIT_AVAILABLE_MAC(10_5);
198@property (readonly, strong) DOMElement *firstElementChild WEBKIT_AVAILABLE_MAC(10_6);
199@property (readonly, strong) DOMElement *lastElementChild WEBKIT_AVAILABLE_MAC(10_6);
200@property (readonly, strong) DOMElement *previousElementSibling WEBKIT_AVAILABLE_MAC(10_6);
201@property (readonly, strong) DOMElement *nextElementSibling WEBKIT_AVAILABLE_MAC(10_6);
202@property (readonly) unsigned childElementCount WEBKIT_AVAILABLE_MAC(10_6);
203- (NSString *)getAttribute:(NSString *)name;
204- (void)setAttribute:(NSString *)name :(NSString *)value;
205- (void)setAttribute:(NSString *)name value:(NSString *)value WEBKIT_AVAILABLE_MAC(10_5);
206- (void)removeAttribute:(NSString *)name;
207- (DOMAttr *)getAttributeNode:(NSString *)name;
208- (DOMAttr *)setAttributeNode:(DOMAttr *)newAttr;
209- (DOMAttr *)removeAttributeNode:(DOMAttr *)oldAttr;
210- (DOMNodeList *)getElementsByTagName:(NSString *)name;
211- (NSString *)getAttributeNS:(NSString *)namespaceURI :(NSString *)localName;
212- (void)setAttributeNS:(NSString *)namespaceURI :(NSString *)qualifiedName :(NSString *)value;
213- (void)removeAttributeNS:(NSString *)namespaceURI :(NSString *)localName;
214- (DOMNodeList *)getElementsByTagNameNS:(NSString *)namespaceURI :(NSString *)localName;
215- (DOMAttr *)getAttributeNodeNS:(NSString *)namespaceURI :(NSString *)localName;
216- (NSString *)getAttributeNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
217- (void)setAttributeNS:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName value:(NSString *)value WEBKIT_AVAILABLE_MAC(10_5);
218- (void)removeAttributeNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
219- (DOMNodeList *)getElementsByTagNameNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
220- (DOMAttr *)getAttributeNodeNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
221- (DOMAttr *)setAttributeNodeNS:(DOMAttr *)newAttr;
222- (BOOL)hasAttribute:(NSString *)name;
223- (BOOL)hasAttributeNS:(NSString *)namespaceURI :(NSString *)localName;
224- (BOOL)hasAttributeNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
225- (void)scrollIntoView:(BOOL)alignWithTop WEBKIT_AVAILABLE_MAC(10_5);
226- (void)scrollIntoViewIfNeeded:(BOOL)centerIfNeeded WEBKIT_AVAILABLE_MAC(10_5);
227- (void)scrollByLines:(int)lines WEBKIT_AVAILABLE_MAC(10_5);
228- (void)scrollByPages:(int)pages WEBKIT_AVAILABLE_MAC(10_5);
229- (void)focus WEBKIT_AVAILABLE_MAC(10_6);
230- (void)blur WEBKIT_AVAILABLE_MAC(10_6);
231- (DOMNodeList *)getElementsByClassName:(NSString *)name WEBKIT_AVAILABLE_MAC(10_6);
232- (DOMElement *)querySelector:(NSString *)selectors WEBKIT_AVAILABLE_MAC(10_6);
233- (DOMNodeList *)querySelectorAll:(NSString *)selectors WEBKIT_AVAILABLE_MAC(10_6);
234#if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API
235- (void)webkitRequestFullScreen:(unsigned short)flags WEBKIT_AVAILABLE_MAC(10_6);
236#endif
237@end
238
239@interface DOMEntity : DOMNode 10_4
240@property (readonly, copy) NSString *publicId;
241@property (readonly, copy) NSString *systemId;
242@property (readonly, copy) NSString *notationName;
243@end
244
245@interface DOMEntityReference : DOMNode 10_4
246@end
247
248@interface DOMBlob : DOMObject 10_6
249@property (readonly) unsigned long long size;
250@end
251
252@interface DOMFile : DOMBlob 10_6
253@property (readonly, copy) NSString *name;
254@end
255
256@interface DOMFileList : DOMObject 10_6
257@property (readonly) unsigned length;
258- (DOMFile *)item:(unsigned)index;
259@end
260
261@interface DOMNamedNodeMap : DOMObject 10_4
262@property (readonly) unsigned length;
263- (DOMNode *)getNamedItem:(NSString *)name;
264- (DOMNode *)setNamedItem:(DOMNode *)node;
265- (DOMNode *)removeNamedItem:(NSString *)name;
266- (DOMNode *)item:(unsigned)index;
267- (DOMNode *)getNamedItemNS:(NSString *)namespaceURI :(NSString *)localName;
268- (DOMNode *)getNamedItemNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
269- (DOMNode *)setNamedItemNS:(DOMNode *)node;
270- (DOMNode *)removeNamedItemNS:(NSString *)namespaceURI :(NSString *)localName;
271- (DOMNode *)removeNamedItemNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
272@end
273
274@interface DOMNode : DOMObject 10_4
275@property (readonly, copy) NSString *nodeName;
276@property (copy) NSString *nodeValue;
277@property (readonly) unsigned short nodeType;
278@property (readonly, strong) DOMNode *parentNode;
279@property (readonly, strong) DOMNodeList *childNodes;
280@property (readonly, strong) DOMNode *firstChild;
281@property (readonly, strong) DOMNode *lastChild;
282@property (readonly, strong) DOMNode *previousSibling;
283@property (readonly, strong) DOMNode *nextSibling;
284@property (readonly, strong) DOMNamedNodeMap *attributes;
285@property (readonly, strong) DOMDocument *ownerDocument;
286@property (readonly, copy) NSString *namespaceURI;
287@property (copy) NSString *prefix;
288@property (readonly, copy) NSString *localName;
289@property (copy) NSString *textContent WEBKIT_AVAILABLE_MAC(10_5);
290@property (readonly, copy) NSString *baseURI WEBKIT_AVAILABLE_MAC(10_5);
291@property (readonly, strong) DOMElement *parentElement WEBKIT_AVAILABLE_MAC(10_5);
292@property (readonly) BOOL isContentEditable WEBKIT_AVAILABLE_MAC(10_5);
293- (DOMNode *)insertBefore:(DOMNode *)newChild :(DOMNode *)refChild;
294- (DOMNode *)insertBefore:(DOMNode *)newChild refChild:(DOMNode *)refChild WEBKIT_AVAILABLE_MAC(10_5);
295- (DOMNode *)replaceChild:(DOMNode *)newChild :(DOMNode *)oldChild;
296- (DOMNode *)replaceChild:(DOMNode *)newChild oldChild:(DOMNode *)oldChild WEBKIT_AVAILABLE_MAC(10_5);
297- (DOMNode *)removeChild:(DOMNode *)oldChild;
298- (DOMNode *)appendChild:(DOMNode *)newChild;
299- (BOOL)hasChildNodes;
300- (DOMNode *)cloneNode:(BOOL)deep;
301- (void)normalize;
302- (BOOL)isSupported:(NSString *)feature :(NSString *)version;
303- (BOOL)isSupported:(NSString *)feature version:(NSString *)version WEBKIT_AVAILABLE_MAC(10_5);
304- (BOOL)hasAttributes;
305- (BOOL)isSameNode:(DOMNode *)other WEBKIT_AVAILABLE_MAC(10_5);
306- (BOOL)isEqualNode:(DOMNode *)other WEBKIT_AVAILABLE_MAC(10_5);
307- (NSString *)lookupPrefix:(NSString *)namespaceURI WEBKIT_AVAILABLE_MAC(10_5);
308- (BOOL)isDefaultNamespace:(NSString *)namespaceURI WEBKIT_AVAILABLE_MAC(10_5);
309- (NSString *)lookupNamespaceURI:(NSString *)prefix WEBKIT_AVAILABLE_MAC(10_5);
310- (unsigned short)compareDocumentPosition:(DOMNode *)other WEBKIT_AVAILABLE_MAC(10_6);
311- (BOOL)contains:(DOMNode *)other WEBKIT_AVAILABLE_MAC(10_5);
312@end
313
314@interface DOMNodeList : DOMObject 10_4
315@property (readonly) unsigned length;
316- (DOMNode *)item:(unsigned)index;
317@end
318
319@interface DOMNotation : DOMNode 10_4
320@property (readonly, copy) NSString *publicId;
321@property (readonly, copy) NSString *systemId;
322@end
323
324@interface DOMProcessingInstruction : DOMCharacterData 10_4
325@property (readonly, copy) NSString *target;
326@property (readonly, strong) DOMStyleSheet *sheet WEBKIT_AVAILABLE_MAC(10_4);
327@end
328
329@interface DOMText : DOMCharacterData 10_4
330@property (readonly, copy) NSString *wholeText WEBKIT_AVAILABLE_MAC(10_6);
331- (DOMText *)splitText:(unsigned)offset;
332- (DOMText *)replaceWholeText:(NSString *)content WEBKIT_AVAILABLE_MAC(10_6);
333@end
334
335@interface DOMHTMLAnchorElement : DOMHTMLElement 10_4
336@property (copy) NSString *accessKey WEBKIT_DEPRECATED_MAC(10_4, 10_8);
337@property (copy) NSString *charset;
338@property (copy) NSString *coords;
339@property (copy) NSString *href;
340@property (copy) NSString *hreflang;
341@property (copy) NSString *name;
342@property (copy) NSString *rel;
343@property (copy) NSString *rev;
344@property (copy) NSString *shape;
345@property (copy) NSString *target;
346@property (copy) NSString *type;
347@property (readonly, copy) NSURL *absoluteLinkURL WEBKIT_AVAILABLE_MAC(10_5);
348@property (readonly, copy) NSString *hashName WEBKIT_AVAILABLE_MAC(10_5);
349@property (readonly, copy) NSString *host WEBKIT_AVAILABLE_MAC(10_5);
350@property (readonly, copy) NSString *hostname WEBKIT_AVAILABLE_MAC(10_5);
351@property (readonly, copy) NSString *pathname WEBKIT_AVAILABLE_MAC(10_5);
352@property (readonly, copy) NSString *port WEBKIT_AVAILABLE_MAC(10_5);
353@property (readonly, copy) NSString *protocol WEBKIT_AVAILABLE_MAC(10_5);
354@property (readonly, copy) NSString *search WEBKIT_AVAILABLE_MAC(10_5);
355@property (readonly, copy) NSString *text WEBKIT_AVAILABLE_MAC(10_5);
356@end
357
358@interface DOMHTMLAppletElement : DOMHTMLElement 10_4
359@property (copy) NSString *align;
360@property (copy) NSString *alt;
361@property (copy) NSString *archive;
362@property (copy) NSString *code;
363@property (copy) NSString *codeBase;
364@property (copy) NSString *height;
365@property int hspace;
366@property (copy) NSString *name;
367@property (copy) NSString *object;
368@property int vspace;
369@property (copy) NSString *width;
370@end
371
372@interface DOMHTMLAreaElement : DOMHTMLElement 10_4
373@property (copy) NSString *accessKey WEBKIT_DEPRECATED_MAC(10_4, 10_8);
374@property (copy) NSString *alt;
375@property (copy) NSString *coords;
376@property (copy) NSString *href;
377@property BOOL noHref;
378@property (copy) NSString *shape;
379@property (copy) NSString *target;
380@property (readonly, copy) NSURL *absoluteLinkURL WEBKIT_AVAILABLE_MAC(10_5);
381@property (readonly, copy) NSString *hashName WEBKIT_AVAILABLE_MAC(10_5);
382@property (readonly, copy) NSString *host WEBKIT_AVAILABLE_MAC(10_5);
383@property (readonly, copy) NSString *hostname WEBKIT_AVAILABLE_MAC(10_5);
384@property (readonly, copy) NSString *pathname WEBKIT_AVAILABLE_MAC(10_5);
385@property (readonly, copy) NSString *port WEBKIT_AVAILABLE_MAC(10_5);
386@property (readonly, copy) NSString *protocol WEBKIT_AVAILABLE_MAC(10_5);
387@property (readonly, copy) NSString *search WEBKIT_AVAILABLE_MAC(10_5);
388@end
389
390@interface DOMHTMLBRElement : DOMHTMLElement 10_4
391@property (copy) NSString *clear;
392@end
393
394@interface DOMHTMLBaseElement : DOMHTMLElement 10_4
395@property (copy) NSString *href;
396@property (copy) NSString *target;
397@end
398
399@interface DOMHTMLBaseFontElement : DOMHTMLElement 10_4
400@property (copy) NSString *color;
401@property (copy) NSString *face;
402@property (copy) NSString *size;
403@end
404
405@interface DOMHTMLBodyElement : DOMHTMLElement 10_4
406@property (copy) NSString *aLink;
407@property (copy) NSString *background;
408@property (copy) NSString *bgColor;
409@property (copy) NSString *link;
410@property (copy) NSString *text;
411@property (copy) NSString *vLink;
412@end
413
414@interface DOMHTMLButtonElement : DOMHTMLElement 10_4
415@property (copy) NSString *accessKey WEBKIT_DEPRECATED_MAC(10_4, 10_8);
416@property (readonly, strong) DOMHTMLFormElement *form;
417@property BOOL disabled;
418@property (copy) NSString *name;
419@property (copy) NSString *type;
420@property (copy) NSString *value;
421@property BOOL autofocus WEBKIT_AVAILABLE_MAC(10_6);
422@property (readonly) BOOL willValidate WEBKIT_AVAILABLE_MAC(10_6);
423- (void)click WEBKIT_AVAILABLE_MAC(10_5);
424@end
425
426@interface DOMHTMLCanvasElement : DOMHTMLElement 10_5
427@property int height;
428@property int width;
429@end
430
431@interface DOMHTMLCollection : DOMObject 10_4
432@property (readonly) unsigned length;
433- (DOMNode *)item:(unsigned)index;
434- (DOMNode *)namedItem:(NSString *)name;
435- (DOMNodeList *)tags:(NSString *)name WEBKIT_AVAILABLE_MAC(10_6);
436@end
437
438@interface DOMHTMLDListElement : DOMHTMLElement 10_4
439@property BOOL compact;
440@end
441
442@interface DOMHTMLDirectoryElement : DOMHTMLElement 10_4
443@property BOOL compact;
444@end
445
446@interface DOMHTMLDivElement : DOMHTMLElement 10_4
447@property (copy) NSString *align;
448@end
449
450@interface DOMHTMLDocument : DOMDocument 10_4
451@property (readonly, strong) DOMHTMLCollection *embeds WEBKIT_AVAILABLE_MAC(10_5);
452@property (readonly, strong) DOMHTMLCollection *plugins WEBKIT_AVAILABLE_MAC(10_5);
453@property (readonly, strong) DOMHTMLCollection *scripts WEBKIT_AVAILABLE_MAC(10_5);
454@property (readonly) int width WEBKIT_AVAILABLE_MAC(10_5);
455@property (readonly) int height WEBKIT_AVAILABLE_MAC(10_5);
456@property (copy) NSString *dir WEBKIT_AVAILABLE_MAC(10_5);
457@property (copy) NSString *designMode WEBKIT_AVAILABLE_MAC(10_5);
458@property (copy) NSString *bgColor WEBKIT_AVAILABLE_MAC(10_5);
459@property (copy) NSString *fgColor WEBKIT_AVAILABLE_MAC(10_5);
460@property (copy) NSString *alinkColor WEBKIT_AVAILABLE_MAC(10_5);
461@property (copy) NSString *linkColor WEBKIT_AVAILABLE_MAC(10_5);
462@property (copy) NSString *vlinkColor WEBKIT_AVAILABLE_MAC(10_5);
463@property (readonly, copy) NSString *compatMode WEBKIT_AVAILABLE_MAC(10_6);
464- (void)captureEvents WEBKIT_AVAILABLE_MAC(10_5);
465- (void)releaseEvents WEBKIT_AVAILABLE_MAC(10_5);
466- (void)clear WEBKIT_AVAILABLE_MAC(10_6);
467- (void)open;
468- (void)close;
469- (void)write:(NSString *)text;
470- (void)writeln:(NSString *)text;
471@end
472
473@interface DOMHTMLElement : DOMElement 10_4
474@property (copy) NSString *accessKey WEBKIT_AVAILABLE_MAC(10_8);
475@property (copy) NSString *title;
476@property (copy) NSString *idName;
477@property (copy) NSString *lang;
478@property (copy) NSString *dir;
479@property (copy) NSString *innerHTML;
480@property (copy) NSString *innerText;
481@property (copy) NSString *outerHTML;
482@property (copy) NSString *outerText;
483@property (readonly, strong) DOMHTMLCollection *children;
484@property (copy) NSString *contentEditable;
485@property (readonly) BOOL isContentEditable;
486@property (readonly, copy) NSString *titleDisplayString WEBKIT_AVAILABLE_MAC(10_5);
487@property int tabIndex;
488- (void)click WEBKIT_AVAILABLE_MAC(10_8);
489@end
490
491@interface DOMHTMLEmbedElement : DOMHTMLElement 10_4
492@property (copy) NSString *align;
493@property int height;
494@property (copy) NSString *name;
495@property (copy) NSString *src;
496@property (copy) NSString *type;
497@property int width;
498@end
499
500@interface DOMHTMLFieldSetElement : DOMHTMLElement 10_4
501@property (readonly, strong) DOMHTMLFormElement *form;
502@end
503
504@interface DOMHTMLFontElement : DOMHTMLElement 10_4
505@property (copy) NSString *color;
506@property (copy) NSString *face;
507@property (copy) NSString *size;
508@end
509
510@interface DOMHTMLFormElement : DOMHTMLElement 10_4
511@property (readonly, strong) DOMHTMLCollection *elements;
512@property (readonly) int length;
513@property (copy) NSString *name;
514@property (copy) NSString *acceptCharset;
515@property (copy) NSString *action;
516@property (copy) NSString *enctype;
517@property (copy) NSString *method;
518@property (copy) NSString *target;
519@property (copy) NSString *encoding WEBKIT_AVAILABLE_MAC(10_5);
520- (void)submit;
521- (void)reset;
522@end
523
524@interface DOMHTMLFrameElement : DOMHTMLElement 10_4
525@property (copy) NSString *frameBorder;
526@property (copy) NSString *longDesc;
527@property (copy) NSString *marginHeight;
528@property (copy) NSString *marginWidth;
529@property (copy) NSString *name;
530@property BOOL noResize;
531@property (copy) NSString *scrolling;
532@property (copy) NSString *src;
533@property (readonly, strong) DOMDocument *contentDocument;
534@property (readonly, strong) DOMAbstractView *contentWindow WEBKIT_AVAILABLE_MAC(10_5);
535@property (copy) NSString *location WEBKIT_AVAILABLE_MAC(10_5);
536@property (readonly) int width WEBKIT_AVAILABLE_MAC(10_5);
537@property (readonly) int height WEBKIT_AVAILABLE_MAC(10_5);
538@end
539
540@interface DOMHTMLFrameSetElement : DOMHTMLElement 10_4
541@property (copy) NSString *cols;
542@property (copy) NSString *rows;
543@end
544
545@interface DOMHTMLHRElement : DOMHTMLElement 10_4
546@property (copy) NSString *align;
547@property BOOL noShade;
548@property (copy) NSString *size;
549@property (copy) NSString *width;
550@end
551
552@interface DOMHTMLHeadElement : DOMHTMLElement 10_4
553@property (copy) NSString *profile;
554@end
555
556@interface DOMHTMLHeadingElement : DOMHTMLElement 10_4
557@property (copy) NSString *align;
558@end
559
560@interface DOMHTMLHtmlElement : DOMHTMLElement 10_4
561@property (copy) NSString *version;
562@end
563
564@interface DOMHTMLIFrameElement : DOMHTMLElement 10_4
565@property (copy) NSString *align;
566@property (copy) NSString *frameBorder;
567@property (copy) NSString *height;
568@property (copy) NSString *longDesc;
569@property (copy) NSString *marginHeight;
570@property (copy) NSString *marginWidth;
571@property (copy) NSString *name;
572@property (copy) NSString *scrolling;
573@property (copy) NSString *src;
574@property (copy) NSString *width;
575@property (readonly, strong) DOMDocument *contentDocument;
576@property (readonly, strong) DOMAbstractView *contentWindow WEBKIT_AVAILABLE_MAC(10_6);
577@end
578
579@interface DOMHTMLImageElement : DOMHTMLElement 10_4
580@property (copy) NSString *name;
581@property (copy) NSString *align;
582@property (copy) NSString *alt;
583@property (copy) NSString *border;
584@property int height;
585@property int hspace;
586@property BOOL isMap;
587@property (copy) NSString *longDesc;
588@property (copy) NSString *src;
589@property (copy) NSString *useMap;
590@property int vspace;
591@property int width;
592@property (readonly, copy) NSString *altDisplayString WEBKIT_AVAILABLE_MAC(10_5);
593@property (readonly, copy) NSURL *absoluteImageURL WEBKIT_AVAILABLE_MAC(10_5);
594@property (readonly) BOOL complete WEBKIT_AVAILABLE_MAC(10_5);
595@property (copy) NSString *lowsrc WEBKIT_AVAILABLE_MAC(10_5);
596@property (readonly) int naturalHeight WEBKIT_AVAILABLE_MAC(10_5);
597@property (readonly) int naturalWidth WEBKIT_AVAILABLE_MAC(10_5);
598@property (readonly) int x WEBKIT_AVAILABLE_MAC(10_5);
599@property (readonly) int y WEBKIT_AVAILABLE_MAC(10_5);
600@end
601
602@interface DOMHTMLInputElement : DOMHTMLElement 10_4
603@property (copy) NSString *defaultValue;
604@property BOOL defaultChecked;
605@property (readonly, strong) DOMHTMLFormElement *form;
606@property (copy) NSString *accept;
607@property (copy) NSString *accessKey WEBKIT_DEPRECATED_MAC(10_4, 10_8);
608@property (copy) NSString *align;
609@property (copy) NSString *alt;
610@property BOOL checked;
611@property BOOL disabled;
612@property int maxLength;
613@property (copy) NSString *name;
614@property BOOL readOnly;
615@property (copy) NSString *size;
616@property (copy) NSString *src;
617@property (copy) NSString *type;
618@property (copy) NSString *useMap;
619@property (copy) NSString *value;
620@property (readonly, copy) NSString *altDisplayString WEBKIT_AVAILABLE_MAC(10_5);
621@property (readonly, copy) NSURL *absoluteImageURL WEBKIT_AVAILABLE_MAC(10_5);
622@property BOOL indeterminate WEBKIT_AVAILABLE_MAC(10_5);
623@property int selectionStart WEBKIT_AVAILABLE_MAC(10_5);
624@property int selectionEnd WEBKIT_AVAILABLE_MAC(10_5);
625@property BOOL autofocus WEBKIT_AVAILABLE_MAC(10_6);
626@property BOOL multiple WEBKIT_AVAILABLE_MAC(10_6);
627@property (readonly) BOOL willValidate WEBKIT_AVAILABLE_MAC(10_6);
628@property (strong) DOMFileList *files WEBKIT_AVAILABLE_MAC(10_6);
629- (void)select;
630- (void)click;
631- (void)setSelectionRange:(int)start end:(int)end WEBKIT_AVAILABLE_MAC(10_5);
632@end
633
634@interface DOMHTMLLIElement : DOMHTMLElement 10_4
635@property (copy) NSString *type;
636@property int value;
637@end
638
639@interface DOMHTMLLabelElement : DOMHTMLElement 10_4
640@property (copy) NSString *accessKey WEBKIT_DEPRECATED_MAC(10_4, 10_8);
641@property (readonly, strong) DOMHTMLFormElement *form;
642@property (copy) NSString *htmlFor;
643@end
644
645@interface DOMHTMLLegendElement : DOMHTMLElement 10_4
646@property (copy) NSString *accessKey WEBKIT_DEPRECATED_MAC(10_4, 10_8);
647@property (readonly, strong) DOMHTMLFormElement *form;
648@property (copy) NSString *align;
649@end
650
651@interface DOMHTMLLinkElement : DOMHTMLElement 10_4
652@property BOOL disabled;
653@property (copy) NSString *charset;
654@property (copy) NSString *href;
655@property (copy) NSString *hreflang;
656@property (copy) NSString *media;
657@property (copy) NSString *rel;
658@property (copy) NSString *rev;
659@property (copy) NSString *target;
660@property (copy) NSString *type;
661@property (readonly, copy) NSURL *absoluteLinkURL WEBKIT_AVAILABLE_MAC(10_5);
662@property (readonly, strong) DOMStyleSheet *sheet WEBKIT_AVAILABLE_MAC(10_4);
663@end
664
665@interface DOMHTMLMapElement : DOMHTMLElement 10_4
666@property (readonly, strong) DOMHTMLCollection *areas;
667@property (copy) NSString *name;
668@end
669
670@interface DOMHTMLMarqueeElement : DOMHTMLElement 10_5
671- (void)start;
672- (void)stop;
673@end
674
675@interface DOMHTMLMenuElement : DOMHTMLElement 10_4
676@property BOOL compact;
677@end
678
679@interface DOMHTMLMetaElement : DOMHTMLElement 10_4
680@property (copy) NSString *content;
681@property (copy) NSString *httpEquiv;
682@property (copy) NSString *name;
683@property (copy) NSString *scheme;
684@end
685
686@interface DOMHTMLModElement : DOMHTMLElement 10_4
687@property (copy) NSString *cite;
688@property (copy) NSString *dateTime;
689@end
690
691@interface DOMHTMLOListElement : DOMHTMLElement 10_4
692@property BOOL compact;
693@property int start;
694@property (copy) NSString *type;
695@end
696
697@interface DOMHTMLObjectElement : DOMHTMLElement 10_4
698@property (readonly, strong) DOMHTMLFormElement *form;
699@property (copy) NSString *code;
700@property (copy) NSString *align;
701@property (copy) NSString *archive;
702@property (copy) NSString *border;
703@property (copy) NSString *codeBase;
704@property (copy) NSString *codeType;
705@property (copy) NSString *data;
706@property BOOL declare;
707@property (copy) NSString *height;
708@property int hspace;
709@property (copy) NSString *name;
710@property (copy) NSString *standby;
711@property (copy) NSString *type;
712@property (copy) NSString *useMap;
713@property int vspace;
714@property (copy) NSString *width;
715@property (readonly, strong) DOMDocument *contentDocument;
716@property (readonly, copy) NSURL *absoluteImageURL WEBKIT_AVAILABLE_MAC(10_5);
717@end
718
719@interface DOMHTMLOptGroupElement : DOMHTMLElement 10_4
720@property BOOL disabled;
721@property (copy) NSString *label;
722@end
723
724@interface DOMHTMLOptionElement : DOMHTMLElement 10_4
725@property (readonly, strong) DOMHTMLFormElement *form;
726@property BOOL defaultSelected;
727@property (readonly, copy) NSString *text;
728@property (readonly) int index;
729@property BOOL disabled;
730@property (copy) NSString *label;
731@property BOOL selected;
732@property (copy) NSString *value;
733@end
734
735@interface DOMHTMLOptionsCollection : DOMObject 10_4
736@property unsigned length;
737@property int selectedIndex WEBKIT_AVAILABLE_MAC(10_5);
738- (DOMNode *)item:(unsigned)index;
739- (DOMNode *)namedItem:(NSString *)name;
740- (void)add:(DOMHTMLOptionElement *)option index:(unsigned)index WEBKIT_AVAILABLE_MAC(10_5);
741- (void)remove:(unsigned)index WEBKIT_AVAILABLE_MAC(10_6);
742@end
743
744@interface DOMHTMLParagraphElement : DOMHTMLElement 10_4
745@property (copy) NSString *align;
746@end
747
748@interface DOMHTMLParamElement : DOMHTMLElement 10_4
749@property (copy) NSString *name;
750@property (copy) NSString *type;
751@property (copy) NSString *value;
752@property (copy) NSString *valueType;
753@end
754
755@interface DOMHTMLPreElement : DOMHTMLElement 10_4
756@property int width;
757@property BOOL wrap WEBKIT_AVAILABLE_MAC(10_5);
758@end
759
760@interface DOMHTMLQuoteElement : DOMHTMLElement 10_4
761@property (copy) NSString *cite;
762@end
763
764@interface DOMHTMLScriptElement : DOMHTMLElement 10_4
765@property (copy) NSString *text;
766@property (copy) NSString *htmlFor;
767@property (copy) NSString *event;
768@property (copy) NSString *charset;
769@property BOOL defer;
770@property (copy) NSString *src;
771@property (copy) NSString *type;
772@end
773
774@interface DOMHTMLSelectElement : DOMHTMLElement 10_4
775@property (readonly, copy) NSString *type;
776@property int selectedIndex;
777@property (copy) NSString *value;
778@property (readonly) int length;
779@property (readonly, strong) DOMHTMLFormElement *form;
780@property (readonly, strong) DOMHTMLOptionsCollection *options;
781@property BOOL disabled;
782@property BOOL multiple;
783@property (copy) NSString *name;
784@property int size;
785@property (readonly) BOOL willValidate WEBKIT_AVAILABLE_MAC(10_6);
786@property BOOL autofocus WEBKIT_AVAILABLE_MAC(10_6);
787- (void)add:(DOMHTMLElement *)element :(DOMHTMLElement *)before;
788- (void)add:(DOMHTMLElement *)element before:(DOMHTMLElement *)before WEBKIT_AVAILABLE_MAC(10_5);
789- (void)remove:(int)index;
790- (DOMNode *)item:(unsigned)index WEBKIT_AVAILABLE_MAC(10_6);
791- (DOMNode *)namedItem:(NSString *)name WEBKIT_AVAILABLE_MAC(10_6);
792@end
793
794@interface DOMHTMLStyleElement : DOMHTMLElement 10_4
795@property BOOL disabled;
796@property (copy) NSString *media;
797@property (copy) NSString *type;
798@property (readonly, strong) DOMStyleSheet *sheet WEBKIT_AVAILABLE_MAC(10_4);
799@end
800
801@interface DOMHTMLTableCaptionElement : DOMHTMLElement 10_4
802@property (copy) NSString *align;
803@end
804
805@interface DOMHTMLTableCellElement : DOMHTMLElement 10_4
806@property (readonly) int cellIndex;
807@property (copy) NSString *abbr;
808@property (copy) NSString *align;
809@property (copy) NSString *axis;
810@property (copy) NSString *bgColor;
811@property (copy) NSString *ch;
812@property (copy) NSString *chOff;
813@property int colSpan;
814@property (copy) NSString *headers;
815@property (copy) NSString *height;
816@property BOOL noWrap;
817@property int rowSpan;
818@property (copy) NSString *scope;
819@property (copy) NSString *vAlign;
820@property (copy) NSString *width;
821@end
822
823@interface DOMHTMLTableColElement : DOMHTMLElement 10_4
824@property (copy) NSString *align;
825@property (copy) NSString *ch;
826@property (copy) NSString *chOff;
827@property int span;
828@property (copy) NSString *vAlign;
829@property (copy) NSString *width;
830@end
831
832@interface DOMHTMLTableElement : DOMHTMLElement 10_4
833@property (strong) DOMHTMLTableCaptionElement *caption;
834@property (strong) DOMHTMLTableSectionElement *tHead;
835@property (strong) DOMHTMLTableSectionElement *tFoot;
836@property (readonly, strong) DOMHTMLCollection *rows;
837@property (readonly, strong) DOMHTMLCollection *tBodies;
838@property (copy) NSString *align;
839@property (copy) NSString *bgColor;
840@property (copy) NSString *border;
841@property (copy) NSString *cellPadding;
842@property (copy) NSString *cellSpacing;
843@property (copy) NSString *frameBorders;
844@property (copy) NSString *rules;
845@property (copy) NSString *summary;
846@property (copy) NSString *width;
847- (DOMHTMLElement *)createTHead;
848- (void)deleteTHead;
849- (DOMHTMLElement *)createTFoot;
850- (void)deleteTFoot;
851- (DOMHTMLElement *)createCaption;
852- (void)deleteCaption;
853- (DOMHTMLElement *)insertRow:(int)index;
854- (void)deleteRow:(int)index;
855@end
856
857@interface DOMHTMLTableRowElement : DOMHTMLElement 10_4
858@property (readonly) int rowIndex;
859@property (readonly) int sectionRowIndex;
860@property (readonly, strong) DOMHTMLCollection *cells;
861@property (copy) NSString *align;
862@property (copy) NSString *bgColor;
863@property (copy) NSString *ch;
864@property (copy) NSString *chOff;
865@property (copy) NSString *vAlign;
866- (DOMHTMLElement *)insertCell:(int)index;
867- (void)deleteCell:(int)index;
868@end
869
870@interface DOMHTMLTableSectionElement : DOMHTMLElement 10_4
871@property (copy) NSString *align;
872@property (copy) NSString *ch;
873@property (copy) NSString *chOff;
874@property (copy) NSString *vAlign;
875@property (readonly, strong) DOMHTMLCollection *rows;
876- (DOMHTMLElement *)insertRow:(int)index;
877- (void)deleteRow:(int)index;
878@end
879
880@interface DOMHTMLTextAreaElement : DOMHTMLElement 10_4
881@property (copy) NSString *defaultValue;
882@property (readonly, strong) DOMHTMLFormElement *form;
883@property (copy) NSString *accessKey WEBKIT_DEPRECATED_MAC(10_4, 10_8);
884@property int cols;
885@property BOOL disabled;
886@property (copy) NSString *name;
887@property BOOL readOnly;
888@property int rows;
889@property (readonly, copy) NSString *type;
890@property (copy) NSString *value;
891@property int selectionStart WEBKIT_AVAILABLE_MAC(10_5);
892@property int selectionEnd WEBKIT_AVAILABLE_MAC(10_5);
893@property BOOL autofocus WEBKIT_AVAILABLE_MAC(10_6);
894@property (readonly) BOOL willValidate WEBKIT_AVAILABLE_MAC(10_6);
895- (void)select;
896- (void)setSelectionRange:(int)start end:(int)end WEBKIT_AVAILABLE_MAC(10_5);
897@end
898
899@interface DOMHTMLTitleElement : DOMHTMLElement 10_4
900@property (copy) NSString *text;
901@end
902
903@interface DOMHTMLUListElement : DOMHTMLElement 10_4
904@property BOOL compact;
905@property (copy) NSString *type;
906@end
907
908@interface DOMStyleSheetList : DOMObject 10_4
909@property (readonly) unsigned length;
910- (DOMStyleSheet *)item:(unsigned)index;
911@end
912
913@interface DOMCSSCharsetRule : DOMCSSRule 10_4
914@property (readonly, copy) NSString *encoding;
915@end
916
917@interface DOMCSSFontFaceRule : DOMCSSRule 10_4
918@property (readonly, strong) DOMCSSStyleDeclaration *style;
919@end
920
921@interface DOMCSSImportRule : DOMCSSRule 10_4
922@property (readonly, copy) NSString *href;
923@property (readonly, strong) DOMMediaList *media;
924@property (readonly, strong) DOMCSSStyleSheet *styleSheet;
925@end
926
927@interface DOMCSSMediaRule : DOMCSSRule 10_4
928@property (readonly, strong) DOMMediaList *media;
929@property (readonly, strong) DOMCSSRuleList *cssRules;
930- (unsigned)insertRule:(NSString *)rule :(unsigned)index;
931- (unsigned)insertRule:(NSString *)rule index:(unsigned)index WEBKIT_AVAILABLE_MAC(10_5);
932- (void)deleteRule:(unsigned)index;
933@end
934
935@interface DOMCSSPageRule : DOMCSSRule 10_4
936@property (copy) NSString *selectorText;
937@property (readonly, strong) DOMCSSStyleDeclaration *style;
938@end
939
940@interface DOMCSSPrimitiveValue : DOMCSSValue 10_4
941@property (readonly) unsigned short primitiveType;
942- (void)setFloatValue:(unsigned short)unitType :(float)floatValue;
943- (void)setFloatValue:(unsigned short)unitType floatValue:(float)floatValue WEBKIT_AVAILABLE_MAC(10_5);
944- (float)getFloatValue:(unsigned short)unitType;
945- (void)setStringValue:(unsigned short)stringType :(NSString *)stringValue;
946- (void)setStringValue:(unsigned short)stringType stringValue:(NSString *)stringValue WEBKIT_AVAILABLE_MAC(10_5);
947- (NSString *)getStringValue;
948- (DOMCounter *)getCounterValue;
949- (DOMRect *)getRectValue;
950- (DOMRGBColor *)getRGBColorValue;
951@end
952
953@interface DOMRGBColor : DOMObject 10_4
954@property (readonly, strong) DOMCSSPrimitiveValue *red;
955@property (readonly, strong) DOMCSSPrimitiveValue *green;
956@property (readonly, strong) DOMCSSPrimitiveValue *blue;
957@property (readonly, strong) DOMCSSPrimitiveValue *alpha;
958#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
959- (CGColorRef)color;
960#else
961@property (readonly, copy) NSColor *color WEBKIT_AVAILABLE_MAC(10_5);
962#endif
963@end
964
965@interface DOMCSSRule : DOMObject 10_4
966@property (readonly) unsigned short type;
967@property (copy) NSString *cssText;
968@property (readonly, strong) DOMCSSStyleSheet *parentStyleSheet;
969@property (readonly, strong) DOMCSSRule *parentRule;
970@end
971
972@interface DOMCSSRuleList : DOMObject 10_4
973@property (readonly) unsigned length;
974- (DOMCSSRule *)item:(unsigned)index;
975@end
976
977@interface DOMCSSStyleDeclaration : DOMObject 10_4
978@property (copy) NSString *cssText;
979@property (readonly) unsigned length;
980@property (readonly, strong) DOMCSSRule *parentRule;
981- (NSString *)getPropertyValue:(NSString *)propertyName;
982- (DOMCSSValue *)getPropertyCSSValue:(NSString *)propertyName;
983- (NSString *)removeProperty:(NSString *)propertyName;
984- (NSString *)getPropertyPriority:(NSString *)propertyName;
985- (void)setProperty:(NSString *)propertyName :(NSString *)value :(NSString *)priority;
986- (void)setProperty:(NSString *)propertyName value:(NSString *)value priority:(NSString *)priority WEBKIT_AVAILABLE_MAC(10_5);
987- (NSString *)item:(unsigned)index;
988- (NSString *)getPropertyShorthand:(NSString *)propertyName WEBKIT_DEPRECATED_MAC(10_5, 10_5);
989- (BOOL)isPropertyImplicit:(NSString *)propertyName WEBKIT_AVAILABLE_MAC(10_5);
990@end
991
992@interface DOMCSSStyleRule : DOMCSSRule 10_4
993@property (copy) NSString *selectorText;
994@property (readonly, strong) DOMCSSStyleDeclaration *style;
995@end
996
997@interface DOMStyleSheet : DOMObject 10_4
998@property (readonly, copy) NSString *type;
999@property BOOL disabled;
1000@property (readonly, strong) DOMNode *ownerNode;
1001@property (readonly, strong) DOMStyleSheet *parentStyleSheet;
1002@property (readonly, copy) NSString *href;
1003@property (readonly, copy) NSString *title;
1004@property (readonly, strong) DOMMediaList *media;
1005@end
1006
1007@interface DOMCSSStyleSheet : DOMStyleSheet 10_4
1008@property (readonly, strong) DOMCSSRule *ownerRule;
1009@property (readonly, strong) DOMCSSRuleList *cssRules;
1010@property (readonly, strong) DOMCSSRuleList *rules WEBKIT_AVAILABLE_MAC(10_6);
1011- (unsigned)insertRule:(NSString *)rule :(unsigned)index;
1012- (unsigned)insertRule:(NSString *)rule index:(unsigned)index WEBKIT_AVAILABLE_MAC(10_5);
1013- (void)deleteRule:(unsigned)index;
1014- (int)addRule:(NSString *)selector style:(NSString *)style index:(unsigned)index WEBKIT_AVAILABLE_MAC(10_6);
1015- (void)removeRule:(unsigned)index WEBKIT_AVAILABLE_MAC(10_6);
1016@end
1017
1018@interface DOMCSSValue : DOMObject 10_4
1019@property (copy) NSString *cssText;
1020@property (readonly) unsigned short cssValueType;
1021@end
1022
1023@interface DOMCSSValueList : DOMCSSValue 10_4
1024@property (readonly) unsigned length;
1025- (DOMCSSValue *)item:(unsigned)index;
1026@end
1027
1028@interface DOMCSSUnknownRule : DOMCSSRule 10_4
1029@end
1030
1031@interface DOMCounter : DOMObject 10_4
1032@property (readonly, copy) NSString *identifier;
1033@property (readonly, copy) NSString *listStyle;
1034@property (readonly, copy) NSString *separator;
1035@end
1036
1037@interface DOMRect : DOMObject 10_4
1038@property (readonly, strong) DOMCSSPrimitiveValue *top;
1039@property (readonly, strong) DOMCSSPrimitiveValue *right;
1040@property (readonly, strong) DOMCSSPrimitiveValue *bottom;
1041@property (readonly, strong) DOMCSSPrimitiveValue *left;
1042@end
1043
1044@interface DOMEvent : DOMObject 10_4
1045@property (readonly, copy) NSString *type;
1046@property (readonly, strong) id <DOMEventTarget> target;
1047@property (readonly, strong) id <DOMEventTarget> currentTarget;
1048@property (readonly) unsigned short eventPhase;
1049@property (readonly) BOOL bubbles;
1050@property (readonly) BOOL cancelable;
1051@property (readonly) DOMTimeStamp timeStamp;
1052@property (readonly, strong) id <DOMEventTarget> srcElement WEBKIT_AVAILABLE_MAC(10_6);
1053@property BOOL returnValue WEBKIT_AVAILABLE_MAC(10_6);
1054@property BOOL cancelBubble WEBKIT_AVAILABLE_MAC(10_6);
1055- (void)stopPropagation;
1056- (void)preventDefault;
1057- (void)initEvent:(NSString *)eventTypeArg canBubbleArg:(BOOL)canBubbleArg cancelableArg:(BOOL)cancelableArg WEBKIT_AVAILABLE_MAC(10_5);
1058- (void)initEvent:(NSString *)eventTypeArg :(BOOL)canBubbleArg :(BOOL)cancelableArg;
1059@end
1060
1061@interface DOMUIEvent : DOMEvent 10_4
1062@property (readonly, strong) DOMAbstractView *view;
1063@property (readonly) int detail;
1064@property (readonly) int keyCode WEBKIT_AVAILABLE_MAC(10_5);
1065@property (readonly) int charCode WEBKIT_AVAILABLE_MAC(10_5);
1066@property (readonly) int layerX WEBKIT_DEPRECATED_MAC(10_5, 10_5);
1067@property (readonly) int layerY WEBKIT_DEPRECATED_MAC(10_5, 10_5);
1068@property (readonly) int pageX WEBKIT_AVAILABLE_MAC(10_5);
1069@property (readonly) int pageY WEBKIT_AVAILABLE_MAC(10_5);
1070@property (readonly) int which WEBKIT_AVAILABLE_MAC(10_5);
1071- (void)initUIEvent:(NSString *)type canBubble:(BOOL)canBubble cancelable:(BOOL)cancelable view:(DOMAbstractView *)view detail:(int)detail WEBKIT_AVAILABLE_MAC(10_5);
1072- (void)initUIEvent:(NSString *)type :(BOOL)canBubble :(BOOL)cancelable :(DOMAbstractView *)view :(int)detail;
1073@end
1074
1075@interface DOMMutationEvent : DOMEvent 10_4
1076@property (readonly, strong) DOMNode *relatedNode;
1077@property (readonly, copy) NSString *prevValue;
1078@property (readonly, copy) NSString *newValue;
1079@property (readonly, copy) NSString *attrName;
1080@property (readonly) unsigned short attrChange;
1081- (void)initMutationEvent:(NSString *)type canBubble:(BOOL)canBubble cancelable:(BOOL)cancelable relatedNode:(DOMNode *)relatedNode prevValue:(NSString *)prevValue newValue:(NSString *)newValue attrName:(NSString *)attrName attrChange:(unsigned short)attrChange WEBKIT_AVAILABLE_MAC(10_5);
1082- (void)initMutationEvent:(NSString *)type :(BOOL)canBubble :(BOOL)cancelable :(DOMNode *)relatedNode :(NSString *)prevValue :(NSString *)newValue :(NSString *)attrName :(unsigned short)attrChange;
1083@end
1084
1085@interface DOMOverflowEvent : DOMEvent 10_5
1086@property (readonly) unsigned short orient;
1087@property (readonly) BOOL horizontalOverflow;
1088@property (readonly) BOOL verticalOverflow;
1089- (void)initOverflowEvent:(unsigned short)orient horizontalOverflow:(BOOL)horizontalOverflow verticalOverflow:(BOOL)verticalOverflow;
1090@end
1091
1092@interface DOMWheelEvent : DOMMouseEvent 10_5
1093@property (readonly) BOOL isHorizontal;
1094@property (readonly) int wheelDelta;
1095@property (readonly) int wheelDeltaX WEBKIT_AVAILABLE_MAC(10_5);
1096@property (readonly) int wheelDeltaY WEBKIT_AVAILABLE_MAC(10_5);
1097- (void)initWheelEvent:(int)wheelDeltaX wheelDeltaY:(int)wheelDeltaY view:(DOMAbstractView *)view screenX:(int)screenX screenY:(int)screenY clientX:(int)clientX clientY:(int)clientY ctrlKey:(BOOL)ctrlKey altKey:(BOOL)altKey shiftKey:(BOOL)shiftKey metaKey:(BOOL)metaKey WEBKIT_AVAILABLE_MAC(10_5);
1098@end
1099
1100@interface DOMKeyboardEvent : DOMUIEvent 10_5
1101@property (readonly, copy) NSString *keyIdentifier;
1102@property (readonly) unsigned location WEBKIT_AVAILABLE_MAC(10_8);
1103@property (readonly) unsigned keyLocation WEBKIT_DEPRECATED_MAC(10_5, 10_5);
1104@property (readonly) BOOL ctrlKey;
1105@property (readonly) BOOL shiftKey;
1106@property (readonly) BOOL altKey;
1107@property (readonly) BOOL metaKey;
1108@property (readonly) int keyCode;
1109@property (readonly) int charCode;
1110@property (readonly) BOOL altGraphKey WEBKIT_AVAILABLE_MAC(10_5);
1111- (BOOL)getModifierState:(NSString *)keyIdentifierArg;
1112- (void)initKeyboardEvent:(NSString *)type canBubble:(BOOL)canBubble cancelable:(BOOL)cancelable view:(DOMAbstractView *)view keyIdentifier:(NSString *)keyIdentifier keyLocation:(unsigned)keyLocation ctrlKey:(BOOL)ctrlKey altKey:(BOOL)altKey shiftKey:(BOOL)shiftKey metaKey:(BOOL)metaKey altGraphKey:(BOOL)altGraphKey WEBKIT_DEPRECATED_MAC(10_5, 10_5);
1113- (void)initKeyboardEvent:(NSString *)type canBubble:(BOOL)canBubble cancelable:(BOOL)cancelable view:(DOMAbstractView *)view keyIdentifier:(NSString *)keyIdentifier keyLocation:(unsigned)keyLocation ctrlKey:(BOOL)ctrlKey altKey:(BOOL)altKey shiftKey:(BOOL)shiftKey metaKey:(BOOL)metaKey WEBKIT_DEPRECATED_MAC(10_5, 10_5);
1114- (void)initKeyboardEvent:(NSString *)type canBubble:(BOOL)canBubble cancelable:(BOOL)cancelable view:(DOMAbstractView *)view keyIdentifier:(NSString *)keyIdentifier location:(unsigned)location ctrlKey:(BOOL)ctrlKey altKey:(BOOL)altKey shiftKey:(BOOL)shiftKey metaKey:(BOOL)metaKey altGraphKey:(BOOL)altGraphKey WEBKIT_AVAILABLE_MAC(10_8);
1115- (void)initKeyboardEvent:(NSString *)type canBubble:(BOOL)canBubble cancelable:(BOOL)cancelable view:(DOMAbstractView *)view keyIdentifier:(NSString *)keyIdentifier location:(unsigned)location ctrlKey:(BOOL)ctrlKey altKey:(BOOL)altKey shiftKey:(BOOL)shiftKey metaKey:(BOOL)metaKey WEBKIT_AVAILABLE_MAC(10_8);
1116@end
1117
1118@interface DOMMouseEvent : DOMUIEvent 10_4
1119@property (readonly) int screenX;
1120@property (readonly) int screenY;
1121@property (readonly) int clientX;
1122@property (readonly) int clientY;
1123@property (readonly) BOOL ctrlKey;
1124@property (readonly) BOOL shiftKey;
1125@property (readonly) BOOL altKey;
1126@property (readonly) BOOL metaKey;
1127@property (readonly) unsigned short button;
1128@property (readonly, strong) id <DOMEventTarget> relatedTarget;
1129@property (readonly) int offsetX WEBKIT_AVAILABLE_MAC(10_5);
1130@property (readonly) int offsetY WEBKIT_AVAILABLE_MAC(10_5);
1131@property (readonly) int x WEBKIT_AVAILABLE_MAC(10_5);
1132@property (readonly) int y WEBKIT_AVAILABLE_MAC(10_5);
1133@property (readonly, strong) DOMNode *fromElement WEBKIT_AVAILABLE_MAC(10_5);
1134@property (readonly, strong) DOMNode *toElement WEBKIT_AVAILABLE_MAC(10_5);
1135- (void)initMouseEvent:(NSString *)type canBubble:(BOOL)canBubble cancelable:(BOOL)cancelable view:(DOMAbstractView *)view detail:(int)detail screenX:(int)screenX screenY:(int)screenY clientX:(int)clientX clientY:(int)clientY ctrlKey:(BOOL)ctrlKey altKey:(BOOL)altKey shiftKey:(BOOL)shiftKey metaKey:(BOOL)metaKey button:(unsigned short)button relatedTarget:(id <DOMEventTarget>)relatedTarget WEBKIT_AVAILABLE_MAC(10_5);
1136- (void)initMouseEvent:(NSString *)type :(BOOL)canBubble :(BOOL)cancelable :(DOMAbstractView *)view :(int)detail :(int)screenX :(int)screenY :(int)clientX :(int)clientY :(BOOL)ctrlKey :(BOOL)altKey :(BOOL)shiftKey :(BOOL)metaKey :(unsigned short)button :(id <DOMEventTarget>)relatedTarget;
1137@end
1138
1139@interface DOMRange : DOMObject 10_4
1140@property (readonly, strong) DOMNode *startContainer;
1141@property (readonly) int startOffset;
1142@property (readonly, strong) DOMNode *endContainer;
1143@property (readonly) int endOffset;
1144@property (readonly) BOOL collapsed;
1145@property (readonly, strong) DOMNode *commonAncestorContainer;
1146@property (readonly, copy) NSString *text WEBKIT_AVAILABLE_MAC(10_5);
1147- (void)setStart:(DOMNode *)refNode offset:(int)offset WEBKIT_AVAILABLE_MAC(10_5);
1148- (void)setStart:(DOMNode *)refNode :(int)offset;
1149- (void)setEnd:(DOMNode *)refNode offset:(int)offset WEBKIT_AVAILABLE_MAC(10_5);
1150- (void)setEnd:(DOMNode *)refNode :(int)offset;
1151- (void)setStartBefore:(DOMNode *)refNode;
1152- (void)setStartAfter:(DOMNode *)refNode;
1153- (void)setEndBefore:(DOMNode *)refNode;
1154- (void)setEndAfter:(DOMNode *)refNode;
1155- (void)collapse:(BOOL)toStart;
1156- (void)selectNode:(DOMNode *)refNode;
1157- (void)selectNodeContents:(DOMNode *)refNode;
1158- (short)compareBoundaryPoints:(unsigned short)how sourceRange:(DOMRange *)sourceRange WEBKIT_AVAILABLE_MAC(10_5);
1159- (short)compareBoundaryPoints:(unsigned short)how :(DOMRange *)sourceRange;
1160- (void)deleteContents;
1161- (DOMDocumentFragment *)extractContents;
1162- (DOMDocumentFragment *)cloneContents;
1163- (void)insertNode:(DOMNode *)newNode;
1164- (void)surroundContents:(DOMNode *)newParent;
1165- (DOMRange *)cloneRange;
1166- (NSString *)toString;
1167- (void)detach;
1168- (DOMDocumentFragment *)createContextualFragment:(NSString *)html WEBKIT_AVAILABLE_MAC(10_5);
1169- (BOOL)intersectsNode:(DOMNode *)refNode WEBKIT_AVAILABLE_MAC(10_5);
1170- (short)compareNode:(DOMNode *)refNode WEBKIT_AVAILABLE_MAC(10_5);
1171- (short)comparePoint:(DOMNode *)refNode offset:(int)offset WEBKIT_AVAILABLE_MAC(10_5);
1172- (BOOL)isPointInRange:(DOMNode *)refNode offset:(int)offset WEBKIT_AVAILABLE_MAC(10_5);
1173@end
1174
1175@interface DOMNodeIterator : DOMObject 10_4
1176@property (readonly, strong) DOMNode *root;
1177@property (readonly) unsigned whatToShow;
1178@property (readonly, strong) id <DOMNodeFilter> filter;
1179@property (readonly) BOOL expandEntityReferences;
1180@property (readonly, strong) DOMNode *referenceNode WEBKIT_AVAILABLE_MAC(10_5);
1181@property (readonly) BOOL pointerBeforeReferenceNode WEBKIT_AVAILABLE_MAC(10_5);
1182- (DOMNode *)nextNode;
1183- (DOMNode *)previousNode;
1184- (void)detach;
1185@end
1186
1187@interface DOMMediaList : DOMObject 10_4
1188@property (copy) NSString *mediaText;
1189@property (readonly) unsigned length;
1190- (NSString *)item:(unsigned)index;
1191- (void)deleteMedium:(NSString *)oldMedium;
1192- (void)appendMedium:(NSString *)newMedium;
1193@end
1194
1195@interface DOMTreeWalker : DOMObject 10_4
1196@property (readonly, strong) DOMNode *root;
1197@property (readonly) unsigned whatToShow;
1198@property (readonly, strong) id <DOMNodeFilter> filter;
1199@property (readonly) BOOL expandEntityReferences;
1200@property (strong) DOMNode *currentNode;
1201- (DOMNode *)parentNode;
1202- (DOMNode *)firstChild;
1203- (DOMNode *)lastChild;
1204- (DOMNode *)previousSibling;
1205- (DOMNode *)nextSibling;
1206- (DOMNode *)previousNode;
1207- (DOMNode *)nextNode;
1208@end
1209
1210@interface DOMXPathResult : DOMObject 10_5
1211@property (readonly) unsigned short resultType;
1212@property (readonly) double numberValue;
1213@property (readonly, copy) NSString *stringValue;
1214@property (readonly) BOOL booleanValue;
1215@property (readonly, strong) DOMNode *singleNodeValue;
1216@property (readonly) BOOL invalidIteratorState;
1217@property (readonly) unsigned snapshotLength;
1218- (DOMNode *)iterateNext;
1219- (DOMNode *)snapshotItem:(unsigned)index;
1220@end
1221
1222@interface DOMXPathExpression : DOMObject 10_5
1223- (DOMXPathResult *)evaluate:(DOMNode *)contextNode type:(unsigned short)type inResult:(DOMXPathResult *)inResult WEBKIT_AVAILABLE_MAC(10_5);
1224- (DOMXPathResult *)evaluate:(DOMNode *)contextNode :(unsigned short)type :(DOMXPathResult *)inResult WEBKIT_DEPRECATED_MAC(10_5, 10_5);
1225@end
1226
1227@interface DOMProgressEvent : DOMEvent 10_6
1228@property (readonly) BOOL lengthComputable;
1229@property (readonly) unsigned long long loaded;
1230@property (readonly) unsigned long long total;
1231@end
1232
1233// Protocols
1234
1235@protocol DOMEventListener <NSObject> 10_4
1236- (void)handleEvent:(DOMEvent *)evt;
1237@end
1238
1239@protocol DOMEventTarget <NSObject, NSCopying> 10_4
1240- (void)addEventListener:(NSString *)type :(id <DOMEventListener>)listener :(BOOL)useCapture;
1241- (void)removeEventListener:(NSString *)type :(id <DOMEventListener>)listener :(BOOL)useCapture;
1242- (void)addEventListener:(NSString *)type listener:(id <DOMEventListener>)listener useCapture:(BOOL)useCapture WEBKIT_AVAILABLE_MAC(10_5);
1243- (void)removeEventListener:(NSString *)type listener:(id <DOMEventListener>)listener useCapture:(BOOL)useCapture WEBKIT_AVAILABLE_MAC(10_5);
1244- (BOOL)dispatchEvent:(DOMEvent *)event;
1245@end
1246
1247@protocol DOMNodeFilter <NSObject> 10_4
1248- (short)acceptNode:(DOMNode *)n;
1249@end
1250
1251@protocol DOMXPathNSResolver <NSObject> 10_5
1252- (NSString *)lookupNamespaceURI:(NSString *)prefix;
1253@end
1254
1255#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
1256#include <WebKitAdditions/PublicDOMInterfacesIOS.h>
1257#endif
1258