WebKit Constants

WebKit constants affecting multiple classes.

Topics

WKPreview Constants

WKPreviewActionItemIdentifierAddToReadingList

Adds the item to the Reading List.

Deprecated
WKPreviewActionItemIdentifierCopy

Copies the item to the clipboard.

Deprecated
WKPreviewActionItemIdentifierOpen

Opens the item.

Deprecated
WKPreviewActionItemIdentifierShare

Displays the Share panel options available for the item.

Deprecated

WKWebsiteDataType Constants

WebKit Constants (Legacy)

WebActionButtonKey

An NSNumber object where 0 indicates the left button, 1 indicates the middle button, and 2 indicates the right button.

Deprecated
WebActionElementKey

A dictionary containing element information. See WebView for a description of the key-value pairs in this dictionary.

Deprecated
WebActionModifierFlagsKey

An unsigned number that indicates the modifier flag.

Deprecated
WebActionNavigationTypeKey

The navigation type of the action. Can be any of the values defined in WebNavigationType below.

Deprecated
WebActionOriginalURLKey

The URL that initiated the action.

Deprecated
WebArchivePboardType

The pasteboard type constant used when adding or accessing a WebArchive on the pasteboard.

Deprecated
WebElementDOMNodeKey

The DOMNode for this element.

Deprecated
WebElementFrameKey

The WebFrame object associated with this element.

Deprecated
WebElementImageAltStringKey

An NSString of the ALT attribute of an image element.

Deprecated
WebElementImageKey

An NSImage representing an image element.

Deprecated
WebElementImageRectKey

An NSValue containing an NSRect, the size of an image element.

Deprecated
WebElementImageURLKey

An NSURL containing the location of an image element.

Deprecated
WebElementIsSelectedKey

An NSNumber used as a BOOL value to indicate whether a text element is selected or not. Zero value indicates false, true otherwise.

Deprecated
WebElementLinkLabelKey

An NSString containing the text within an anchor.

Deprecated
WebElementLinkTargetFrameKey

The WebFrame object associated with the target of the anchor.

Deprecated
WebElementLinkTitleKey

An NSString containing the title of an anchor.

Deprecated
WebElementLinkURLKey

An NSURL containing the location of a link if the element is within an anchor.

Deprecated
WebHistoryAllItemsRemovedNotification

Posted when all history items have been removed from the web history.

Deprecated
WebHistoryItemChangedNotification

Posted by a WebHistoryItem object when the value of the history item’s title, alternate title, URL strings, or last visited interval changes.

Deprecated
WebHistoryItemsAddedNotification

Posted when history items have been added to a web history.

Deprecated
WebHistoryItemsKey

The key to access an array containing the added or removed web history items.

Deprecated
WebHistoryItemsRemovedNotification

Posted when items have been removed from the web history.

Deprecated
WebHistoryLoadedNotification

Posted when web history items have been loaded from a URL.

Deprecated
WebHistorySavedNotification

Posted when web history items have been saved to a URL.

Deprecated
WebPlugInAttributesKey

The NSDictionary object containing all names and values of all attributes of the plug-in’s associated HTML element, as well as all names and values of the parameters to be passed to the plug-in. For example, this dictionary will contain all PARAM elements within an APPLET element. If attribute and parameter names conflict, the attributes of an element take precedence over any of its parameters. All keys and values in this dictionary must be of type NSString. Required key.

Deprecated
WebPlugInBaseURLKey

The base URL of the document containing the plug-in's view. Required key.

Deprecated
WebPlugInContainerKey

An object that conforms to the WebPlugInContainer informal protocol. This object is used for callbacks from the plug-in to the enclosing application. If WebPlugInContainerKey is nil, no callbacks will occur.

Deprecated
WebPlugInContainingElementKey

If an element of the page’s Document Object Model was used to specify the plug-in, this will contain that element. Otherwise, it will be nil.

Deprecated
WebPlugInShouldLoadMainResourceKey

A Boolean value indicating whether the plug-in should load its own main resource (the src URL, in most cases). If YES, the plug-in should load its own main resource. If NO, the plug-in uses the data provided by WebKit and the webPlugInMainResourceDidReceiveData: message is sent to the plug-in when data is received. The default value is NO.

Deprecated
WebPreferencesChangedNotification

Posted when the web preference settings are changed.

Deprecated
WebViewDidBeginEditingNotification

Posted when a web view begins any operation that changes its contents in response to user editing.

WebViewDidChangeNotification

Posted when a web view performs any operation that changes its contents in response to user editing.

WebViewDidChangeSelectionNotification

Posted when a web view changes its typing selection.

WebViewDidChangeTypingStyleNotification

Posted when a web view changes its typing style.

WebViewDidEndEditingNotification

Posted when a web view ends any operation that changes its contents in response to user editing.

WebViewProgressEstimateChangedNotification

Posted by a WebView object when the estimated progress value of a load changes.

Deprecated
WebViewProgressFinishedNotification

Posted by a WebView object when the load has finished.

Deprecated
WebViewProgressStartedNotification

Posted by a WebView object when a load begins, including a load that is initiated in a subframe.

Deprecated

Constants

See Also

Document Object Model (DOM) APIs

DOMAbstractViewDeprecated
DOMAttrDeprecated
DOMBlobDeprecated
DOMCDATASectionDeprecated
DOMCommentDeprecated
DOMCounterDeprecated
DOMCSSMediaRuleDeprecated
DOMCSSPageRuleDeprecated
DOMCSSRuleDeprecated
DOMCSSRuleListDeprecated
DOMCSSStyleRuleDeprecated
DOMCSSValueDeprecated
DOMCSSValueListDeprecated
DOMDocumentDeprecated
DOMDocumentTypeDeprecated
DOMElementDeprecated
DOMEntityDeprecated
DOMEventDeprecated
DOMFileDeprecated
DOMFileListDeprecated
DOMHTMLDocumentDeprecated
DOMHTMLElementDeprecated
DOMMediaListDeprecated
DOMMouseEventDeprecated
DOMNamedNodeMapDeprecated
DOMNodeDeprecated
DOMNodeIteratorDeprecated
DOMNodeListDeprecated
DOMObjectDeprecated
DOMRangeDeprecated
DOMRectDeprecated
DOMRGBColorDeprecated
DOMStyleSheetDeprecated
DOMTextDeprecated
DOMTreeWalkerDeprecated
DOMUIEventDeprecated
DOMWheelEventDeprecated
DOMXPathResultDeprecated
DOMEventTargetDeprecated
DOMNodeFilterDeprecated
DOMDocument Additions

Additions to the DOMDocument class facilitate communication between the DOM API and WebKit and help convert DOM URL element attributes into web-friendly NSURL objects.

DOMElement Additions

Additions to the DOMElement class to retrieve the image of DOMHTMLImageElement objects.

DOMHTMLDocument Additions

Additions to the DOMHTMLDocument class to create document fragments.

DOMHTMLFrameElement Additions

Additions to the DOMHTMLFrameElement class facilitate communication between the DOM API and WebKit.

DOMHTMLIFrameElement Additions

Additions to the DOMHTMLIFrameElement class facilitate communication between the DOM API and WebKit.

DOMHTMLObjectElement Additions

These additions to the DOMHTMLObjectElement class facilitate communication between the DOM API and WebKit.

DOMNode Additions

Additions to the DOMNode class help convert the structured nodes of DOM content into a rich web-viewable form.

DOMRange Additions

Additions to the DOMRange class facilitate communication between the DOM API and WebKit and help convert web content into standard markup form.