webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Instance Methods | Class Methods | Properties | List of all members
WebView(WebPrivate) Category Reference

#import <WebViewPrivate.h>

Instance Methods

(WebInspector *) - inspector
 
(BOOL- allowsRemoteInspection
 
(void- setAllowsRemoteInspection:
 
(void- setShowingInspectorIndication:
 
(void- setBackgroundColor:
 
(NSColor *) - backgroundColor
 
(void- _loadBackForwardListFromOtherView:
 
(void- _dispatchPendingLoadRequests
 
(BOOL- _requestStartDataInteraction:globalPosition:
 
(WebUITextIndicatorData *) - _getDataInteractionData
 
(void- _setFormDelegate:
 
(id< WebFormDelegate >) - _formDelegate
 
(BOOL- _isClosed
 
(void- _close
 
(BOOL- _isProcessingUserGesture
 
(BOOL- _isViewVisible
 
(void- _updateVisibilityState
 
(void- _updateActiveState
 
(void- _didScrollDocumentInFrameView:
 
(NSCachedURLResponse *) - _cachedResponseForURL:
 
(void- _addScrollerDashboardRegions:
 
(NSDictionary *) - _dashboardRegions
 
(void- _setDashboardBehavior:to:
 
(BOOL- _dashboardBehavior:
 
(void- setAlwaysShowVerticalScroller:
 
(BOOL- alwaysShowVerticalScroller
 
(void- setAlwaysShowHorizontalScroller:
 
(BOOL- alwaysShowHorizontalScroller
 
(void- setProhibitsMainFrameScrolling:
 
(void- _setAdditionalWebPlugInPaths:
 
(void- _attachScriptDebuggerToAllFrames
 
(void- _detachScriptDebuggerFromAllFrames
 
(BOOL- defersCallbacks
 
(void- setDefersCallbacks:
 
(BOOL- usesPageCache
 
(void- setUsesPageCache:
 
(WebHistoryItem *) - _globalHistoryItem
 
(WebTextIterator *) - textIteratorForRect:
 
(void- _clearUndoRedoOperations
 
(BOOL- _inFastImageScalingMode
 
(void- _setUseFastImageScalingMode:
 
(BOOL- _cookieEnabled
 
(void- _setCookieEnabled:
 
(void- _executeCoreCommandByName:value:
 
(void- _clearMainFrameName
 
(void- setSelectTrailingWhitespaceEnabled:
 
(BOOL- isSelectTrailingWhitespaceEnabled
 
(void- setMemoryCacheDelegateCallsEnabled:
 
(BOOL- areMemoryCacheDelegateCallsEnabled
 
(BOOL- _postsAcceleratedCompositingNotifications
 
(void- _setPostsAcceleratedCompositingNotifications:
 
(BOOL- _isUsingAcceleratedCompositing
 
(void- _setBaseCTM:forContext:
 
(BOOL- interactiveFormValidationEnabled
 
(void- setInteractiveFormValidationEnabled:
 
(int) - validationMessageTimerMagnification
 
(void- setValidationMessageTimerMagnification:
 
(NSDictionary *) - _contentsOfUserInterfaceItem:
 
(BOOL- _isSoftwareRenderable
 
(void- _setIncludesFlattenedCompositingLayersWhenDrawingToBitmap:
 
(BOOL- _includesFlattenedCompositingLayersWhenDrawingToBitmap
 
(void- setTracksRepaints:
 
(BOOL- isTrackingRepaints
 
(void- resetTrackedRepaints
 
(NSArray *) - trackedRepaintRects
 
(NSPasteboard *) - _insertionPasteboard
 
(BOOL- cssAnimationsSuspended
 
(void- setCSSAnimationsSuspended:
 
(BOOL- allowsNewCSSAnimationsWhileSuspended
 
(void- setAllowsNewCSSAnimationsWhileSuspended:
 
(void- _scaleWebView:atOrigin:
 
(float) - _viewScaleFactor
 
(void- _setUseFixedLayout:
 
(void- _setFixedLayoutSize:
 
(BOOL- _useFixedLayout
 
(NSSize) - _fixedLayoutSize
 
(void- _setPaginationMode:
 
(WebPaginationMode- _paginationMode
 
(void- _listenForLayoutMilestones:
 
(WebLayoutMilestones- _layoutMilestones
 
(WebPageVisibilityState- _visibilityState
 
(void- _setVisibilityState:isInitialState:
 
(void- _setPaginationBehavesLikeColumns:
 
(BOOL- _paginationBehavesLikeColumns
 
(void- _setPageLength:
 
(CGFloat- _pageLength
 
(void- _setGapBetweenPages:
 
(CGFloat- _gapBetweenPages
 
(NSUInteger) - _pageCount
 
(void- _setPaginationLineGridEnabled:
 
(BOOL- _paginationLineGridEnabled
 
(void- _setCustomBackingScaleFactor:
 
(CGFloat- _backingScaleFactor
 
(NSUInteger) - markAllMatchesForText:caseSensitive:highlight:limit:
 
(NSUInteger) - countMatchesForText:caseSensitive:highlight:limit:markMatches:
 
(BOOL- searchFor:direction:caseSensitive:wrap:startInSelection:
 
(void- _setFontFallbackPrefersPictographs:
 
(void- showCandidates:forString:inRect:forSelectedRange:view:completionHandler:
 
(void- forceRequestCandidatesForTesting
 
(BOOL- shouldRequestCandidates
 

Class Methods

(void+ _enableRemoteInspector
 
(void+ _disableRemoteInspector
 
(void+ _disableAutoStartRemoteInspector
 
(BOOL+ _isRemoteInspectorEnabled
 
(BOOL+ _hasRemoteInspectorSession
 
(void+ _reportException:inContext:
 
(NSArray *) + _supportedFileExtensions
 
(BOOL+ canShowFile:
 
(NSString *) + suggestedFileExtensionForMIMEType:
 
(NSString *) + _standardUserAgentWithApplicationName:
 
(BOOL+ canCloseAllWebViews
 
(void+ _registerViewClass:representationClass:forURLScheme:
 
(void+ _unregisterViewClassAndRepresentationClassForMIMEType:
 
(BOOL+ _canHandleRequest:
 
(NSString *) + _decodeData:
 
(void+ _setAlwaysUsesComplexTextCodePath:
 
(void+ _setShouldUseFontSmoothing:
 
(BOOL+ _shouldUseFontSmoothing
 
(void+ _setUsesTestModeFocusRingColor:
 
(BOOL+ _usesTestModeFocusRingColor
 
(void+ _addOriginAccessWhitelistEntryWithSourceOrigin:destinationProtocol:destinationHost:allowDestinationSubdomains:
 
(void+ _removeOriginAccessWhitelistEntryWithSourceOrigin:destinationProtocol:destinationHost:allowDestinationSubdomains:
 
(void+ _resetOriginAccessWhitelists
 
(void+ _addUserScriptToGroup:world:source:url:whitelist:blacklist:injectionTime:
 
(void+ _addUserStyleSheetToGroup:world:source:url:whitelist:blacklist:
 
(void+ _addUserScriptToGroup:world:source:url:whitelist:blacklist:injectionTime:injectedFrames:
 
(void+ _addUserStyleSheetToGroup:world:source:url:whitelist:blacklist:injectedFrames:
 
(void+ _removeUserScriptFromGroup:world:url:
 
(void+ _removeUserStyleSheetFromGroup:world:url:
 
(void+ _removeUserScriptsFromGroup:world:
 
(void+ _removeUserStyleSheetsFromGroup:world:
 
(void+ _removeAllUserContentFromGroup:
 
(void+ _setLoadResourcesSerially:
 
(void+ _setDomainRelaxationForbidden:forURLScheme:
 
(void+ _registerURLSchemeAsSecure:
 
(void+ _registerURLSchemeAsAllowingLocalStorageAccessInPrivateBrowsing:
 
(void+ _registerURLSchemeAsAllowingDatabaseAccessInPrivateBrowsing:
 
(BOOL+ _HTTPPipeliningEnabled
 
(void+ _setHTTPPipeliningEnabled:
 

Properties

NSDatasourceApplicationAuditData
 

Method Documentation

◆ _addOriginAccessWhitelistEntryWithSourceOrigin:destinationProtocol:destinationHost:allowDestinationSubdomains:()

+ (void) _addOriginAccessWhitelistEntryWithSourceOrigin: (NSString *)  sourceOrigin
destinationProtocol: (NSString *)  destinationProtocol
destinationHost: (NSString *)  destinationHost
allowDestinationSubdomains: (BOOL allowDestinationSubdomains 

◆ _addScrollerDashboardRegions:()

- (void) _addScrollerDashboardRegions: (NSMutableDictionary *)  regions

◆ _addUserScriptToGroup:world:source:url:whitelist:blacklist:injectionTime:()

+ (void) _addUserScriptToGroup: (NSString *)  groupName
world: (WebScriptWorld *)  world
source: (NSString *)  source
url: (NSURL *)  url
whitelist: (NSArray *)  whitelist
blacklist: (NSArray *)  blacklist
injectionTime: (WebUserScriptInjectionTime injectionTime 

◆ _addUserScriptToGroup:world:source:url:whitelist:blacklist:injectionTime:injectedFrames:()

+ (void) _addUserScriptToGroup: (NSString *)  groupName
world: (WebScriptWorld *)  world
source: (NSString *)  source
url: (NSURL *)  url
whitelist: (NSArray *)  whitelist
blacklist: (NSArray *)  blacklist
injectionTime: (WebUserScriptInjectionTime injectionTime
injectedFrames: (WebUserContentInjectedFrames injectedFrames 

◆ _addUserStyleSheetToGroup:world:source:url:whitelist:blacklist:()

+ (void) _addUserStyleSheetToGroup: (NSString *)  groupName
world: (WebScriptWorld *)  world
source: (NSString *)  source
url: (NSURL *)  url
whitelist: (NSArray *)  whitelist
blacklist: (NSArray *)  blacklist 

◆ _addUserStyleSheetToGroup:world:source:url:whitelist:blacklist:injectedFrames:()

+ (void) _addUserStyleSheetToGroup: (NSString *)  groupName
world: (WebScriptWorld *)  world
source: (NSString *)  source
url: (NSURL *)  url
whitelist: (NSArray *)  whitelist
blacklist: (NSArray *)  blacklist
injectedFrames: (WebUserContentInjectedFrames injectedFrames 

◆ _attachScriptDebuggerToAllFrames()

- (void) _attachScriptDebuggerToAllFrames

_attachScriptDebuggerToAllFrames Attaches a script debugger to all frames belonging to the receiver.

◆ _backingScaleFactor()

- (CGFloat) _backingScaleFactor

◆ _cachedResponseForURL:()

- (NSCachedURLResponse *) _cachedResponseForURL: (NSURL *)  URL

◆ _canHandleRequest:()

+ (BOOL) _canHandleRequest: (NSURLRequest *)  request

_canHandleRequest: Performs a "preflight" operation that performs some speculative checks to see if a request can be used to create a WebDocumentView and WebDocumentRepresentation. The result of this method is valid only as long as no protocols or schemes are registered or unregistered, and as long as the request is not mutated (if the request is mutable). Hence, clients should be prepared to handle failures even if they have performed request preflighting by caling this method.

Parameters
requestThe request to preflight.
Returns
YES if it is likely that a WebDocumentView and WebDocumentRepresentation can be created for the request, NO otherwise.

◆ _clearMainFrameName()

- (void) _clearMainFrameName

◆ _clearUndoRedoOperations()

- (void) _clearUndoRedoOperations

◆ _close()

- (void) _close

◆ _contentsOfUserInterfaceItem:()

- (NSDictionary *) _contentsOfUserInterfaceItem: (NSString *)  userInterfaceItem

◆ _cookieEnabled()

- (BOOL) _cookieEnabled

◆ _dashboardBehavior:()

- (BOOL) _dashboardBehavior: (WebDashboardBehavior behavior

◆ _dashboardRegions()

- (NSDictionary *) _dashboardRegions

◆ _decodeData:()

+ (NSString *) _decodeData: (NSData *)  data

◆ _detachScriptDebuggerFromAllFrames()

- (void) _detachScriptDebuggerFromAllFrames

_detachScriptDebuggerFromAllFrames Detaches any script debuggers from all frames belonging to the receiver.

◆ _didScrollDocumentInFrameView:()

- (void) _didScrollDocumentInFrameView: (WebFrameView *)  frameView

◆ _disableAutoStartRemoteInspector()

+ (void) _disableAutoStartRemoteInspector

◆ _disableRemoteInspector()

+ (void) _disableRemoteInspector

◆ _dispatchPendingLoadRequests()

- (void) _dispatchPendingLoadRequests

_dispatchPendingLoadRequests: Dispatches any pending load requests that have been scheduled because of recent DOM additions or style changes. You only need to call this method if you require synchronous notification of loads through the resource load delegate. Otherwise the resource load delegate will be notified about loads during a future run loop iteration.

◆ _enableRemoteInspector()

+ (void) _enableRemoteInspector

◆ _executeCoreCommandByName:value:()

- (void) _executeCoreCommandByName: (NSString *)  name
value: (NSString *)  value 

◆ _fixedLayoutSize()

- (NSSize) _fixedLayoutSize

◆ _formDelegate()

- (id< WebFormDelegate >) _formDelegate

◆ _gapBetweenPages()

- (CGFloat) _gapBetweenPages

◆ _getDataInteractionData()

- (WebUITextIndicatorData *) _getDataInteractionData

◆ _globalHistoryItem()

- (WebHistoryItem *) _globalHistoryItem

◆ _hasRemoteInspectorSession()

+ (BOOL) _hasRemoteInspectorSession

◆ _HTTPPipeliningEnabled()

+ (BOOL) _HTTPPipeliningEnabled

_HTTPPipeliningEnabled Checks the HTTP pipelining status. Defaults to NO.

Returns
YES if HTTP pipelining is enabled, NO if not enabled.

◆ _includesFlattenedCompositingLayersWhenDrawingToBitmap()

- (BOOL) _includesFlattenedCompositingLayersWhenDrawingToBitmap

◆ _inFastImageScalingMode()

- (BOOL) _inFastImageScalingMode

◆ _insertionPasteboard()

- (NSPasteboard *) _insertionPasteboard

◆ _isClosed()

- (BOOL) _isClosed

◆ _isProcessingUserGesture()

- (BOOL) _isProcessingUserGesture

◆ _isRemoteInspectorEnabled()

+ (BOOL) _isRemoteInspectorEnabled

◆ _isSoftwareRenderable()

- (BOOL) _isSoftwareRenderable

◆ _isUsingAcceleratedCompositing()

- (BOOL) _isUsingAcceleratedCompositing

◆ _isViewVisible()

- (BOOL) _isViewVisible

◆ _layoutMilestones()

- (WebLayoutMilestones) _layoutMilestones

◆ _listenForLayoutMilestones:()

- (void) _listenForLayoutMilestones: (WebLayoutMilestones layoutMilestones

◆ _loadBackForwardListFromOtherView:()

- (void) _loadBackForwardListFromOtherView: (WebView *)  otherView

Could be worth adding to the API. _loadBackForwardListFromOtherView: Loads the view with the contents of the other view, including its backforward list.

Parameters
otherViewThe WebView from which to copy contents.

◆ _pageCount()

- (NSUInteger) _pageCount

◆ _pageLength()

- (CGFloat) _pageLength

◆ _paginationBehavesLikeColumns()

- (BOOL) _paginationBehavesLikeColumns

◆ _paginationLineGridEnabled()

- (BOOL) _paginationLineGridEnabled

◆ _paginationMode()

- (WebPaginationMode) _paginationMode

◆ _postsAcceleratedCompositingNotifications()

- (BOOL) _postsAcceleratedCompositingNotifications

◆ _registerURLSchemeAsAllowingDatabaseAccessInPrivateBrowsing:()

+ (void) _registerURLSchemeAsAllowingDatabaseAccessInPrivateBrowsing: (NSString *)  scheme

◆ _registerURLSchemeAsAllowingLocalStorageAccessInPrivateBrowsing:()

+ (void) _registerURLSchemeAsAllowingLocalStorageAccessInPrivateBrowsing: (NSString *)  scheme

◆ _registerURLSchemeAsSecure:()

+ (void) _registerURLSchemeAsSecure: (NSString *)  scheme

◆ _registerViewClass:representationClass:forURLScheme:()

+ (void) _registerViewClass: (Class viewClass
representationClass: (Class representationClass
forURLScheme: (NSString *)  URLScheme 

_registerViewClass:representationClass:forURLScheme: Register classes that implement WebDocumentView and WebDocumentRepresentation respectively.

Parameters
viewClassThe WebDocumentView class to use to render data for a given MIME type.
representationClassThe WebDocumentRepresentation class to use to represent data of the given MIME type.
URLSchemeThe URL scheme to represent with an object of the given class.

◆ _removeAllUserContentFromGroup:()

+ (void) _removeAllUserContentFromGroup: (NSString *)  groupName

◆ _removeOriginAccessWhitelistEntryWithSourceOrigin:destinationProtocol:destinationHost:allowDestinationSubdomains:()

+ (void) _removeOriginAccessWhitelistEntryWithSourceOrigin: (NSString *)  sourceOrigin
destinationProtocol: (NSString *)  destinationProtocol
destinationHost: (NSString *)  destinationHost
allowDestinationSubdomains: (BOOL allowDestinationSubdomains 

◆ _removeUserScriptFromGroup:world:url:()

+ (void) _removeUserScriptFromGroup: (NSString *)  groupName
world: (WebScriptWorld *)  world
url: (NSURL *)  url 

◆ _removeUserScriptsFromGroup:world:()

+ (void) _removeUserScriptsFromGroup: (NSString *)  groupName
world: (WebScriptWorld *)  world 

◆ _removeUserStyleSheetFromGroup:world:url:()

+ (void) _removeUserStyleSheetFromGroup: (NSString *)  groupName
world: (WebScriptWorld *)  world
url: (NSURL *)  url 

◆ _removeUserStyleSheetsFromGroup:world:()

+ (void) _removeUserStyleSheetsFromGroup: (NSString *)  groupName
world: (WebScriptWorld *)  world 

◆ _reportException:inContext:()

+ (void) _reportException: (JSValueRef exception
inContext: (JSContextRef context 

◆ _requestStartDataInteraction:globalPosition:()

- (BOOL) _requestStartDataInteraction: (CGPoint clientPosition
globalPosition: (CGPoint globalPosition 

◆ _resetOriginAccessWhitelists()

+ (void) _resetOriginAccessWhitelists

◆ _scaleWebView:atOrigin:()

- (void) _scaleWebView: (float)  scale
atOrigin: (NSPoint origin 

◆ _setAdditionalWebPlugInPaths:()

- (void) _setAdditionalWebPlugInPaths: (NSArray *)  newPaths

_setAdditionalWebPlugInPaths: Sets additional plugin search paths for a specific WebView.

◆ _setAlwaysUsesComplexTextCodePath:()

+ (void) _setAlwaysUsesComplexTextCodePath: (BOOL f

◆ _setBaseCTM:forContext:()

- (void) _setBaseCTM: (CGAffineTransform transform
forContext: (CGContextRef context 

◆ _setCookieEnabled:()

- (void) _setCookieEnabled: (BOOL enable

◆ _setCustomBackingScaleFactor:()

- (void) _setCustomBackingScaleFactor: (CGFloat overrideScaleFactor

◆ _setDashboardBehavior:to:()

- (void) _setDashboardBehavior: (WebDashboardBehavior behavior
to: (BOOL flag 

◆ _setDomainRelaxationForbidden:forURLScheme:()

+ (void) _setDomainRelaxationForbidden: (BOOL forbidden
forURLScheme: (NSString *)  scheme 

◆ _setFixedLayoutSize:()

- (void) _setFixedLayoutSize: (NSSize)  size

◆ _setFontFallbackPrefersPictographs:()

- (void) _setFontFallbackPrefersPictographs: (BOOL flag

◆ _setFormDelegate:()

- (void) _setFormDelegate: (id<WebFormDelegate>)  delegate

◆ _setGapBetweenPages:()

- (void) _setGapBetweenPages: (CGFloat pageGap

◆ _setHTTPPipeliningEnabled:()

+ (void) _setHTTPPipeliningEnabled: (BOOL enabled

_setHTTPPipeliningEnabled: Set the HTTP pipelining status. Defaults to NO.

Parameters
enabledThe new HTTP pipelining status.

◆ _setIncludesFlattenedCompositingLayersWhenDrawingToBitmap:()

- (void) _setIncludesFlattenedCompositingLayersWhenDrawingToBitmap: (BOOL flag

◆ _setLoadResourcesSerially:()

+ (void) _setLoadResourcesSerially: (BOOL serialize

◆ _setPageLength:()

- (void) _setPageLength: (CGFloat pageLength

◆ _setPaginationBehavesLikeColumns:()

- (void) _setPaginationBehavesLikeColumns: (BOOL behavesLikeColumns

◆ _setPaginationLineGridEnabled:()

- (void) _setPaginationLineGridEnabled: (BOOL lineGridEnabled

◆ _setPaginationMode:()

- (void) _setPaginationMode: (WebPaginationMode paginationMode

◆ _setPostsAcceleratedCompositingNotifications:()

- (void) _setPostsAcceleratedCompositingNotifications: (BOOL flag

◆ _setShouldUseFontSmoothing:()

+ (void) _setShouldUseFontSmoothing: (BOOL f

◆ _setUseFastImageScalingMode:()

- (void) _setUseFastImageScalingMode: (BOOL flag

◆ _setUseFixedLayout:()

- (void) _setUseFixedLayout: (BOOL fixed

◆ _setUsesTestModeFocusRingColor:()

+ (void) _setUsesTestModeFocusRingColor: (BOOL f

◆ _setVisibilityState:isInitialState:()

- (void) _setVisibilityState: (WebPageVisibilityState visibilityState
isInitialState: (BOOL isInitialState 

◆ _shouldUseFontSmoothing()

+ (BOOL) _shouldUseFontSmoothing

◆ _standardUserAgentWithApplicationName:()

+ (NSString *) _standardUserAgentWithApplicationName: (NSString *)  applicationName

◆ _supportedFileExtensions()

+ (NSArray *) _supportedFileExtensions

◆ _unregisterViewClassAndRepresentationClassForMIMEType:()

+ (void) _unregisterViewClassAndRepresentationClassForMIMEType: (NSString *)  MIMEType

◆ _updateActiveState()

- (void) _updateActiveState

◆ _updateVisibilityState()

- (void) _updateVisibilityState

◆ _useFixedLayout()

- (BOOL) _useFixedLayout

◆ _usesTestModeFocusRingColor()

+ (BOOL) _usesTestModeFocusRingColor

◆ _viewScaleFactor()

- (float) _viewScaleFactor

◆ _visibilityState()

- (WebPageVisibilityState) _visibilityState

◆ allowsNewCSSAnimationsWhileSuspended()

- (BOOL) allowsNewCSSAnimationsWhileSuspended

◆ allowsRemoteInspection()

- (BOOL) allowsRemoteInspection

allowsRemoteInspection

Returns
Returns whether or not this WebView will allow a Remote Web Inspector to attach to it.

◆ alwaysShowHorizontalScroller()

- (BOOL) alwaysShowHorizontalScroller

alwaysShowHorizontalScroller

Returns
YES if the horizontal scroller is always shown

◆ alwaysShowVerticalScroller()

- (BOOL) alwaysShowVerticalScroller

alwaysShowVerticalScroller

Returns
YES if the vertical scroller is always shown

◆ areMemoryCacheDelegateCallsEnabled()

- (BOOL) areMemoryCacheDelegateCallsEnabled

◆ backgroundColor()

- (NSColor *) backgroundColor

backgroundColor

Returns
Returns the background color drawn under transparent page background colors and images. This color is also used when no page is loaded. A color with alpha should only be used when the receiver is in a non-opaque window, since the color is drawn using NSCompositeCopy.

◆ canCloseAllWebViews()

+ (BOOL) canCloseAllWebViews

canCloseAllWebViews Checks if all the open WebViews can be closed (by dispatching the beforeUnload event to the pages).

Returns
YES if all the WebViews can be closed.

◆ canShowFile:()

+ (BOOL) canShowFile: (NSString *)  path

canShowFile: Checks if the WebKit can show the content of the file at the specified path.

Parameters
pathThe path of the file to check
Returns
YES if the WebKit can show the content of the file at the specified path.

◆ countMatchesForText:caseSensitive:highlight:limit:markMatches:()

- (NSUInteger) countMatchesForText: (NSString *)  string
caseSensitive: (BOOL caseFlag
highlight: (BOOL highlight
limit: (NSUInteger)  limit
markMatches: (BOOL markMatches 

◆ cssAnimationsSuspended()

- (BOOL) cssAnimationsSuspended

cssAnimationsSuspended Returns whether or not CSS Animations are suspended.

Returns
YES if CSS Animations are suspended.

◆ defersCallbacks()

- (BOOL) defersCallbacks

◆ forceRequestCandidatesForTesting()

- (void) forceRequestCandidatesForTesting

◆ inspector()

- (WebInspector *) inspector

◆ interactiveFormValidationEnabled()

- (BOOL) interactiveFormValidationEnabled

◆ isSelectTrailingWhitespaceEnabled()

- (BOOL) isSelectTrailingWhitespaceEnabled (void

◆ isTrackingRepaints()

- (BOOL) isTrackingRepaints

◆ markAllMatchesForText:caseSensitive:highlight:limit:()

- (NSUInteger) markAllMatchesForText: (NSString *)  string
caseSensitive: (BOOL caseFlag
highlight: (BOOL highlight
limit: (NSUInteger)  limit 

◆ resetTrackedRepaints()

- (void) resetTrackedRepaints

◆ searchFor:direction:caseSensitive:wrap:startInSelection:()

- (BOOL) searchFor: (NSString *)  string
direction: (BOOL forward
caseSensitive: (BOOL caseFlag
wrap: (BOOL wrapFlag
startInSelection: (BOOL startInSelection 

searchFor:direction:caseSensitive:wrap:startInSelection: Searches a document view for a string and highlights the string if it is found. Starts the search from the current selection. Will search across all frames.

Parameters
stringThe string to search for.
forwardYES to search forward, NO to seach backwards.
caseFlagYES to for case-sensitive search, NO for case-insensitive search.
wrapFlagYES to wrap around, NO to avoid wrapping.
startInSelectionYES to begin search in the selected text (useful for incremental searching), NO to begin search after the selected text.
Returns
YES if found, NO if not found.

◆ setAllowsNewCSSAnimationsWhileSuspended:()

- (void) setAllowsNewCSSAnimationsWhileSuspended: (BOOL allowed

◆ setAllowsRemoteInspection:()

- (void) setAllowsRemoteInspection: (BOOL allow

setAllowsRemoteInspection:

Parameters
allowThe new permission for this WebView. Sets the permission of this WebView to either allow or disallow a Remote Web Inspector to attach to it.

◆ setAlwaysShowHorizontalScroller:()

- (void) setAlwaysShowHorizontalScroller: (BOOL flag

setAlwaysShowHorizontalScroller: Forces the horizontal scroller to be visible if flag is YES, otherwise if flag is NO the scroller with automatically show and hide as needed.

◆ setAlwaysShowVerticalScroller:()

- (void) setAlwaysShowVerticalScroller: (BOOL flag

setAlwaysShowVerticalScroller: Forces the vertical scroller to be visible if flag is YES, otherwise if flag is NO the scroller with automatically show and hide as needed.

◆ setBackgroundColor:()

- (void) setBackgroundColor: (NSColor *)  backgroundColor

setBackgroundColor:

Parameters
backgroundColorColor to use as the default background. Sets what color the receiver draws under transparent page background colors and images. This color is also used when no page is loaded. A color with alpha should only be used when the receiver is in a non-opaque window, since the color is drawn using NSCompositeCopy.

◆ setCSSAnimationsSuspended:()

- (void) setCSSAnimationsSuspended: (BOOL suspended

setCSSAnimationsSuspended

Parameters
suspendedYES to suspend animations, NO to resume animations. Suspends or resumes all running animations and transitions in the page.

◆ setDefersCallbacks:()

- (void) setDefersCallbacks: (BOOL defer

◆ setInteractiveFormValidationEnabled:()

- (void) setInteractiveFormValidationEnabled: (BOOL enabled

◆ setMemoryCacheDelegateCallsEnabled:()

- (void) setMemoryCacheDelegateCallsEnabled: (BOOL suspend

◆ setProhibitsMainFrameScrolling:()

- (void) setProhibitsMainFrameScrolling: (BOOL prohibits

setProhibitsMainFrameScrolling: Prohibits scrolling in the WebView's main frame. Used to "lock" a WebView to a specific scroll position.

◆ setSelectTrailingWhitespaceEnabled:()

- (void) setSelectTrailingWhitespaceEnabled: (BOOL flag

◆ setShowingInspectorIndication:()

- (void) setShowingInspectorIndication: (BOOL enabled

setShowingInspectorIndication

Parameters
enabledShow the indication when true, hide when false. indicate this WebView on screen for a remote inspector.

◆ setTracksRepaints:()

- (void) setTracksRepaints: (BOOL flag

◆ setUsesPageCache:()

- (void) setUsesPageCache: (BOOL usesPageCache

◆ setValidationMessageTimerMagnification:()

- (void) setValidationMessageTimerMagnification: (int)  newValue

◆ shouldRequestCandidates()

- (BOOL) shouldRequestCandidates

◆ showCandidates:forString:inRect:forSelectedRange:view:completionHandler:()

- (void) showCandidates: (NSArray *)  candidates
forString: (NSString *)  string
inRect: (NSRect rectOfTypedString
forSelectedRange: (NSRange range
view: (NSView *)  view
completionHandler: (void(^)(NSTextCheckingResult *acceptedCandidate))  completionBlock 

◆ suggestedFileExtensionForMIMEType:()

+ (NSString *) suggestedFileExtensionForMIMEType: (NSString *)  MIMEType

suggestedFileExtensionForMIMEType:

Parameters
MIMETypeThe MIME type to check.
Returns
The extension based on the MIME type

◆ textIteratorForRect:()

- (WebTextIterator *) textIteratorForRect: (NSRect rect

textIteratorForRect:

Parameters
rectThe rectangle of the document that we're interested in text from.
Returns
WebTextIterator object, initialized with a range that corresponds to the passed-in rectangle. This method gives the text for the approximate range of the document corresponding to the rectangle. The range is determined by using hit testing at the top left and bottom right of the rectangle. Because of that, there can be text visible in the rectangle that is not included in the iterator. If you need a guarantee of iterating all text that is visible, then you need to instead make a WebTextIterator with a DOMRange that covers the entire document.

◆ trackedRepaintRects()

- (NSArray *) trackedRepaintRects

◆ usesPageCache()

- (BOOL) usesPageCache

◆ validationMessageTimerMagnification()

- (int) validationMessageTimerMagnification

Property Documentation

◆ sourceApplicationAuditData

- (NSData*) sourceApplicationAuditData
readwritenonatomiccopy

The documentation for this category was generated from the following files: