| Framework | WebKit/WebKit.h |
| Declared in | WebKitErrors.h |
This document describes the types and constants found in the Web Kit:
typedef enum {
WebViewInsertActionTyped,
WebViewInsertActionPasted,
WebViewInsertActionDropped,
} WebViewInsertAction;
These constants are described in WebEditingDelegate.
typedef enum {
WebNavigationTypeLinkClicked,
WebNavigationTypeFormSubmitted,
WebNavigationTypeBackForward,
WebNavigationTypeReload,
WebNavigationTypeFormResubmitted,
WebNavigationTypeOther
} WebNavigationType;
These constants are described in WebPolicyDelegate.
typedef enum {
WebDragDestinationActionNone = 0,
WebDragDestinationActionDHTML = 1,
WebDragDestinationActionEdit = 2,
WebDragDestinationActionLoad = 4,
WebDragDestinationActionAny = UINT_MAX
} WebDragDestinationAction;
These constants are described in WebUIDelegate.
typedef enum {
WebDragSourceActionNone = 0,
WebDragSourceActionDHTML = 1,
WebDragSourceActionImage = 2,
WebDragSourceActionLink = 4,
WebDragSourceActionSelection = 8,
WebDragSourceActionAny = UINT_MAX
} WebDragSourceAction;
These constants are described in WebUIDelegate.
enum {
WebMenuItemTagOpenLinkInNewWindow=1,
WebMenuItemTagDownloadLinkToDisk,
WebMenuItemTagCopyLinkToClipboard,
WebMenuItemTagOpenImageInNewWindow,
WebMenuItemTagDownloadImageToDisk,
WebMenuItemTagCopyImageToClipboard,
WebMenuItemTagOpenFrameInNewWindow,
WebMenuItemTagCopy,
WebMenuItemTagGoBack,
WebMenuItemTagGoForward,
WebMenuItemTagStop,
WebMenuItemTagReload,
WebMenuItemTagCut,
WebMenuItemTagPaste,
WebMenuItemTagSpellingGuess,
WebMenuItemTagNoGuessesFound,
WebMenuItemTagIgnoreSpelling,
WebMenuItemTagLearnSpelling,
WebMenuItemTagOther,
WebMenuItemTagSearchInSpotlight,
WebMenuItemTagSearchWeb,
WebMenuItemTagLookUpInDictionary,
WebMenuItemTagOpenWithDefaultApplication,
WebMenuItemPDFActualSize,
WebMenuItemPDFZoomIn,
WebMenuItemPDFZoomOut,
WebMenuItemPDFAutoSize,
WebMenuItemPDFSinglePage,
WebMenuItemPDFFacingPages,
WebMenuItemPDFContinuous,
WebMenuItemPDFNextPage,
WebMenuItemPDFPreviousPage,
};
These constants are described in WebUIDelegate.
WebMenuItemTagGoBack, WebMenuItemTagGoForward, WebMenuItemTagStop, and WebMenuItemTagReload available in Mac OS X v10.3.9 and later.
typedef enum {
WebKitErrorCannotShowMIMEType = 100,
WebKitErrorCannotShowURL = 101,
WebKitErrorFrameLoadInterruptedByPolicyChange = 102,
};
WebKitErrorCannotShowMIMETypeIndicates that a MIME type is not supported.
Available in Mac OS X v10.2 and later.
Declared in WebKitErrors.h
WebKitErrorCannotShowURLIndicates a failure in changing a location.
Available in Mac OS X v10.2 and later.
Declared in WebKitErrors.h
WebKitErrorFrameLoadInterruptedByPolicyChangeIndicates that a frame load was interrupted by a policy change.
Available in Mac OS X v10.2 and later.
Declared in WebKitErrors.h
These errors occur when applying policy decisions.
typedef enum {
WebKitErrorCannotFindPlugIn = 200,
WebKitErrorCannotLoadPlugIn = 201,
WebKitErrorJavaUnavailable = 202,
};
WebKitErrorCannotFindPlugInIndicates a plug-in could not be found.
Available in Mac OS X v10.3 and later.
Declared in WebKitErrors.h
WebKitErrorCannotLoadPlugInIndicates a plug-in could not be loaded.
Available in Mac OS X v10.3 and later.
Declared in WebKitErrors.h
WebKitErrorJavaUnavailableIndicates that Java is unavailable.
Available in Mac OS X v10.2 and later.
Declared in WebKitErrors.h
These errors occur when loading pages containing plug-in or Java content.
extern NSString *WebArchivePboardType;
This constant is described in WebArchive.
extern NSString *WebHistoryItemsKey;
This constant is described in WebHistory.
extern NSString *WebPlugInBaseURLKey; extern NSString *WebPlugInAttributesKey; extern NSString *WebPlugInContainerKey; extern NSString *WebPlugInContainingElementKey;
These constants are defined in WebPlugInViewFactory.
extern NSString *WebActionNavigationTypeKey; extern NSString *WebActionElementKey; extern NSString *WebActionButtonKey; extern NSString *WebActionModifierFlagsKey; extern NSString *WebActionOriginalURLKey;
These constants are defined in WebPolicyDelegate.
extern NSString *WebElementDOMNodeKey; extern NSString *WebElementFrameKey; extern NSString *WebElementImageAltStringKey; extern NSString *WebElementImageKey; extern NSString *WebElementImageRectKey; extern NSString *WebElementImageURLKey; extern NSString *WebElementIsSelectedKey; extern NSString *WebElementLinkURLKey; extern NSString *WebElementLinkTargetFrameKey; extern NSString *WebElementLinkTitleKey; extern NSString *WebElementLinkLabelKey;
These constants are defined in WebView.
extern NSString *WebKitErrorDomain; extern NSString * const WebKitErrorMIMETypeKey; extern NSString * const WebKitErrorPlugInNameKey; extern NSString * const WebKitErrorPlugInPageURLStringKey;
WebKitErrorDomainA string used by NSError to indicate that the error was originated by a Web Kit class.
Available in Mac OS X v10.2 and later.
Declared in WebKitErrors.h
WebKitErrorMIMETypeKeyA dictionary key whose value is a string of the TYPE attribute.
Available in Mac OS X v10.2 and later.
Declared in WebKitErrors.h
WebKitErrorPlugInNameKeyA dictionary key whose value is a string containing the plug-in's name.
Available in Mac OS X v10.2 and later.
Declared in WebKitErrors.h
WebKitErrorPlugInPageURLStringKeyA dictionary key whose value is a URL string of the PLUGINSPAGE attribute.
Available in Mac OS X v10.2 and later.
Declared in WebKitErrors.h
These errors occur while loading content.
NSString *WebHistoryItemsAddedNotification; NSString *WebHistoryItemsRemovedNotification; NSString *WebHistoryAllItemsRemovedNotification; NSString *WebHistoryLoadedNotification; NSString *WebHistorySavedNotification;
These notifications are described in the “Notifications” section of WebHistory.
NSString *WebPreferencesChangedNotification;
This notification is described in the “Notifications” section of WebPreferences.
NSString *WebViewDidBeginEditingNotification; NSString *WebViewDidChangeNotification; NSString *WebViewDidEndEditingNotification; NSString *WebViewDidChangeTypingStyleNotification; NSString *WebViewDidChangeSelectionNotification; NSString *WebViewProgressEstimateChangedNotification; NSString *WebViewProgressFinishedNotification; NSString *WebViewProgressStartedNotification;
These notifications are described in the “Notifications” section of WebView.
Last updated: 2008-06-19