⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 publicdominterfaces.h

📁 linux下开源浏览器WebKit的源码,市面上的很多商用浏览器都是移植自WebKit
💻 H
📖 第 1 页 / 共 3 页
字号:
- (DOMHTMLElement *)insertRow:(int)index;- (void)deleteRow:(int)index;@end@interface DOMHTMLTableRowElement : DOMHTMLElement WEBKIT_VERSION_1_3@property(readonly) int rowIndex;@property(readonly) int sectionRowIndex;@property(readonly, retain) DOMHTMLCollection *cells;@property(copy) NSString *align;@property(copy) NSString *bgColor;@property(copy) NSString *ch;@property(copy) NSString *chOff;@property(copy) NSString *vAlign;- (DOMHTMLElement *)insertCell:(int)index;- (void)deleteCell:(int)index;@end@interface DOMHTMLTableSectionElement : DOMHTMLElement WEBKIT_VERSION_1_3@property(copy) NSString *align;@property(copy) NSString *ch;@property(copy) NSString *chOff;@property(copy) NSString *vAlign;@property(readonly, retain) DOMHTMLCollection *rows;- (DOMHTMLElement *)insertRow:(int)index;- (void)deleteRow:(int)index;@end@interface DOMHTMLTextAreaElement : DOMHTMLElement WEBKIT_VERSION_1_3@property(copy) NSString *defaultValue;@property(readonly, retain) DOMHTMLFormElement *form;@property(copy) NSString *accessKey;@property int cols;@property BOOL disabled;@property(copy) NSString *name;@property BOOL readOnly;@property int rows;@property(readonly, copy) NSString *type;@property(copy) NSString *value;- (void)select;@end@interface DOMHTMLTitleElement : DOMHTMLElement WEBKIT_VERSION_1_3@property(copy) NSString *text;@end@interface DOMHTMLUListElement : DOMHTMLElement WEBKIT_VERSION_1_3@property BOOL compact;@property(copy) NSString *type;@end@interface DOMStyleSheetList : DOMObject WEBKIT_VERSION_1_3@property(readonly) unsigned length;- (DOMStyleSheet *)item:(unsigned)index;@end@interface DOMCSSCharsetRule : DOMCSSRule WEBKIT_VERSION_1_3@property(readonly, copy) NSString *encoding;@end@interface DOMCSSFontFaceRule : DOMCSSRule WEBKIT_VERSION_1_3@property(readonly, retain) DOMCSSStyleDeclaration *style;@end@interface DOMCSSImportRule : DOMCSSRule WEBKIT_VERSION_1_3@property(readonly, copy) NSString *href;@property(readonly, retain) DOMMediaList *media;@property(readonly, retain) DOMCSSStyleSheet *styleSheet;@end@interface DOMCSSMediaRule : DOMCSSRule WEBKIT_VERSION_1_3@property(readonly, retain) DOMMediaList *media;@property(readonly, retain) DOMCSSRuleList *cssRules;- (unsigned)insertRule:(NSString *)rule :(unsigned)index;- (unsigned)insertRule:(NSString *)rule index:(unsigned)index AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;- (void)deleteRule:(unsigned)index;@end@interface DOMCSSPageRule : DOMCSSRule WEBKIT_VERSION_1_3@property(copy) NSString *selectorText;@property(readonly, retain) DOMCSSStyleDeclaration *style;@end@interface DOMCSSPrimitiveValue : DOMCSSValue WEBKIT_VERSION_1_3@property(readonly) unsigned short primitiveType;- (void)setFloatValue:(unsigned short)unitType :(float)floatValue;- (void)setFloatValue:(unsigned short)unitType floatValue:(float)floatValue AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;- (float)getFloatValue:(unsigned short)unitType;- (void)setStringValue:(unsigned short)stringType :(NSString *)stringValue;- (void)setStringValue:(unsigned short)stringType stringValue:(NSString *)stringValue AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;- (NSString *)getStringValue;- (DOMCounter *)getCounterValue;- (DOMRect *)getRectValue;- (DOMRGBColor *)getRGBColorValue;@end@interface DOMRGBColor : DOMObject WEBKIT_VERSION_1_3@property(readonly, retain) DOMCSSPrimitiveValue *red;@property(readonly, retain) DOMCSSPrimitiveValue *green;@property(readonly, retain) DOMCSSPrimitiveValue *blue;@property(readonly, retain) DOMCSSPrimitiveValue *alpha;@property(readonly, copy) NSColor *color AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;@end@interface DOMCSSRule : DOMObject WEBKIT_VERSION_1_3@property(readonly) unsigned short type;@property(copy) NSString *cssText;@property(readonly, retain) DOMCSSStyleSheet *parentStyleSheet;@property(readonly, retain) DOMCSSRule *parentRule;@end@interface DOMCSSRuleList : DOMObject WEBKIT_VERSION_1_3@property(readonly) unsigned length;- (DOMCSSRule *)item:(unsigned)index;@end@interface DOMCSSStyleDeclaration : DOMObject WEBKIT_VERSION_1_3@property(copy) NSString *cssText;@property(readonly) unsigned length;@property(readonly, retain) DOMCSSRule *parentRule;- (NSString *)getPropertyValue:(NSString *)propertyName;- (DOMCSSValue *)getPropertyCSSValue:(NSString *)propertyName;- (NSString *)removeProperty:(NSString *)propertyName;- (NSString *)getPropertyPriority:(NSString *)propertyName;- (void)setProperty:(NSString *)propertyName :(NSString *)value :(NSString *)priority;- (void)setProperty:(NSString *)propertyName value:(NSString *)value priority:(NSString *)priority AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;- (NSString *)item:(unsigned)index;- (NSString *)getPropertyShorthand:(NSString *)propertyName AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;- (BOOL)isPropertyImplicit:(NSString *)propertyName AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;@end@interface DOMCSSStyleRule : DOMCSSRule WEBKIT_VERSION_1_3@property(copy) NSString *selectorText;@property(readonly, retain) DOMCSSStyleDeclaration *style;@end@interface DOMStyleSheet : DOMObject WEBKIT_VERSION_1_3@property(readonly, copy) NSString *type;@property BOOL disabled;@property(readonly, retain) DOMNode *ownerNode;@property(readonly, retain) DOMStyleSheet *parentStyleSheet;@property(readonly, copy) NSString *href;@property(readonly, copy) NSString *title;@property(readonly, retain) DOMMediaList *media;@end@interface DOMCSSStyleSheet : DOMStyleSheet WEBKIT_VERSION_1_3@property(readonly, retain) DOMCSSRule *ownerRule;@property(readonly, retain) DOMCSSRuleList *cssRules;- (unsigned)insertRule:(NSString *)rule :(unsigned)index;- (unsigned)insertRule:(NSString *)rule index:(unsigned)index AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;- (void)deleteRule:(unsigned)index;@end@interface DOMCSSValue : DOMObject WEBKIT_VERSION_1_3@property(copy) NSString *cssText;@property(readonly) unsigned short cssValueType;@end@interface DOMCSSValueList : DOMCSSValue WEBKIT_VERSION_1_3@property(readonly) unsigned length;- (DOMCSSValue *)item:(unsigned)index;@end@interface DOMCSSUnknownRule : DOMCSSRule WEBKIT_VERSION_1_3@end@interface DOMCounter : DOMObject WEBKIT_VERSION_1_3@property(readonly, copy) NSString *identifier;@property(readonly, copy) NSString *listStyle;@property(readonly, copy) NSString *separator;@end@interface DOMRect : DOMObject WEBKIT_VERSION_1_3@property(readonly, retain) DOMCSSPrimitiveValue *top;@property(readonly, retain) DOMCSSPrimitiveValue *right;@property(readonly, retain) DOMCSSPrimitiveValue *bottom;@property(readonly, retain) DOMCSSPrimitiveValue *left;@end@interface DOMEvent : DOMObject WEBKIT_VERSION_1_3@property(readonly, copy) NSString *type;@property(readonly, retain) id <DOMEventTarget> target;@property(readonly, retain) id <DOMEventTarget> currentTarget;@property(readonly) unsigned short eventPhase;@property(readonly) BOOL bubbles;@property(readonly) BOOL cancelable;@property(readonly) DOMTimeStamp timeStamp;- (void)stopPropagation;- (void)preventDefault;- (void)initEvent:(NSString *)eventTypeArg canBubbleArg:(BOOL)canBubbleArg cancelableArg:(BOOL)cancelableArg AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;- (void)initEvent:(NSString *)eventTypeArg :(BOOL)canBubbleArg :(BOOL)cancelableArg;@end@interface DOMUIEvent : DOMEvent WEBKIT_VERSION_1_3@property(readonly, retain) DOMAbstractView *view;@property(readonly) int detail;- (void)initUIEvent:(NSString *)type canBubble:(BOOL)canBubble cancelable:(BOOL)cancelable view:(DOMAbstractView *)view detail:(int)detail AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;- (void)initUIEvent:(NSString *)type :(BOOL)canBubble :(BOOL)cancelable :(DOMAbstractView *)view :(int)detail;@end@interface DOMMutationEvent : DOMEvent WEBKIT_VERSION_1_3@property(readonly, retain) DOMNode *relatedNode;@property(readonly, copy) NSString *prevValue;@property(readonly, copy) NSString *newValue;@property(readonly, copy) NSString *attrName;@property(readonly) unsigned short attrChange;- (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 AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;- (void)initMutationEvent:(NSString *)type :(BOOL)canBubble :(BOOL)cancelable :(DOMNode *)relatedNode :(NSString *)prevValue :(NSString *)newValue :(NSString *)attrName :(unsigned short)attrChange;@end@interface DOMOverflowEvent : DOMEvent WEBKIT_VERSION_3_0@property(readonly) unsigned short orient;@property(readonly) BOOL horizontalOverflow;@property(readonly) BOOL verticalOverflow;- (void)initOverflowEvent:(unsigned short)orient horizontalOverflow:(BOOL)horizontalOverflow verticalOverflow:(BOOL)verticalOverflow;@end@interface DOMWheelEvent : DOMUIEvent WEBKIT_VERSION_3_0@property(readonly) int screenX;@property(readonly) int screenY;@property(readonly) int clientX;@property(readonly) int clientY;@property(readonly) BOOL ctrlKey;@property(readonly) BOOL shiftKey;@property(readonly) BOOL altKey;@property(readonly) BOOL metaKey;@property(readonly) BOOL isHorizontal;@property(readonly) int wheelDelta;@end@interface DOMKeyboardEvent : DOMUIEvent WEBKIT_VERSION_3_0@property(readonly, copy) NSString *keyIdentifier;@property(readonly) unsigned keyLocation;@property(readonly) BOOL ctrlKey;@property(readonly) BOOL shiftKey;@property(readonly) BOOL altKey;@property(readonly) BOOL metaKey;@property(readonly) int keyCode;@property(readonly) int charCode;- (BOOL)getModifierState:(NSString *)keyIdentifierArg;@end@interface DOMMouseEvent : DOMUIEvent WEBKIT_VERSION_1_3@property(readonly) int screenX;@property(readonly) int screenY;@property(readonly) int clientX;@property(readonly) int clientY;@property(readonly) BOOL ctrlKey;@property(readonly) BOOL shiftKey;@property(readonly) BOOL altKey;@property(readonly) BOOL metaKey;@property(readonly) unsigned short button;@property(readonly, retain) id <DOMEventTarget> relatedTarget;- (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 AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;- (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;@end@interface DOMRange : DOMObject WEBKIT_VERSION_1_3@property(readonly, retain) DOMNode *startContainer;@property(readonly) int startOffset;@property(readonly, retain) DOMNode *endContainer;@property(readonly) int endOffset;@property(readonly) BOOL collapsed;@property(readonly, retain) DOMNode *commonAncestorContainer;@property(readonly, copy) NSString *text AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;- (void)setStart:(DOMNode *)refNode offset:(int)offset AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;- (void)setStart:(DOMNode *)refNode :(int)offset;- (void)setEnd:(DOMNode *)refNode offset:(int)offset AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;- (void)setEnd:(DOMNode *)refNode :(int)offset;- (void)setStartBefore:(DOMNode *)refNode;- (void)setStartAfter:(DOMNode *)refNode;- (void)setEndBefore:(DOMNode *)refNode;- (void)setEndAfter:(DOMNode *)refNode;- (void)collapse:(BOOL)toStart;- (void)selectNode:(DOMNode *)refNode;- (void)selectNodeContents:(DOMNode *)refNode;- (short)compareBoundaryPoints:(unsigned short)how sourceRange:(DOMRange *)sourceRange AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;- (short)compareBoundaryPoints:(unsigned short)how :(DOMRange *)sourceRange;- (void)deleteContents;- (DOMDocumentFragment *)extractContents;- (DOMDocumentFragment *)cloneContents;- (void)insertNode:(DOMNode *)newNode;- (void)surroundContents:(DOMNode *)newParent;- (DOMRange *)cloneRange;- (NSString *)toString;- (void)detach;@end@interface DOMNodeIterator : DOMObject WEBKIT_VERSION_1_3@property(readonly, retain) DOMNode *root;@property(readonly) unsigned whatToShow;@property(readonly, retain) id <DOMNodeFilter> filter;@property(readonly) BOOL expandEntityReferences;- (DOMNode *)nextNode;- (DOMNode *)previousNode;- (void)detach;@end@interface DOMMediaList : DOMObject WEBKIT_VERSION_1_3@property(copy) NSString *mediaText;@property(readonly) unsigned length;- (NSString *)item:(unsigned)index;- (void)deleteMedium:(NSString *)oldMedium;- (void)appendMedium:(NSString *)newMedium;@end@interface DOMTreeWalker : DOMObject WEBKIT_VERSION_1_3@property(readonly, retain) DOMNode *root;@property(readonly) unsigned whatToShow;@property(readonly, retain) id <DOMNodeFilter> filter;@property(readonly) BOOL expandEntityReferences;@property(retain) DOMNode *currentNode;- (DOMNode *)parentNode;- (DOMNode *)firstChild;- (DOMNode *)lastChild;- (DOMNode *)previousSibling;- (DOMNode *)nextSibling;- (DOMNode *)previousNode;- (DOMNode *)nextNode;@end@interface DOMXPathResult : DOMObject WEBKIT_VERSION_3_0@property(readonly) unsigned short resultType;@property(readonly) double numberValue;@property(readonly, copy) NSString *stringValue;@property(readonly) BOOL booleanValue;@property(readonly, retain) DOMNode *singleNodeValue;@property(readonly) BOOL invalidIteratorState;@property(readonly) unsigned snapshotLength;- (DOMNode *)iterateNext;- (DOMNode *)snapshotItem:(unsigned)index;@end@interface DOMXPathExpression : DOMObject WEBKIT_VERSION_3_0- (DOMXPathResult *)evaluate:(DOMNode *)contextNode type:(unsigned short)type inResult:(DOMXPathResult *)inResult AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;- (DOMXPathResult *)evaluate:(DOMNode *)contextNode :(unsigned short)type :(DOMXPathResult *)inResult AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED;@end// Protocols@protocol DOMEventListener <NSObject> WEBKIT_VERSION_1_3- (void)handleEvent:(DOMEvent *)evt;@end@protocol DOMEventTarget <NSObject, NSCopying> WEBKIT_VERSION_1_3- (void)addEventListener:(NSString *)type :(id <DOMEventListener>)listener :(BOOL)useCapture;- (void)removeEventListener:(NSString *)type :(id <DOMEventListener>)listener :(BOOL)useCapture;- (void)addEventListener:(NSString *)type listener:(id <DOMEventListener>)listener useCapture:(BOOL)useCapture AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;- (void)removeEventListener:(NSString *)type listener:(id <DOMEventListener>)listener useCapture:(BOOL)useCapture AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;- (BOOL)dispatchEvent:(DOMEvent *)event;@end@protocol DOMNodeFilter <NSObject> WEBKIT_VERSION_1_3- (short)acceptNode:(DOMNode *)n;@end@protocol DOMXPathNSResolver <NSObject> WEBKIT_VERSION_3_0- (NSString *)lookupNamespaceURI:(NSString *)prefix;@end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -