webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Instance Methods | Class Methods | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | Properties | List of all members
WebView Class Reference

#import <WebView.h>

Inheritance diagram for WebView:
WebCore::GraphicsLayerClient WebCore::WindowMessageListener IWebNotificationObserver IWebViewEditingActions IWebViewUndoableEditing IWebViewEditing IWebViewCSS IWebIBActions IWebViewPrivate4 IWebView

Instance Methods

(instancetype) - initWithFrame:frameName:groupName:
 
(void- close
 
(void- setMaintainsBackForwardList:
 
(BOOL- goBack
 
(BOOL- goForward
 
(BOOL- goToBackForwardItem:
 
(NSString *) - userAgentForURL:
 
(NSString *) - stringByEvaluatingJavaScriptFromString:
 
(BOOL- searchFor:direction:caseSensitive:wrap:
 
(NSDictionary *) - elementAtPoint:
 
(void- writeSelectionWithPasteboardTypes:toPasteboard:
 
(NSArray *) - pasteboardTypesForElement:
 
(void- writeElement:withPasteboardTypes:toPasteboard:
 
(void- moveDragCaretToPoint:
 
(void- removeDragCaret
 
(virtual HRESULT STDMETHODCALLTYPE) - QueryInterface
 
(virtual ULONG STDMETHODCALLTYPE) - AddRef
 
(virtual ULONG STDMETHODCALLTYPE) - Release
 
(virtual HRESULT STDMETHODCALLTYPE) - canShowMIMEType
 
(virtual HRESULT STDMETHODCALLTYPE) - canShowMIMETypeAsHTML
 
(virtual HRESULT STDMETHODCALLTYPE) - MIMETypesShownAsHTML
 
(virtual HRESULT STDMETHODCALLTYPE) - setMIMETypesShownAsHTML
 
(virtual HRESULT STDMETHODCALLTYPE) - URLFromPasteboard
 
(virtual HRESULT STDMETHODCALLTYPE) - URLTitleFromPasteboard
 
(virtual HRESULT STDMETHODCALLTYPE) - initWithFrame
 
(virtual HRESULT STDMETHODCALLTYPE) - setAccessibilityDelegate
 
(virtual HRESULT STDMETHODCALLTYPE) - accessibilityDelegate
 
(virtual HRESULT STDMETHODCALLTYPE) - setUIDelegate
 
(virtual HRESULT STDMETHODCALLTYPE) - uiDelegate
 
(virtual HRESULT STDMETHODCALLTYPE) - setResourceLoadDelegate
 
(virtual HRESULT STDMETHODCALLTYPE) - resourceLoadDelegate
 
(virtual HRESULT STDMETHODCALLTYPE) - setDownloadDelegate
 
(virtual HRESULT STDMETHODCALLTYPE) - downloadDelegate
 
(virtual HRESULT STDMETHODCALLTYPE) - setFrameLoadDelegate
 
(virtual HRESULT STDMETHODCALLTYPE) - frameLoadDelegate
 
(virtual HRESULT STDMETHODCALLTYPE) - setPolicyDelegate
 
(virtual HRESULT STDMETHODCALLTYPE) - policyDelegate
 
(virtual HRESULT STDMETHODCALLTYPE) - mainFrame
 
(virtual HRESULT STDMETHODCALLTYPE) - focusedFrame
 
(virtual HRESULT STDMETHODCALLTYPE) - backForwardList
 
(virtual HRESULT STDMETHODCALLTYPE) - setMaintainsBackForwardList
 
(virtual HRESULT STDMETHODCALLTYPE) - goBack
 
(virtual HRESULT STDMETHODCALLTYPE) - goForward
 
(virtual HRESULT STDMETHODCALLTYPE) - goToBackForwardItem
 
(virtual HRESULT STDMETHODCALLTYPE) - setTextSizeMultiplier
 
(virtual HRESULT STDMETHODCALLTYPE) - textSizeMultiplier
 
(virtual HRESULT STDMETHODCALLTYPE) - setApplicationNameForUserAgent
 
(virtual HRESULT STDMETHODCALLTYPE) - applicationNameForUserAgent
 
(virtual HRESULT STDMETHODCALLTYPE) - setCustomUserAgent
 
(virtual HRESULT STDMETHODCALLTYPE) - customUserAgent
 
(virtual HRESULT STDMETHODCALLTYPE) - userAgentForURL
 
(virtual HRESULT STDMETHODCALLTYPE) - supportsTextEncoding
 
(virtual HRESULT STDMETHODCALLTYPE) - setCustomTextEncodingName
 
(virtual HRESULT STDMETHODCALLTYPE) - customTextEncodingName
 
(virtual HRESULT STDMETHODCALLTYPE) - setMediaStyle
 
(virtual HRESULT STDMETHODCALLTYPE) - mediaStyle
 
(virtual HRESULT STDMETHODCALLTYPE) - stringByEvaluatingJavaScriptFromString
 
(virtual HRESULT STDMETHODCALLTYPE) - windowScriptObject
 
(virtual HRESULT STDMETHODCALLTYPE) - setPreferences
 
(virtual HRESULT STDMETHODCALLTYPE) - preferences
 
(virtual HRESULT STDMETHODCALLTYPE) - setPreferencesIdentifier
 
(virtual HRESULT STDMETHODCALLTYPE) - preferencesIdentifier
 
(virtual HRESULT STDMETHODCALLTYPE) - setHostWindow
 
(virtual HRESULT STDMETHODCALLTYPE) - hostWindow
 
(virtual HRESULT STDMETHODCALLTYPE) - searchFor
 
(virtual HRESULT STDMETHODCALLTYPE) - registerViewClass
 
(virtual HRESULT STDMETHODCALLTYPE) - setGroupName
 
(virtual HRESULT STDMETHODCALLTYPE) - groupName
 
(virtual HRESULT STDMETHODCALLTYPE) - estimatedProgress
 
(virtual HRESULT STDMETHODCALLTYPE) - isLoading
 
(virtual HRESULT STDMETHODCALLTYPE) - elementAtPoint
 
(virtual HRESULT STDMETHODCALLTYPE) - pasteboardTypesForSelection
 
(virtual HRESULT STDMETHODCALLTYPE) - writeSelectionWithPasteboardTypes
 
(virtual HRESULT STDMETHODCALLTYPE) - pasteboardTypesForElement
 
(virtual HRESULT STDMETHODCALLTYPE) - writeElement
 
(virtual HRESULT STDMETHODCALLTYPE) - selectedText
 
(virtual HRESULT STDMETHODCALLTYPE) - centerSelectionInVisibleArea
 
(virtual HRESULT STDMETHODCALLTYPE) - moveDragCaretToPoint
 
(virtual HRESULT STDMETHODCALLTYPE) - removeDragCaret
 
(virtual HRESULT STDMETHODCALLTYPE) - setDrawsBackground
 
(virtual HRESULT STDMETHODCALLTYPE) - drawsBackground
 
(virtual HRESULT STDMETHODCALLTYPE) - setMainFrameURL
 
(virtual HRESULT STDMETHODCALLTYPE) - mainFrameURL
 
(virtual HRESULT STDMETHODCALLTYPE) - mainFrameDocument
 
(virtual HRESULT STDMETHODCALLTYPE) - mainFrameTitle
 
(virtual HRESULT STDMETHODCALLTYPE) - mainFrameIcon
 
(virtual HRESULT STDMETHODCALLTYPE) - registerURLSchemeAsLocal
 
(virtual HRESULT STDMETHODCALLTYPE) - close
 
(virtual HRESULT STDMETHODCALLTYPE) - takeStringURLFrom
 
(virtual HRESULT STDMETHODCALLTYPE) - stopLoading
 
(virtual HRESULT STDMETHODCALLTYPE) - reload
 
(virtual HRESULT STDMETHODCALLTYPE) - canGoBack
 
(virtual HRESULT STDMETHODCALLTYPE) - goBack
 
(virtual HRESULT STDMETHODCALLTYPE) - canGoForward
 
(virtual HRESULT STDMETHODCALLTYPE) - goForward
 
(virtual HRESULT STDMETHODCALLTYPE) - canMakeTextLarger
 
(virtual HRESULT STDMETHODCALLTYPE) - makeTextLarger
 
(virtual HRESULT STDMETHODCALLTYPE) - canMakeTextSmaller
 
(virtual HRESULT STDMETHODCALLTYPE) - makeTextSmaller
 
(virtual HRESULT STDMETHODCALLTYPE) - canMakeTextStandardSize
 
(virtual HRESULT STDMETHODCALLTYPE) - makeTextStandardSize
 
(virtual HRESULT STDMETHODCALLTYPE) - toggleContinuousSpellChecking
 
(virtual HRESULT STDMETHODCALLTYPE) - toggleSmartInsertDelete
 
(virtual HRESULT STDMETHODCALLTYPE) - toggleGrammarChecking
 
(virtual HRESULT STDMETHODCALLTYPE) - reloadFromOrigin
 
(virtual HRESULT STDMETHODCALLTYPE) - computedStyleForElement
 
(virtual HRESULT STDMETHODCALLTYPE) - editableDOMRangeForPoint
 
(virtual HRESULT STDMETHODCALLTYPE) - setSelectedDOMRange
 
(virtual HRESULT STDMETHODCALLTYPE) - selectedDOMRange
 
(virtual HRESULT STDMETHODCALLTYPE) - selectionAffinity
 
(virtual HRESULT STDMETHODCALLTYPE) - setEditable
 
(virtual HRESULT STDMETHODCALLTYPE) - isEditable
 
(virtual HRESULT STDMETHODCALLTYPE) - setTypingStyle
 
(virtual HRESULT STDMETHODCALLTYPE) - typingStyle
 
(virtual HRESULT STDMETHODCALLTYPE) - setSmartInsertDeleteEnabled
 
(virtual HRESULT STDMETHODCALLTYPE) - smartInsertDeleteEnabled
 
(virtual HRESULT STDMETHODCALLTYPE) - setSelectTrailingWhitespaceEnabled
 
(virtual HRESULT STDMETHODCALLTYPE) - isSelectTrailingWhitespaceEnabled
 
(virtual HRESULT STDMETHODCALLTYPE) - setContinuousSpellCheckingEnabled
 
(virtual HRESULT STDMETHODCALLTYPE) - isContinuousSpellCheckingEnabled
 
(virtual HRESULT STDMETHODCALLTYPE) - spellCheckerDocumentTag
 
(virtual HRESULT STDMETHODCALLTYPE) - undoManager
 
(virtual HRESULT STDMETHODCALLTYPE) - setEditingDelegate
 
(virtual HRESULT STDMETHODCALLTYPE) - editingDelegate
 
(virtual HRESULT STDMETHODCALLTYPE) - styleDeclarationWithText
 
(virtual HRESULT STDMETHODCALLTYPE) - hasSelectedRange
 
(virtual HRESULT STDMETHODCALLTYPE) - cutEnabled
 
(virtual HRESULT STDMETHODCALLTYPE) - copyEnabled
 
(virtual HRESULT STDMETHODCALLTYPE) - pasteEnabled
 
(virtual HRESULT STDMETHODCALLTYPE) - deleteEnabled
 
(virtual HRESULT STDMETHODCALLTYPE) - editingEnabled
 
(virtual HRESULT STDMETHODCALLTYPE) - isGrammarCheckingEnabled
 
(virtual HRESULT STDMETHODCALLTYPE) - setGrammarCheckingEnabled
 
(virtual HRESULT STDMETHODCALLTYPE) - setPageSizeMultiplier
 
(virtual HRESULT STDMETHODCALLTYPE) - pageSizeMultiplier
 
(virtual HRESULT STDMETHODCALLTYPE) - canZoomPageIn
 
(virtual HRESULT STDMETHODCALLTYPE) - zoomPageIn
 
(virtual HRESULT STDMETHODCALLTYPE) - canZoomPageOut
 
(virtual HRESULT STDMETHODCALLTYPE) - zoomPageOut
 
(virtual HRESULT STDMETHODCALLTYPE) - canResetPageZoom
 
(virtual HRESULT STDMETHODCALLTYPE) - resetPageZoom
 
(virtual HRESULT STDMETHODCALLTYPE) - replaceSelectionWithNode
 
(virtual HRESULT STDMETHODCALLTYPE) - replaceSelectionWithText
 
(virtual HRESULT STDMETHODCALLTYPE) - replaceSelectionWithMarkupString
 
(virtual HRESULT STDMETHODCALLTYPE) - replaceSelectionWithArchive
 
(virtual HRESULT STDMETHODCALLTYPE) - deleteSelection
 
(virtual HRESULT STDMETHODCALLTYPE) - clearSelection
 
(virtual HRESULT STDMETHODCALLTYPE) - applyStyle
 
(virtual HRESULT STDMETHODCALLTYPE) - copy
 
(virtual HRESULT STDMETHODCALLTYPE) - cut
 
(virtual HRESULT STDMETHODCALLTYPE) - paste
 
(virtual HRESULT STDMETHODCALLTYPE) - copyURL
 
(virtual HRESULT STDMETHODCALLTYPE) - copyFont
 
(virtual HRESULT STDMETHODCALLTYPE) - pasteFont
 
(virtual HRESULT STDMETHODCALLTYPE) - delete_
 
(virtual HRESULT STDMETHODCALLTYPE) - pasteAsPlainText
 
(virtual HRESULT STDMETHODCALLTYPE) - pasteAsRichText
 
(virtual HRESULT STDMETHODCALLTYPE) - changeFont
 
(virtual HRESULT STDMETHODCALLTYPE) - changeAttributes
 
(virtual HRESULT STDMETHODCALLTYPE) - changeDocumentBackgroundColor
 
(virtual HRESULT STDMETHODCALLTYPE) - changeColor
 
(virtual HRESULT STDMETHODCALLTYPE) - alignCenter
 
(virtual HRESULT STDMETHODCALLTYPE) - alignJustified
 
(virtual HRESULT STDMETHODCALLTYPE) - alignLeft
 
(virtual HRESULT STDMETHODCALLTYPE) - alignRight
 
(virtual HRESULT STDMETHODCALLTYPE) - checkSpelling
 
(virtual HRESULT STDMETHODCALLTYPE) - showGuessPanel
 
(virtual HRESULT STDMETHODCALLTYPE) - performFindPanelAction
 
(virtual HRESULT STDMETHODCALLTYPE) - startSpeaking
 
(virtual HRESULT STDMETHODCALLTYPE) - stopSpeaking
 
(virtual HRESULT STDMETHODCALLTYPE) - onNotify
 
(virtual HRESULT STDMETHODCALLTYPE) - MIMETypeForExtension
 
(virtual HRESULT STDMETHODCALLTYPE) - setCustomDropTarget
 
(virtual HRESULT STDMETHODCALLTYPE) - removeCustomDropTarget
 
(virtual HRESULT STDMETHODCALLTYPE) - setInViewSourceMode
 
(virtual HRESULT STDMETHODCALLTYPE) - inViewSourceMode
 
(virtual HRESULT STDMETHODCALLTYPE) - viewWindow
 
(virtual HRESULT STDMETHODCALLTYPE) - setFormDelegate
 
(virtual HRESULT STDMETHODCALLTYPE) - formDelegate
 
(virtual HRESULT STDMETHODCALLTYPE) - setFrameLoadDelegatePrivate
 
(virtual HRESULT STDMETHODCALLTYPE) - frameLoadDelegatePrivate
 
(virtual HRESULT STDMETHODCALLTYPE) - scrollOffset
 
(virtual HRESULT STDMETHODCALLTYPE) - scrollBy
 
(virtual HRESULT STDMETHODCALLTYPE) - visibleContentRect
 
(virtual HRESULT STDMETHODCALLTYPE) - updateFocusedAndActiveState
 
(virtual HRESULT STDMETHODCALLTYPE) - executeCoreCommandByName
 
(virtual HRESULT STDMETHODCALLTYPE) - clearMainFrameName
 
(virtual HRESULT STDMETHODCALLTYPE) - markAllMatchesForText
 
(virtual HRESULT STDMETHODCALLTYPE) - unmarkAllTextMatches
 
(virtual HRESULT STDMETHODCALLTYPE) - rectsForTextMatches
 
(virtual HRESULT STDMETHODCALLTYPE) - generateSelectionImage
 
(virtual HRESULT STDMETHODCALLTYPE) - selectionRect
 
(virtual HRESULT STDMETHODCALLTYPE) - DragEnter
 
(virtual HRESULT STDMETHODCALLTYPE) - DragOver
 
(virtual HRESULT STDMETHODCALLTYPE) - DragLeave
 
(virtual HRESULT STDMETHODCALLTYPE) - Drop
 
(virtual HRESULT STDMETHODCALLTYPE) - canHandleRequest
 
(virtual HRESULT STDMETHODCALLTYPE) - standardUserAgentWithApplicationName
 
(virtual HRESULT STDMETHODCALLTYPE) - clearFocusNode
 
(virtual HRESULT STDMETHODCALLTYPE) - setInitialFocus
 
(virtual HRESULT STDMETHODCALLTYPE) - setTabKeyCyclesThroughElements
 
(virtual HRESULT STDMETHODCALLTYPE) - tabKeyCyclesThroughElements
 
(virtual HRESULT STDMETHODCALLTYPE) - setAllowSiteSpecificHacks
 
(virtual HRESULT STDMETHODCALLTYPE) - addAdditionalPluginDirectory
 
(virtual HRESULT STDMETHODCALLTYPE) - loadBackForwardListFromOtherView
 
(virtual HRESULT STDMETHODCALLTYPE) - inspector
 
(virtual HRESULT STDMETHODCALLTYPE) - clearUndoRedoOperations
 
(virtual HRESULT STDMETHODCALLTYPE) - shouldClose
 
(virtual HRESULT STDMETHODCALLTYPE) - setProhibitsMainFrameScrolling
 
(virtual HRESULT STDMETHODCALLTYPE) - setShouldApplyMacFontAscentHack
 
(virtual HRESULT STDMETHODCALLTYPE) - windowAncestryDidChange
 
(virtual HRESULT STDMETHODCALLTYPE) - paintDocumentRectToContext
 
(virtual HRESULT STDMETHODCALLTYPE) - paintScrollViewRectToContextAtPoint
 
(virtual HRESULT STDMETHODCALLTYPE) - reportException
 
(virtual HRESULT STDMETHODCALLTYPE) - elementFromJS
 
(virtual HRESULT STDMETHODCALLTYPE) - setCustomHTMLTokenizerTimeDelay
 
(virtual HRESULT STDMETHODCALLTYPE) - setCustomHTMLTokenizerChunkSize
 
(virtual HRESULT STDMETHODCALLTYPE) - backingStore
 
(virtual HRESULT STDMETHODCALLTYPE) - setTransparent
 
(virtual HRESULT STDMETHODCALLTYPE) - transparent
 
(virtual HRESULT STDMETHODCALLTYPE) - setDefersCallbacks
 
(virtual HRESULT STDMETHODCALLTYPE) - defersCallbacks
 
(virtual HRESULT STDMETHODCALLTYPE) - globalHistoryItem
 
(virtual HRESULT STDMETHODCALLTYPE) - setAlwaysUsesComplexTextCodePath
 
(virtual HRESULT STDMETHODCALLTYPE) - alwaysUsesComplexTextCodePath
 
(virtual HRESULT STDMETHODCALLTYPE) - setCookieEnabled
 
(virtual HRESULT STDMETHODCALLTYPE) - cookieEnabled
 
(virtual HRESULT STDMETHODCALLTYPE) - setMediaVolume
 
(virtual HRESULT STDMETHODCALLTYPE) - mediaVolume
 
(virtual HRESULT STDMETHODCALLTYPE) - registerEmbeddedViewMIMEType
 
(virtual HRESULT STDMETHODCALLTYPE) - setMemoryCacheDelegateCallsEnabled
 
(virtual HRESULT STDMETHODCALLTYPE) - setJavaScriptURLsAreAllowed
 
(virtual HRESULT STDMETHODCALLTYPE) - setCanStartPlugins
 
(virtual HRESULT STDMETHODCALLTYPE) - addUserScriptToGroup
 
(virtual HRESULT STDMETHODCALLTYPE) - addUserStyleSheetToGroup
 
(virtual HRESULT STDMETHODCALLTYPE) - removeUserScriptFromGroup
 
(virtual HRESULT STDMETHODCALLTYPE) - removeUserStyleSheetFromGroup
 
(virtual HRESULT STDMETHODCALLTYPE) - removeUserScriptsFromGroup
 
(virtual HRESULT STDMETHODCALLTYPE) - removeUserStyleSheetsFromGroup
 
(virtual HRESULT STDMETHODCALLTYPE) - removeAllUserContentFromGroup
 
(virtual HRESULT STDMETHODCALLTYPE) - unused1
 
(virtual HRESULT STDMETHODCALLTYPE) - unused2
 
(virtual HRESULT STDMETHODCALLTYPE) - invalidateBackingStore
 
(virtual HRESULT STDMETHODCALLTYPE) - addOriginAccessWhitelistEntry
 
(virtual HRESULT STDMETHODCALLTYPE) - removeOriginAccessWhitelistEntry
 
(virtual HRESULT STDMETHODCALLTYPE) - resetOriginAccessWhitelists
 
(virtual HRESULT STDMETHODCALLTYPE) - setHistoryDelegate
 
(virtual HRESULT STDMETHODCALLTYPE) - historyDelegate
 
(virtual HRESULT STDMETHODCALLTYPE) - addVisitedLinks
 
(virtual HRESULT STDMETHODCALLTYPE) - unused3
 
(virtual HRESULT STDMETHODCALLTYPE) - unused4
 
(virtual HRESULT STDMETHODCALLTYPE) - unused5
 
(virtual HRESULT STDMETHODCALLTYPE) - setGeolocationProvider
 
(virtual HRESULT STDMETHODCALLTYPE) - geolocationProvider
 
(virtual HRESULT STDMETHODCALLTYPE) - geolocationDidChangePosition
 
(virtual HRESULT STDMETHODCALLTYPE) - geolocationDidFailWithError
 
(virtual HRESULT STDMETHODCALLTYPE) - setDomainRelaxationForbiddenForURLScheme
 
(virtual HRESULT STDMETHODCALLTYPE) - registerURLSchemeAsSecure
 
(virtual HRESULT STDMETHODCALLTYPE) - registerURLSchemeAsAllowingLocalStorageAccessInPrivateBrowsing
 
(virtual HRESULT STDMETHODCALLTYPE) - registerURLSchemeAsAllowingDatabaseAccessInPrivateBrowsing
 
(virtual HRESULT STDMETHODCALLTYPE) - nextDisplayIsSynchronous
 
(virtual HRESULT STDMETHODCALLTYPE) - defaultMinimumTimerInterval
 
(virtual HRESULT STDMETHODCALLTYPE) - setMinimumTimerInterval
 
(virtual HRESULT STDMETHODCALLTYPE) - httpPipeliningEnabled
 
(virtual HRESULT STDMETHODCALLTYPE) - setHTTPPipeliningEnabled
 
(virtual HRESULT STDMETHODCALLTYPE) - setUsesLayeredWindow
 
(virtual HRESULT STDMETHODCALLTYPE) - usesLayeredWindow
 
(HRESULT STDMETHODCALLTYPE) - setLoadResourcesSerially
 
(HRESULT STDMETHODCALLTYPE) - scaleWebView
 
(HRESULT STDMETHODCALLTYPE) - dispatchPendingLoadRequests
 
(virtual HRESULT STDMETHODCALLTYPE) - setCustomBackingScaleFactor
 
(virtual HRESULT STDMETHODCALLTYPE) - backingScaleFactor
 
(virtual HRESULT STDMETHODCALLTYPE) - addUserScriptToGroup
 
(virtual HRESULT STDMETHODCALLTYPE) - addUserStyleSheetToGroup
 
(HRESULT STDMETHODCALLTYPE) - layerTreeAsString
 
(HRESULT STDMETHODCALLTYPE) - findString
 
(HRESULT STDMETHODCALLTYPE) - setVisibilityState
 
(bool) - shouldUseEmbeddedView
 
(WebCore::Page *) - page
 
(bool) - handleMouseEvent
 
(void- setMouseActivated
 
(bool) - handleContextMenuEvent
 
(HMENU) - createContextMenu
 
(bool) - onMeasureItem
 
(bool) - onDrawItem
 
(bool) - onInitMenuPopup
 
(bool) - onUninitMenuPopup
 
(void- onMenuCommand
 
(bool) - mouseWheel
 
(bool) - verticalScroll
 
(bool) - horizontalScroll
 
(bool) - gesture
 
(bool) - gestureNotify
 
(bool) - execCommand
 
(bool) - keyDown
 
(bool) - keyUp
 
(bool) - keyPress
 
(void- paintWithDirect2D
 
(void- paint
 
(void- paintIntoWindow
 
(bool) - ensureBackingStore
 
(void- addToDirtyRegion
 
(void- addToDirtyRegion
 
(void- scrollBackingStore
 
(void- deleteBackingStore
 
(void- repaint
 
(void- frameRect
 
(void- closeWindow
 
(void- closeWindowSoon
 
(void- closeWindowTimerFired
 
(bool) - didClose
 
(bool) - transparent
 
(bool) - usesLayeredWindow
 
(bool) - needsDisplay
 
(bool) - onIMEStartComposition
 
(bool) - onIMEComposition
 
(bool) - onIMEEndComposition
 
(bool) - onIMEChar
 
(bool) - onIMENotify
 
(LRESULT) - onIMERequest
 
(bool) - onIMESelect
 
(bool) - onIMESetContext
 
(void- selectionChanged
 
(void- resetIME
 
(void- setInputMethodState
 
(HRESULT- registerDragDrop
 
(HRESULT- revokeDragDrop
 
(WebFrame *) - topLevelFrame
 
(const WTF::String &) - userAgentForKURL
 
(void- setIsBeingDestroyed
 
(bool) - isBeingDestroyed
 
(const char *) - interpretKeyEvent
 
(bool) - handleEditingKeyboardEvent
 
(bool) - isPainting
 
(void- setToolTip
 
(void- registerForIconNotification
 
(void- dispatchDidReceiveIconFromWebFrame
 
(HRESULT- notifyDidAddIcon
 
(HRESULT- notifyPreferencesChanged
 
(void- updateActiveStateSoon
 
(void- deleteBackingStoreSoon
 
(void- cancelDeleteBackingStoreSoon
 
(HWND- topLevelParent
 
(HWND- viewWindow
 
(void- updateActiveState
 
(bool) - onGetObject
 
(void- downloadURL
 
(void- flushPendingGraphicsLayerChangesSoon
 
(void- setRootChildLayer
 
(void- enterVideoFullscreenForVideoElement
 
(void- exitVideoFullscreenForVideoElement
 
(void- setLastCursor
 
(void- setGlobalHistoryItem
 
(bool) - canShowMIMEType
 
(bool) - canShowMIMETypeAsHTML
 
(HRESULT STDMETHODCALLTYPE) - setCompositionForTesting
 
(HRESULT STDMETHODCALLTYPE) - hasCompositionForTesting
 
(HRESULT STDMETHODCALLTYPE) - confirmCompositionForTesting
 
(HRESULT STDMETHODCALLTYPE) - compositionRangeForTesting
 
(HRESULT STDMETHODCALLTYPE) - firstRectForCharacterRangeForTesting
 
(HRESULT STDMETHODCALLTYPE) - selectedRangeForTesting
 
(float) - deviceScaleFactor
 
(IBAction) - takeStringURLFrom:
 
(IBAction) - stopLoading:
 
(IBAction) - reload:
 
(IBAction) - reloadFromOrigin:
 
(IBAction) - goBack:
 
(IBAction) - goForward:
 
(IBAction) - makeTextLarger:
 
(IBAction) - makeTextSmaller:
 
(IBAction) - makeTextStandardSize:
 
(IBAction) - toggleContinuousSpellChecking:
 
(IBAction) - toggleSmartInsertDelete:
 
(DOMCSSStyleDeclaration *) - computedStyleForElement:pseudoElement:
 
(DOMRange *) - editableDOMRangeForPoint:
 
(void- setSelectedDOMRange:affinity:
 
(DOMCSSStyleDeclaration *) - styleDeclarationWithText:
 
(void- copy:
 
(void- cut:
 
(void- paste:
 
(void- copyFont:
 
(void- pasteFont:
 
(void- delete:
 
(void- pasteAsPlainText:
 
(void- pasteAsRichText:
 
(void- changeFont:
 
(void- changeAttributes:
 
(void- changeDocumentBackgroundColor:
 
(void- changeColor:
 
(void- alignCenter:
 
(void- alignJustified:
 
(void- alignLeft:
 
(void- alignRight:
 
(void- checkSpelling:
 
(void- showGuessPanel:
 
(void- performFindPanelAction:
 
(void- startSpeaking:
 
(void- stopSpeaking:
 
(void- moveToBeginningOfSentence:
 
(void- moveToBeginningOfSentenceAndModifySelection:
 
(void- moveToEndOfSentence:
 
(void- moveToEndOfSentenceAndModifySelection:
 
(void- selectSentence:
 
(void- overWrite:
 
(void- outdent:
 
(NSDictionary *) - typingAttributes
 
(NSMenu *) - _menuForElement:defaultItems:
 
(id- _UIDelegateForwarder
 
(id- _editingDelegateForwarder
 
(id- _policyDelegateForwarder
 
(void- _pushPerformingProgrammaticFocus
 
(void- _popPerformingProgrammaticFocus
 
(void- _didStartProvisionalLoadForFrame:
 
(BOOL- _viewClass:andRepresentationClass:forMIMEType:
 
(BOOL- _canShowMIMEType:
 
(WebDownload *) - _downloadURL:
 
(BOOL- _isPerformingProgrammaticFocus
 
(void- _mouseDidMoveOverElement:modifierFlags:
 
(WebView *) - _openNewWindowWithRequest:
 
(void- _writeImageForElement:withPasteboardTypes:toPasteboard:
 
(void- _writeLinkElement:withPasteboardTypes:toPasteboard:
 
(void- _openFrameInNewWindowFromMenu:
 
(void- _searchWithGoogleFromMenu:
 
(void- _searchWithSpotlightFromMenu:
 
(void- _progressCompleted:
 
(void- _didCommitLoadForFrame:
 
(void- _didFinishLoadForFrame:
 
(void- _didFailLoadWithError:forFrame:
 
(void- _didFailProvisionalLoadWithError:forFrame:
 
(void- _willChangeValueForKey:
 
(void- _didChangeValueForKey:
 
(WebBasePluginPackage *) - _pluginForMIMEType:
 
(WebBasePluginPackage *) - _pluginForExtension:
 
(void- setCurrentNodeHighlight:
 
(WebNodeHighlight *) - currentNodeHighlight
 
(void- addPluginInstanceView:
 
(void- removePluginInstanceView:
 
(void- removePluginInstanceViewsFor:
 
(void- _addObject:forIdentifier:
 
(id- _objectForIdentifier:
 
(void- _removeObjectForIdentifier:
 
(void- _setZoomMultiplier:isTextOnly:
 
(float) - _zoomMultiplier:
 
(float) - _realZoomMultiplier
 
(BOOL- _realZoomMultiplierIsTextOnly
 
(BOOL- _canZoomOut:
 
(BOOL- _canZoomIn:
 
(IBAction) - _zoomOut:isTextOnly:
 
(IBAction) - _zoomIn:isTextOnly:
 
(BOOL- _canResetZoom:
 
(IBAction) - _resetZoom:isTextOnly:
 
(void- _setInsertionPasteboard:
 
(void- _preferencesChanged:
 
(NSPoint- _convertPointFromRootView:
 
(NSRect- _convertRectFromRootView:
 
(void- _setMaintainsInactiveSelection:
 
(void- prepareForMouseUp
 
(void- prepareForMouseDown
 
(void- updateTouchBar
 
(void- _dismissTextTouchBarPopoverItemWithIdentifier:
 
(NSCandidateListTouchBarItem *) - candidateList
 
(void- showFormValidationMessage:withAnchorRect:
 
(void- hideFormValidationMessage
 
(void- replaceSelectionWithNode:
 
(void- replaceSelectionWithText:
 
(void- replaceSelectionWithMarkupString:
 
(void- replaceSelectionWithArchive:
 
(void- applyStyle:
 
(void- _setUserMediaClient:
 
(id< WebUserMediaClient >) - _userMediaClient
 
- Instance Methods inherited from IWebView
HRESULT canShowMIMEType ([in] BSTR mimeType, [out, retval] BOOL *canShow)
 
HRESULT canShowMIMETypeAsHTML ([in] BSTR mimeType, [out, retval] BOOL *canShow)
 
HRESULT MIMETypesShownAsHTML ([out, retval] IEnumVARIANT **enumVariant)
 
HRESULT setMIMETypesShownAsHTML ([in, size_is(cMimeTypes)] BSTR *mimeTypes, [in] int cMimeTypes)
 
HRESULT URLFromPasteboard ([in] IDataObject *pasteboard, [out, retval] BSTR *url)
 
HRESULT URLTitleFromPasteboard ([in] IDataObject *pasteboard, [out, retval] BSTR *urlTitle)
 
HRESULT initWithFrame ([in] RECT frame, [in] BSTR frameName, [in] BSTR groupName)
 
HRESULT setAccessibilityDelegate ([in] IAccessibilityDelegate *d)
 
HRESULT accessibilityDelegate ([out][retval] IAccessibilityDelegate **d)
 
HRESULT setUIDelegate ([in] IWebUIDelegate *d)
 
HRESULT uiDelegate ([retval, out] IWebUIDelegate **d)
 
HRESULT setResourceLoadDelegate ([in] IWebResourceLoadDelegate *d)
 
HRESULT resourceLoadDelegate ([retval, out] IWebResourceLoadDelegate **d)
 
HRESULT setDownloadDelegate ([in] IWebDownloadDelegate *d)
 
HRESULT downloadDelegate ([retval, out] IWebDownloadDelegate **d)
 
HRESULT setFrameLoadDelegate ([in] IWebFrameLoadDelegate *d)
 
HRESULT frameLoadDelegate ([retval, out] IWebFrameLoadDelegate **d)
 
HRESULT setPolicyDelegate ([in] IWebPolicyDelegate *d)
 
HRESULT policyDelegate ([retval, out] IWebPolicyDelegate **d)
 
HRESULT mainFrame ([retval, out] IWebFrame **frame)
 
HRESULT focusedFrame ([retval, out] IWebFrame **frame)
 
HRESULT backForwardList ([retval, out] IWebBackForwardList **list)
 
HRESULT goBack ([out, retval] BOOL *succeeded)
 
HRESULT goForward ([out, retval] BOOL *succeeded)
 
HRESULT goToBackForwardItem ([in] IWebHistoryItem *item, [out, retval] BOOL *succeeded)
 
HRESULT textSizeMultiplier ([out, retval] float *multiplier)
 
HRESULT setApplicationNameForUserAgent ([in] BSTR applicationName)
 
HRESULT applicationNameForUserAgent ([out, retval] BSTR *applicationName)
 
HRESULT setCustomUserAgent ([in] BSTR userAgentString)
 
HRESULT customUserAgent ([out, retval] BSTR *userAgentString)
 
HRESULT userAgentForURL ([in] BSTR url, [out, retval] BSTR *userAgent)
 
HRESULT supportsTextEncoding ([out, retval] BOOL *supports)
 
HRESULT setCustomTextEncodingName ([in] BSTR encodingName)
 
HRESULT customTextEncodingName ([out, retval] BSTR *encodingName)
 
HRESULT setMediaStyle ([in] BSTR media)
 
HRESULT mediaStyle ([out, retval] BSTR *media)
 
HRESULT stringByEvaluatingJavaScriptFromString ([in] BSTR script, [out, retval] BSTR *result)
 
HRESULT windowScriptObject ([out, retval] IWebScriptObject **webScriptObject)
 
HRESULT setPreferences ([in] IWebPreferences *prefs)
 
HRESULT preferences ([out, retval] IWebPreferences **prefs)
 
HRESULT setPreferencesIdentifier ([in] BSTR anIdentifier)
 
HRESULT preferencesIdentifier ([out, retval] BSTR *anIdentifier)
 
HRESULT setHostWindow ([in] HWND window)
 
HRESULT hostWindow ([out, retval] HWND *window)
 
HRESULT searchFor ([in] BSTR str, [in] BOOL forward, [in] BOOL caseFlag, [in] BOOL wrapFlag, [out, retval] BOOL *found)
 
HRESULT registerViewClass ([in] IWebDocumentView *view, [in] IWebDocumentRepresentation *representation, [in] BSTR forMIMEType)
 
HRESULT setGroupName ([in] BSTR groupName)
 
HRESULT groupName ([out, retval] BSTR *groupName)
 
HRESULT estimatedProgress ([out, retval] double *estimatedProgress)
 
HRESULT isLoading ([out, retval] BOOL *isLoading)
 
HRESULT elementAtPoint ([in] LPPOINT point, [out, retval] IPropertyBag **elementDictionary)
 
HRESULT pasteboardTypesForSelection ([out, retval] IEnumVARIANT **enumVariant)
 
HRESULT writeSelectionWithPasteboardTypes ([in, size_is(cTypes)] BSTR *types, [in] int cTypes, [in] IDataObject *pasteboard)
 
HRESULT pasteboardTypesForElement ([in] IPropertyBag *elementDictionary, [out, retval] IEnumVARIANT **enumVariant)
 
HRESULT writeElement ([in] IPropertyBag *elementDictionary, [in, size_is(cWithPasteboardTypes)] BSTR *withPasteboardTypes, [in] int cWithPasteboardTypes, [in] IDataObject *pasteboard)
 
HRESULT selectedText ([out, retval] BSTR *text)
 
HRESULT centerSelectionInVisibleArea ([in] IUnknown *sender)
 
HRESULT moveDragCaretToPoint ([in] LPPOINT point)
 
HRESULT drawsBackground ([out, retval] BOOL *drawsBackground)
 
HRESULT setMainFrameURL ([in] BSTR urlString)
 
HRESULT mainFrameURL ([out, retval] BSTR *urlString)
 
HRESULT mainFrameDocument ([out, retval] IDOMDocument **document)
 
HRESULT mainFrameTitle ([out, retval] BSTR *title)
 
HRESULT mainFrameIcon ([out, retval] HBITMAP *hBitmap)
 
HRESULT registerURLSchemeAsLocal ([in] BSTR scheme)
 
- Instance Methods inherited from IWebIBActions
HRESULT takeStringURLFrom ([in] IUnknown *sender)
 
HRESULT stopLoading ([in] IUnknown *sender)
 
HRESULT reload ([in] IUnknown *sender)
 
HRESULT canGoBack ([in] IUnknown *sender, [out, retval] BOOL *result)
 
HRESULT goBack ([in] IUnknown *sender)
 
HRESULT canGoForward ([in] IUnknown *sender, [out, retval] BOOL *result)
 
HRESULT goForward ([in] IUnknown *sender)
 
HRESULT canMakeTextLarger ([in] IUnknown *sender, [out, retval] BOOL *result)
 
HRESULT makeTextLarger ([in] IUnknown *sender)
 
HRESULT canMakeTextSmaller ([in] IUnknown *sender, [out, retval] BOOL *result)
 
HRESULT makeTextSmaller ([in] IUnknown *sender)
 
HRESULT canMakeTextStandardSize ([in] IUnknown *sender, [out, retval] BOOL *result)
 
HRESULT makeTextStandardSize ([in] IUnknown *sender)
 
HRESULT toggleContinuousSpellChecking ([in] IUnknown *sender)
 
HRESULT toggleSmartInsertDelete ([in] IUnknown *sender)
 
HRESULT toggleGrammarChecking ([in] IUnknown *sender)
 
HRESULT pageSizeMultiplier ([out, retval] float *multiplier)
 
HRESULT canZoomPageIn ([in] IUnknown *sender, [out, retval] BOOL *result)
 
HRESULT zoomPageIn ([in] IUnknown *sender)
 
HRESULT canZoomPageOut ([in] IUnknown *sender, [out, retval] BOOL *result)
 
HRESULT zoomPageOut ([in] IUnknown *sender)
 
HRESULT canResetPageZoom ([in] IUnknown *sender, [out, retval] BOOL *result)
 
HRESULT resetPageZoom ([in] IUnknown *sender)
 
HRESULT reloadFromOrigin ([in] IUnknown *sender)
 
- Instance Methods inherited from IWebViewCSS
HRESULT computedStyleForElement ([in] IDOMElement *element, [in] BSTR pseudoElement, [out, retval] IDOMCSSStyleDeclaration **style)
 
- Instance Methods inherited from IWebViewEditing
HRESULT editableDOMRangeForPoint ([in] LPPOINT point, [out, retval] IDOMRange **range)
 
HRESULT setSelectedDOMRange ([in] IDOMRange *range, [in] WebSelectionAffinity affinity)
 
HRESULT selectedDOMRange ([out, retval] IDOMRange **range)
 
HRESULT selectionAffinity ([out, retval] [out, retval] WebSelectionAffinity *affinity)
 
HRESULT isEditable ([out, retval] BOOL *isEditable)
 
HRESULT setTypingStyle ([in] IDOMCSSStyleDeclaration *style)
 
HRESULT typingStyle ([out, retval] IDOMCSSStyleDeclaration **style)
 
HRESULT smartInsertDeleteEnabled ([out, retval] BOOL *enabled)
 
HRESULT isContinuousSpellCheckingEnabled ([out, retval] BOOL *enabled)
 
HRESULT spellCheckerDocumentTag ([out, retval] int *tag)
 
HRESULT undoManager ([out, retval] IWebUndoManager **manager)
 
HRESULT setEditingDelegate ([in] IWebEditingDelegate *d)
 
HRESULT editingDelegate ([out, retval] IWebEditingDelegate **d)
 
HRESULT styleDeclarationWithText ([in] BSTR text, [out, retval] IDOMCSSStyleDeclaration **style)
 
HRESULT hasSelectedRange ([out, retval] BOOL *hasSelectedRange)
 
HRESULT cutEnabled ([out, retval] BOOL *enabled)
 
HRESULT copyEnabled ([out, retval] BOOL *enabled)
 
HRESULT pasteEnabled ([out, retval] BOOL *enabled)
 
HRESULT deleteEnabled ([out, retval] BOOL *enabled)
 
HRESULT editingEnabled ([out, retval] BOOL *enabled)
 
HRESULT isGrammarCheckingEnabled ([out, retval] BOOL *enabled)
 
HRESULT isSelectTrailingWhitespaceEnabled ([out, retval] BOOL *enabled)
 
- Instance Methods inherited from IWebViewUndoableEditing
HRESULT replaceSelectionWithNode ([in] IDOMNode *node)
 
HRESULT replaceSelectionWithText ([in] BSTR text)
 
HRESULT replaceSelectionWithMarkupString ([in] BSTR markupString)
 
HRESULT replaceSelectionWithArchive ([in] IWebArchive *archive)
 
HRESULT applyStyle ([in] IDOMCSSStyleDeclaration *style)
 
- Instance Methods inherited from IWebViewEditingActions
HRESULT copy ([in] IUnknown *sender)
 
HRESULT cut ([in] IUnknown *sender)
 
HRESULT paste ([in] IUnknown *sender)
 
HRESULT copyURL ([in] BSTR url)
 
HRESULT copyFont ([in] IUnknown *sender)
 
HRESULT pasteFont ([in] IUnknown *sender)
 
HRESULT delete_ ([in] IUnknown *sender)
 
HRESULT pasteAsPlainText ([in] IUnknown *sender)
 
HRESULT pasteAsRichText ([in] IUnknown *sender)
 
HRESULT changeFont ([in] IUnknown *sender)
 
HRESULT changeAttributes ([in] IUnknown *sender)
 
HRESULT changeDocumentBackgroundColor ([in] IUnknown *sender)
 
HRESULT changeColor ([in] IUnknown *sender)
 
HRESULT alignCenter ([in] IUnknown *sender)
 
HRESULT alignJustified ([in] IUnknown *sender)
 
HRESULT alignLeft ([in] IUnknown *sender)
 
HRESULT alignRight ([in] IUnknown *sender)
 
HRESULT checkSpelling ([in] IUnknown *sender)
 
HRESULT showGuessPanel ([in] IUnknown *sender)
 
HRESULT performFindPanelAction ([in] IUnknown *sender)
 
HRESULT startSpeaking ([in] IUnknown *sender)
 
HRESULT stopSpeaking ([in] IUnknown *sender)
 
- Instance Methods inherited from IWebNotificationObserver
HRESULT onNotify ([in] IWebNotification *notification)
 

Class Methods

(BOOL+ canShowMIMEType:
 
(BOOL+ canShowMIMETypeAsHTML:
 
(NSArray *) + MIMETypesShownAsHTML
 
(void+ setMIMETypesShownAsHTML:
 
(NSURL *) + URLFromPasteboard:
 
(NSString *) + URLTitleFromPasteboard:
 
(void+ registerURLSchemeAsLocal:
 
(void+ registerViewClass:representationClass:forMIMEType:
 
(static WebView *) + createInstance
 
(static bool) + canHandleRequest
 
(static WTF::String+ standardUserAgentWithApplicationName
 
(static void+ setCacheModel
 
(static WebCacheModel+ cacheModel
 
(static bool) + didSetCacheModel
 
(static WebCacheModel+ maxCacheModelInAnyInstance
 
(static STDMETHODIMP) + AccessibleObjectFromWindow
 
(void+ _setCacheModel:
 
(WebCacheModel+ _cacheModel
 
(WebCacheModel+ _cacheModel
 
(BOOL+ _viewClass:andRepresentationClass:forMIMEType:allowingPlugins:
 
(void+ _registerPluginMIMEType:
 
(void+ _unregisterPluginMIMEType:
 
(BOOL+ _canShowMIMEType:allowingPlugins:
 
(NSString *) + _MIMETypeForFile:
 
(NSString *) + _generatedMIMETypeForURLScheme:
 
(BOOL+ _representationExistsForURLScheme:
 
(BOOL+ _canHandleRequest:forMainFrame:
 

Protected Member Functions

() - WebView
 
() - ~WebView
 
(void- updateWindowIfNeeded
 
(bool) - paintCompositedContentToHDC
 
(HIMC) - getIMMContext
 
(void- releaseIMMContext
 
(void- preflightSpellChecker
 
(bool) - continuousCheckingAllowed
 
(void- initializeToolTipWindow
 
(void- prepareCandidateWindow
 
(void- updateSelectionForIME
 
(LRESULT) - onIMERequestCharPosition
 
(LRESULT) - onIMERequestReconvertString
 
(bool) - developerExtrasEnabled
 
(bool) - shouldInitializeTrackPointHack
 
(void- addToAllWebViewsSet
 
(void- removeFromAllWebViewsSet
 
(virtual void- windowReceivedMessage
 
(bool) - isAcceleratedCompositing
 
(void- setAcceleratedCompositing
 

Static Protected Member Functions

(static bool) + registerWebViewWindowClass
 
(static LRESULT CALLBACK) + WebViewWndProc
 
(static bool) + allowSiteSpecificHacks
 

Protected Attributes

ULONG m_refCount { 0 }
 
bool m_deletionHasBegun { false }
 
HWND m_hostWindow { nullptr }
 
HWND m_viewWindow { nullptr }
 
WebFramem_mainFrame { nullptr }
 
WebCore::Pagem_page { nullptr }
 
WebInspectorClientm_inspectorClient { nullptr }
 
HMENU m_currentContextMenu { nullptr }
 
RefPtr< WebCore::SharedGDIObject< HBITMAP > > m_backingStoreBitmap
 
SIZE m_backingStoreSize
 
RefPtr< WebCore::SharedGDIObject< HRGN > > m_backingStoreDirtyRegion
 
COMPtr< IAccessibilityDelegatem_accessibilityDelegate
 
COMPtr< IWebEditingDelegatem_editingDelegate
 
COMPtr< IWebFrameLoadDelegatem_frameLoadDelegate
 
COMPtr< IWebFrameLoadDelegatePrivatem_frameLoadDelegatePrivate
 
COMPtr< IWebUIDelegatem_uiDelegate
 
COMPtr< IWebUIDelegatePrivatem_uiDelegatePrivate
 
COMPtr< IWebFormDelegatem_formDelegate
 
COMPtr< IWebPolicyDelegatem_policyDelegate
 
COMPtr< IWebResourceLoadDelegatem_resourceLoadDelegate
 
COMPtr< IWebDownloadDelegatem_downloadDelegate
 
COMPtr< IWebHistoryDelegatem_historyDelegate
 
COMPtr< WebPreferencesm_preferences
 
COMPtr< WebInspectorm_webInspector
 
COMPtr< IWebGeolocationProviderm_geolocationProvider
 
bool m_userAgentOverridden { false }
 
bool m_useBackForwardList { true }
 
WTF::String m_userAgentCustom
 
WTF::String m_userAgentStandard
 
float m_zoomMultiplier { 1.0f }
 
float m_customDeviceScaleFactor { 0 }
 
bool m_zoomsTextOnly { false }
 
WTF::String m_overrideEncoding
 
WTF::String m_applicationName
 
bool m_mouseActivated { false }
 
COMPtr< IDataObject > m_dragData
 
COMPtr< IDropTargetHelper > m_dropTargetHelper
 
UChar m_currentCharacterCode { 0 }
 
bool m_isBeingDestroyed { false }
 
unsigned m_paintCount { 0 }
 
bool m_hasSpellCheckerDocumentTag { false }
 
bool m_didClose { false }
 
bool m_hasCustomDropTarget { false }
 
unsigned m_inIMEComposition { 0 }
 
HWND m_toolTipHwnd { nullptr }
 
WTF::String m_toolTip
 
bool m_deleteBackingStoreTimerActive { false }
 
bool m_transparent { false }
 
WebCore::SuspendableTimerm_closeWindowTimer { nullptr }
 
std::unique_ptr< TRACKMOUSEEVENT > m_mouseOutTracker
 
HWND m_topLevelParent { nullptr }
 
std::unique_ptr< HashSet< WTF::String > > m_embeddedViewMIMETypes
 
RefPtr< WebCore::Nodem_gestureTargetNode
 
long m_lastPanX { 0 }
 
long m_lastPanY { 0 }
 
long m_xOverpan { 0 }
 
long m_yOverpan { 0 }
 
bool m_isAcceleratedCompositing { false }
 
bool m_nextDisplayIsSynchronous { false }
 
bool m_usesLayeredWindow { false }
 
bool m_needsDisplay { false }
 
HCURSOR m_lastSetCursor { nullptr }
 
RefPtr< WebCore::HistoryItemm_globalHistoryItem
 
RefPtr< WebViewGroupm_webViewGroup
 

Static Protected Attributes

static bool s_allowSiteSpecificHacks = false
 

Properties

BOOL shouldCloseWithWindow
 
id< WebUIDelegate > UIDelegate
 
id< WebResourceLoadDelegate > resourceLoadDelegate
 
id< WebDownloadDelegatedownloadDelegate
 
id< WebFrameLoadDelegate > frameLoadDelegate
 
id< WebPolicyDelegate > policyDelegate
 
WebFramemainFrame
 
WebFrameselectedFrame
 
WebBackForwardListbackForwardList
 
float textSizeMultiplier
 
NSStringapplicationNameForUserAgent
 
NSStringcustomUserAgent
 
BOOL supportsTextEncoding
 
NSStringcustomTextEncodingName
 
NSStringmediaStyle
 
WebScriptObjectwindowScriptObject
 
WebPreferencespreferences
 
NSStringpreferencesIdentifier
 
NSWindowhostWindow
 
NSStringgroupName
 
double estimatedProgress
 
BOOL loading
 
NSArraypasteboardTypesForSelection
 
BOOL drawsBackground
 
BOOL shouldUpdateWhileOffscreen
 
NSStringmainFrameURL
 
DOMDocumentmainFrameDocument
 
NSStringmainFrameTitle
 
NSImagemainFrameIcon
 
BOOL maintainsInactiveSelection
 
BOOL editable
 
BOOL continuousSpellCheckingEnabled
 

Detailed Description

WebView manages the interaction between WebFrameViews and WebDataSources. Modification of the policies and behavior of the WebKit is largely managed by WebViews and their delegates.

Typical usage:

WebView *webView;
WebFrame *mainFrame;
webView  = [[WebView alloc] initWithFrame: NSMakeRect (0,0,640,480)];
mainFrame = [webView mainFrame];
[mainFrame loadRequest:request];

WebViews have the following delegates: WebUIDelegate, WebResourceLoadDelegate, WebFrameLoadDelegate, and WebPolicyDelegate.

WebKit depends on the WebView's WebUIDelegate for all window related management, including opening new windows and controlling the user interface elements in those windows.

WebResourceLoadDelegate is used to monitor the progress of resources as they are loaded. This delegate may be used to present users with a progress monitor.

The WebFrameLoadDelegate receives messages when the URL in a WebFrame is changed.

WebView's WebPolicyDelegate can make determinations about how content should be handled, based on the resource's URL and MIME type.

Constructor & Destructor Documentation

◆ WebView()

◆ ~WebView()

- ~WebView

Method Documentation

◆ _addObject:forIdentifier:()

- (void) _addObject: (id object
forIdentifier: (unsigned long)  identifier 

Provided by category WebView(WebViewOtherInternal).

◆ _cacheModel() [1/2]

+ (WebCacheModel) _cacheModel

Provided by category WebView(WebViewOtherInternal).

◆ _cacheModel() [2/2]

+ (WebCacheModel) _cacheModel

Provided by category WebView(WebViewOtherInternal).

◆ _canHandleRequest:forMainFrame:()

+ (BOOL) _canHandleRequest: (NSURLRequest *)  request
forMainFrame: (BOOL forMainFrame 

Provided by category WebView(WebViewOtherInternal).

◆ _canResetZoom:()

- (BOOL) _canResetZoom: (BOOL isTextOnly

Provided by category WebView(WebViewOtherInternal).

◆ _canShowMIMEType:()

- (BOOL) _canShowMIMEType: (NSString *)  MIMEType

Provided by category WebView(WebViewOtherInternal).

◆ _canShowMIMEType:allowingPlugins:()

+ (BOOL) _canShowMIMEType: (NSString *)  MIMEType
allowingPlugins: (BOOL allowPlugins 

Provided by category WebView(WebViewOtherInternal).

◆ _canZoomIn:()

- (BOOL) _canZoomIn: (BOOL isTextOnly

Provided by category WebView(WebViewOtherInternal).

◆ _canZoomOut:()

- (BOOL) _canZoomOut: (BOOL isTextOnly

Provided by category WebView(WebViewOtherInternal).

◆ _convertPointFromRootView:()

- (NSPoint) _convertPointFromRootView: (NSPoint point

Provided by category WebView(WebViewOtherInternal).

◆ _convertRectFromRootView:()

- (NSRect) _convertRectFromRootView: (NSRect rect

Provided by category WebView(WebViewOtherInternal).

◆ _didChangeValueForKey:()

- (void) _didChangeValueForKey: (NSString *)  key

Provided by category WebView(WebViewOtherInternal).

◆ _didCommitLoadForFrame:()

- (void) _didCommitLoadForFrame: (WebFrame *)  frame

Provided by category WebView(WebViewOtherInternal).

◆ _didFailLoadWithError:forFrame:()

- (void) _didFailLoadWithError: (NSError *)  error
forFrame: (WebFrame *)  frame 

Provided by category WebView(WebViewOtherInternal).

◆ _didFailProvisionalLoadWithError:forFrame:()

- (void) _didFailProvisionalLoadWithError: (NSError *)  error
forFrame: (WebFrame *)  frame 

Provided by category WebView(WebViewOtherInternal).

◆ _didFinishLoadForFrame:()

- (void) _didFinishLoadForFrame: (WebFrame *)  frame

Provided by category WebView(WebViewOtherInternal).

◆ _didStartProvisionalLoadForFrame:()

- (void) _didStartProvisionalLoadForFrame: (WebFrame *)  frame

Provided by category WebView(WebViewOtherInternal).

◆ _dismissTextTouchBarPopoverItemWithIdentifier:()

- (void) _dismissTextTouchBarPopoverItemWithIdentifier: (NSString *)  identifier

Provided by category WebView(WebViewOtherInternal).

◆ _downloadURL:()

- (WebDownload *) _downloadURL: (NSURL *)  URL

Provided by category WebView(WebViewOtherInternal).

◆ _editingDelegateForwarder()

- (id) _editingDelegateForwarder

Provided by category WebView(WebViewOtherInternal).

◆ _generatedMIMETypeForURLScheme:()

+ (NSString *) _generatedMIMETypeForURLScheme: (NSString *)  URLScheme

Provided by category WebView(WebViewOtherInternal).

◆ _isPerformingProgrammaticFocus()

- (BOOL) _isPerformingProgrammaticFocus

Provided by category WebView(WebViewOtherInternal).

◆ _menuForElement:defaultItems:()

- (NSMenu *) _menuForElement: (NSDictionary *)  element
defaultItems: (NSArray *)  items 

Provided by category WebView(WebViewOtherInternal).

◆ _MIMETypeForFile:()

+ (NSString *) _MIMETypeForFile: (NSString *)  path

Provided by category WebView(WebViewOtherInternal).

◆ _mouseDidMoveOverElement:modifierFlags:()

- (void) _mouseDidMoveOverElement: (NSDictionary *)  dictionary
modifierFlags: (NSUInteger)  modifierFlags 

Provided by category WebView(WebViewOtherInternal).

◆ _objectForIdentifier:()

- (id) _objectForIdentifier: (unsigned long)  identifier

Provided by category WebView(WebViewOtherInternal).

◆ _openFrameInNewWindowFromMenu:()

- (void) _openFrameInNewWindowFromMenu: (NSMenuItem *)  sender

Provided by category WebView(WebViewOtherInternal).

◆ _openNewWindowWithRequest:()

- (WebView *) _openNewWindowWithRequest: (NSURLRequest *)  request

Provided by category WebView(WebViewOtherInternal).

◆ _pluginForExtension:()

- (WebBasePluginPackage *) _pluginForExtension: (NSString *)  extension

Provided by category WebView(WebViewOtherInternal).

◆ _pluginForMIMEType:()

- (WebBasePluginPackage *) _pluginForMIMEType: (NSString *)  MIMEType

Provided by category WebView(WebViewOtherInternal).

◆ _policyDelegateForwarder()

- (id) _policyDelegateForwarder

Provided by category WebView(WebViewOtherInternal).

◆ _popPerformingProgrammaticFocus()

- (void) _popPerformingProgrammaticFocus

Provided by category WebView(WebViewOtherInternal).

◆ _preferencesChanged:()

- (void) _preferencesChanged: (WebPreferences *)  preferences

Provided by category WebView(WebViewOtherInternal).

◆ _progressCompleted:()

- (void) _progressCompleted: (WebFrame *)  frame

Provided by category WebView(WebViewOtherInternal).

◆ _pushPerformingProgrammaticFocus()

- (void) _pushPerformingProgrammaticFocus

Provided by category WebView(WebViewOtherInternal).

◆ _realZoomMultiplier()

- (float) _realZoomMultiplier

Provided by category WebView(WebViewOtherInternal).

◆ _realZoomMultiplierIsTextOnly()

- (BOOL) _realZoomMultiplierIsTextOnly

Provided by category WebView(WebViewOtherInternal).

◆ _registerPluginMIMEType:()

+ (void) _registerPluginMIMEType: (NSString *)  MIMEType

Provided by category WebView(WebViewOtherInternal).

◆ _removeObjectForIdentifier:()

- (void) _removeObjectForIdentifier: (unsigned long)  identifier

Provided by category WebView(WebViewOtherInternal).

◆ _representationExistsForURLScheme:()

+ (BOOL) _representationExistsForURLScheme: (NSString *)  URLScheme

Provided by category WebView(WebViewOtherInternal).

◆ _resetZoom:isTextOnly:()

- (IBAction) _resetZoom: (id sender
isTextOnly: (BOOL isTextOnly 

Provided by category WebView(WebViewOtherInternal).

◆ _searchWithGoogleFromMenu:()

- (void) _searchWithGoogleFromMenu: (id sender

Provided by category WebView(WebViewOtherInternal).

◆ _searchWithSpotlightFromMenu:()

- (void) _searchWithSpotlightFromMenu: (id sender

Provided by category WebView(WebViewOtherInternal).

◆ _setCacheModel:()

+ (void) _setCacheModel: (WebCacheModel cacheModel

Provided by category WebView(WebViewOtherInternal).

◆ _setInsertionPasteboard:()

- (void) _setInsertionPasteboard: (NSPasteboard *)  pasteboard

Provided by category WebView(WebViewOtherInternal).

◆ _setMaintainsInactiveSelection:()

- (void) _setMaintainsInactiveSelection: (BOOL shouldMaintainInactiveSelection

Provided by category WebView(WebViewOtherInternal).

◆ _setUserMediaClient:()

- (void) _setUserMediaClient: (id< WebUserMediaClient >)  userMediaClient

Provided by category WebView(WebViewUserMedia).

◆ _setZoomMultiplier:isTextOnly:()

- (void) _setZoomMultiplier: (float)  multiplier
isTextOnly: (BOOL isTextOnly 

Provided by category WebView(WebViewOtherInternal).

◆ _UIDelegateForwarder()

- (id) _UIDelegateForwarder

Provided by category WebView(WebViewOtherInternal).

◆ _unregisterPluginMIMEType:()

+ (void) _unregisterPluginMIMEType: (NSString *)  MIMEType

Provided by category WebView(WebViewOtherInternal).

◆ _userMediaClient()

- (id<WebUserMediaClient>) _userMediaClient

Provided by category WebView(WebViewUserMedia).

◆ _viewClass:andRepresentationClass:forMIMEType:()

- (BOOL) _viewClass: (Class *)  vClass
andRepresentationClass: (Class *)  rClass
forMIMEType: (NSString *)  MIMEType 

Provided by category WebView(WebViewOtherInternal).

◆ _viewClass:andRepresentationClass:forMIMEType:allowingPlugins:()

+ (BOOL) _viewClass: (Class *)  vClass
andRepresentationClass: (Class *)  rClass
forMIMEType: (NSString *)  MIMEType
allowingPlugins: (BOOL allowPlugins 

Provided by category WebView(WebViewOtherInternal).

◆ _willChangeValueForKey:()

- (void) _willChangeValueForKey: (NSString *)  key

Provided by category WebView(WebViewOtherInternal).

◆ _writeImageForElement:withPasteboardTypes:toPasteboard:()

- (void) _writeImageForElement: (NSDictionary *)  element
withPasteboardTypes: (NSArray *)  types
toPasteboard: (NSPasteboard *)  pasteboard 

Provided by category WebView(WebViewOtherInternal).

◆ _writeLinkElement:withPasteboardTypes:toPasteboard:()

- (void) _writeLinkElement: (NSDictionary *)  element
withPasteboardTypes: (NSArray *)  types
toPasteboard: (NSPasteboard *)  pasteboard 

Provided by category WebView(WebViewOtherInternal).

◆ _zoomIn:isTextOnly:()

- (IBAction) _zoomIn: (id sender
isTextOnly: (BOOL isTextOnly 

Provided by category WebView(WebViewOtherInternal).

◆ _zoomMultiplier:()

- (float) _zoomMultiplier: (BOOL isTextOnly

Provided by category WebView(WebViewOtherInternal).

◆ _zoomOut:isTextOnly:()

- (IBAction) _zoomOut: (id sender
isTextOnly: (BOOL isTextOnly 

Provided by category WebView(WebViewOtherInternal).

◆ accessibilityDelegate()

- (HRESULT) accessibilityDelegate (_COM_Outptr_opt_ IAccessibilityDelegate **)  d

◆ AccessibleObjectFromWindow()

+ (STDMETHODIMP) AccessibleObjectFromWindow (HWND hwnd
(DWORD)  objectID
(REFIID)  riid
(void **)  ppObject 

◆ addAdditionalPluginDirectory()

- (HRESULT) addAdditionalPluginDirectory (_In_ BSTR directory

◆ addOriginAccessWhitelistEntry()

- (HRESULT) addOriginAccessWhitelistEntry (_In_ BSTR sourceOrigin
(_In_ BSTR destinationProtocol
(_In_ BSTR destinationHost
(BOOL allowDestinationSubdomains 

◆ addPluginInstanceView:()

- (void) addPluginInstanceView: (NSView *)  view

Provided by category WebView(WebViewOtherInternal).

◆ AddRef()

- (ULONG) AddRef (void

◆ addToAllWebViewsSet()

- (void) addToAllWebViewsSet

◆ addToDirtyRegion() [1/2]

- (void) addToDirtyRegion (const WebCore::IntRect &)  dirtyRect

◆ addToDirtyRegion() [2/2]

- (void) addToDirtyRegion (GDIObject< HRGN >) 

◆ addUserScriptToGroup() [1/2]

- (HRESULT) addUserScriptToGroup (_In_ BSTR groupName
(_In_opt_ IWebScriptWorld *)  iWorld
(_In_ BSTR source
(_In_ BSTR url
(unsigned)  whitelistCount
(__inout_ecount_full(whitelistCount) BSTR *)  whitelist
(unsigned)  blacklistCount
(__inout_ecount_full(blacklistCount) BSTR *)  blacklist
(WebUserScriptInjectionTime injectionTime 

◆ addUserScriptToGroup() [2/2]

- (HRESULT) addUserScriptToGroup (_In_ BSTR groupName
(_In_opt_ IWebScriptWorld *)  iWorld
(_In_ BSTR source
(_In_ BSTR url
(unsigned)  whitelistCount
(__inout_ecount_full(whitelistCount) BSTR *)  whitelist
(unsigned)  blacklistCount
(__inout_ecount_full(blacklistCount) BSTR *)  blacklist
(WebUserScriptInjectionTime injectionTime
(WebUserContentInjectedFrames injectedFrames 

◆ addUserStyleSheetToGroup() [1/2]

- (HRESULT) addUserStyleSheetToGroup (_In_ BSTR groupName
(_In_opt_ IWebScriptWorld *)  iWorld
(_In_ BSTR source
(_In_ BSTR url
(unsigned)  whitelistCount
(__inout_ecount_full(whitelistCount) BSTR *)  whitelist
(unsigned)  blacklistCount
(__inout_ecount_full(blacklistCount) BSTR *)  blacklist 

◆ addUserStyleSheetToGroup() [2/2]

- (HRESULT) addUserStyleSheetToGroup (_In_ BSTR groupName
(_In_opt_ IWebScriptWorld *)  iWorld
(_In_ BSTR source
(_In_ BSTR url
(unsigned)  whitelistCount
(__inout_ecount_full(whitelistCount) BSTR *)  whitelist
(unsigned)  blacklistCount
(__inout_ecount_full(blacklistCount) BSTR *)  blacklist
(WebUserContentInjectedFrames injectedFrames 

◆ addVisitedLinks()

- (HRESULT) addVisitedLinks (__inout_ecount_full(visitedURLCount) BSTR *)  visitedURLs
(unsigned)  visitedURLCount 

◆ alignCenter()

- (HRESULT) alignCenter (_In_opt_ IUnknown *)  sender

◆ alignCenter:()

- (void) alignCenter: (id sender

Provided by category WebView(WebViewEditingActions).

◆ alignJustified()

- (HRESULT) alignJustified (_In_opt_ IUnknown *)  sender

◆ alignJustified:()

- (void) alignJustified: (id sender

Provided by category WebView(WebViewEditingActions).

◆ alignLeft()

- (HRESULT) alignLeft (_In_opt_ IUnknown *)  sender

◆ alignLeft:()

- (void) alignLeft: (id sender

Provided by category WebView(WebViewEditingActions).

◆ alignRight()

- (HRESULT) alignRight (_In_opt_ IUnknown *)  sender

◆ alignRight:()

- (void) alignRight: (id sender

Provided by category WebView(WebViewEditingActions).

◆ allowSiteSpecificHacks()

+ (static bool) allowSiteSpecificHacks

◆ alwaysUsesComplexTextCodePath()

- (HRESULT) alwaysUsesComplexTextCodePath (_Out_ BOOL *)  complex

◆ applicationNameForUserAgent()

- (HRESULT) applicationNameForUserAgent (_Deref_opt_out_ BSTR *)  applicationName

◆ applyStyle()

- (HRESULT) applyStyle (_In_opt_ IDOMCSSStyleDeclaration *) 

◆ applyStyle:()

- (void) applyStyle: (DOMCSSStyleDeclaration *)  style

Provided by category WebView(WebViewUndoableEditing).

◆ backForwardList()

- (HRESULT) backForwardList (_COM_Outptr_opt_ IWebBackForwardList **)  list

◆ backingScaleFactor()

- (HRESULT) backingScaleFactor (_Out_ double *)  factor

◆ backingStore()

- (HRESULT) backingStore (_Deref_opt_out_ HBITMAP *)  hBitmap

◆ cacheModel()

+ (WebCacheModel) cacheModel

◆ cancelDeleteBackingStoreSoon()

- (void) cancelDeleteBackingStoreSoon

◆ candidateList()

- (NSCandidateListTouchBarItem *) candidateList

Provided by category WebView(WebViewOtherInternal).

◆ canGoBack()

- (HRESULT) canGoBack (_In_opt_ IUnknown *)  sender
(_Out_ BOOL *)  result 

Provided by category WebView(WebIBActions).

◆ canGoForward()

- (HRESULT) canGoForward (_In_opt_ IUnknown *)  sender
(_Out_ BOOL *)  result 

Provided by category WebView(WebIBActions).

◆ canHandleRequest() [1/2]

- (HRESULT) canHandleRequest (_In_opt_ IWebURLRequest *)  request
(_Out_ BOOL *)  result 

◆ canHandleRequest() [2/2]

+ (bool) canHandleRequest (const WebCore::ResourceRequest &)  request

◆ canMakeTextLarger()

- (HRESULT) canMakeTextLarger (_In_opt_ IUnknown *)  sender
(_Out_ BOOL *)  result 

Provided by category WebView(WebIBActions).

◆ canMakeTextSmaller()

- (HRESULT) canMakeTextSmaller (_In_opt_ IUnknown *)  sender
(_Out_ BOOL *)  result 

Provided by category WebView(WebIBActions).

◆ canMakeTextStandardSize()

- (HRESULT) canMakeTextStandardSize (_In_opt_ IUnknown *)  sender
(_Out_ BOOL *)  result 

Provided by category WebView(WebIBActions).

◆ canResetPageZoom()

- (HRESULT) canResetPageZoom (_In_opt_ IUnknown *)  sender
(_Out_ BOOL *)  result 

◆ canShowMIMEType() [1/2]

- (HRESULT) canShowMIMEType (_In_ BSTR mimeType
(_Out_ BOOL *)  canShow 

◆ canShowMIMEType() [2/2]

- (bool) canShowMIMEType (const String &)  mimeType

◆ canShowMIMEType:()

+ (BOOL) canShowMIMEType: (NSString *)  MIMEType

canShowMIMEType: Checks if the WebKit can show content of a certain MIME type.

Parameters
MIMETypeThe MIME type to check.
Returns
YES if the WebKit can show content with MIMEtype.

◆ canShowMIMETypeAsHTML() [1/2]

- (HRESULT) canShowMIMETypeAsHTML (_In_ BSTR mimeType
(_Out_ BOOL *)  canShow 

◆ canShowMIMETypeAsHTML() [2/2]

- (bool) canShowMIMETypeAsHTML (const String &)  mimeType

◆ canShowMIMETypeAsHTML:()

+ (BOOL) canShowMIMETypeAsHTML: (NSString *)  MIMEType

canShowMIMETypeAsHTML: Checks if the the MIME type is a type that the WebKit will interpret as HTML.

Parameters
MIMETypeThe MIME type to check.
Returns
YES if the MIMEtype in an HTML type.

◆ canZoomPageIn()

- (HRESULT) canZoomPageIn (_In_opt_ IUnknown *)  sender
(_Out_ BOOL *)  result 

◆ canZoomPageOut()

- (HRESULT) canZoomPageOut (_In_opt_ IUnknown *)  sender
(_Out_ BOOL *)  result 

◆ centerSelectionInVisibleArea()

- (HRESULT) centerSelectionInVisibleArea (_In_opt_ IUnknown *)  sender

◆ changeAttributes()

- (HRESULT) changeAttributes (_In_opt_ IUnknown *)  sender

◆ changeAttributes:()

- (void) changeAttributes: (id sender

Provided by category WebView(WebViewEditingActions).

◆ changeColor()

- (HRESULT) changeColor (_In_opt_ IUnknown *)  sender

◆ changeColor:()

- (void) changeColor: (id sender

Provided by category WebView(WebViewEditingActions).

◆ changeDocumentBackgroundColor()

- (HRESULT) changeDocumentBackgroundColor (_In_opt_ IUnknown *)  sender

◆ changeDocumentBackgroundColor:()

- (void) changeDocumentBackgroundColor: (id sender

Provided by category WebView(WebViewEditingActions).

◆ changeFont()

- (HRESULT) changeFont (_In_opt_ IUnknown *)  sender

◆ changeFont:()

- (void) changeFont: (id sender

Provided by category WebView(WebViewEditingActions).

◆ checkSpelling()

- (HRESULT) checkSpelling (_In_opt_ IUnknown *)  sender

◆ checkSpelling:()

- (void) checkSpelling: (id sender

Provided by category WebView(WebViewEditingActions).

◆ clearFocusNode()

- (HRESULT) clearFocusNode

◆ clearMainFrameName()

- (HRESULT) clearMainFrameName

◆ clearSelection()

- (HRESULT) clearSelection

◆ clearUndoRedoOperations()

- (HRESULT) clearUndoRedoOperations (void

◆ close() [1/2]

- (HRESULT) close

close Closes the receiver, unloading its web page and canceling any pending loads. Once the receiver has closed, it will no longer respond to requests or fire delegate methods. (However, the -close method itself may fire delegate methods.) A garbage collected application is required to call close when the receiver is no longer needed. The close method will be called automatically when the window or hostWindow closes and shouldCloseWithWindow returns YES. A non-garbage collected application can still call close, providing a convenient way to prevent receiver from doing any more loading and firing any future delegate methods.

Implements IWebView.

◆ close() [2/2]

- (virtual HRESULT STDMETHODCALLTYPE) close

close Closes the receiver, unloading its web page and canceling any pending loads. Once the receiver has closed, it will no longer respond to requests or fire delegate methods. (However, the -close method itself may fire delegate methods.) A garbage collected application is required to call close when the receiver is no longer needed. The close method will be called automatically when the window or hostWindow closes and shouldCloseWithWindow returns YES. A non-garbage collected application can still call close, providing a convenient way to prevent receiver from doing any more loading and firing any future delegate methods.

Implements IWebView.

◆ closeWindow()

- (void) closeWindow

◆ closeWindowSoon()

- (void) closeWindowSoon

◆ closeWindowTimerFired()

- (void) closeWindowTimerFired

◆ compositionRangeForTesting()

- (HRESULT) compositionRangeForTesting (_Out_ UINT *)  startPosition
(_Out_ UINT *)  length 

◆ computedStyleForElement()

- (HRESULT) computedStyleForElement (_In_opt_ IDOMElement *) 
(_In_ BSTR pseudoElement
(_COM_Outptr_opt_ IDOMCSSStyleDeclaration **)  style 

◆ computedStyleForElement:pseudoElement:()

- (DOMCSSStyleDeclaration *) computedStyleForElement: (DOMElement *)  element
pseudoElement: (NSString *)  pseudoElement 

Provided by category WebView(WebViewCSS).

◆ confirmCompositionForTesting()

- (HRESULT) confirmCompositionForTesting (_In_ BSTR composition

◆ continuousCheckingAllowed()

- (bool) continuousCheckingAllowed

◆ cookieEnabled()

- (HRESULT) cookieEnabled (_Out_ BOOL *)  enabled

◆ copy()

- (HRESULT) copy (_In_opt_ IUnknown *)  sender

◆ copy:()

- (void) copy: (id sender

Provided by category WebView(WebViewEditingActions).

◆ copyEnabled()

- (HRESULT) copyEnabled (_Out_ BOOL *)  enabled

◆ copyFont()

- (HRESULT) copyFont (_In_opt_ IUnknown *)  sender

◆ copyFont:()

- (void) copyFont: (id sender

Provided by category WebView(WebViewEditingActions).

◆ copyURL()

- (HRESULT) copyURL (_In_ BSTR url

◆ createContextMenu()

- (HMENU) createContextMenu

◆ createInstance()

+ (WebView *) createInstance

◆ currentNodeHighlight()

- (WebNodeHighlight *) currentNodeHighlight

Provided by category WebView(WebViewOtherInternal).

◆ customTextEncodingName()

- (HRESULT) customTextEncodingName (_Deref_opt_out_ BSTR *)  encodingName

◆ customUserAgent()

- (HRESULT) customUserAgent (_Deref_opt_out_ BSTR *)  userAgentString

◆ cut()

- (HRESULT) cut (_In_opt_ IUnknown *)  sender

◆ cut:()

- (void) cut: (id sender

Provided by category WebView(WebViewEditingActions).

◆ cutEnabled()

- (HRESULT) cutEnabled (_Out_ BOOL *)  enabled

◆ defaultMinimumTimerInterval()

- (HRESULT) defaultMinimumTimerInterval (_Out_ double *)  interval

◆ defersCallbacks()

- (HRESULT) defersCallbacks (_Out_ BOOL *)  defersCallbacks

◆ delete:()

- (void) delete: (id sender

Provided by category WebView(WebViewEditingActions).

◆ delete_()

- (HRESULT) delete_ (_In_opt_ IUnknown *)  sender

◆ deleteBackingStore()

- (void) deleteBackingStore

◆ deleteBackingStoreSoon()

- (void) deleteBackingStoreSoon

◆ deleteEnabled()

- (HRESULT) deleteEnabled (_Out_ BOOL *)  enabled

◆ deleteSelection()

- (HRESULT) deleteSelection

Implements IWebViewUndoableEditing.

Provided by category WebView(WebViewUndoableEditing).

◆ developerExtrasEnabled()

- (bool) developerExtrasEnabled const

◆ deviceScaleFactor()

- (float) deviceScaleFactor const

Reimplemented from WebCore::GraphicsLayerClient.

◆ didClose()

- (bool) didClose const

◆ didSetCacheModel()

+ (bool) didSetCacheModel

◆ dispatchDidReceiveIconFromWebFrame()

- (void) dispatchDidReceiveIconFromWebFrame (WebFrame *)  frame

◆ dispatchPendingLoadRequests()

- (HRESULT) dispatchPendingLoadRequests

◆ downloadDelegate()

- (HRESULT) downloadDelegate (_COM_Outptr_opt_ IWebDownloadDelegate **)  d

◆ downloadURL()

- (void) downloadURL (const WebCore::URL &)  url

◆ DragEnter()

- (HRESULT) DragEnter (IDataObject *)  pDataObject
(DWORD)  grfKeyState
(POINTL)  pt
(DWORD *)  pdwEffect 

◆ DragLeave()

- (HRESULT) DragLeave

◆ DragOver()

- (HRESULT) DragOver (DWORD)  grfKeyState
(POINTL)  pt
(DWORD *)  pdwEffect 

◆ drawsBackground()

- (HRESULT) drawsBackground (_Out_ BOOL *) 

◆ Drop()

- (HRESULT) Drop (IDataObject *)  pDataObject
(DWORD)  grfKeyState
(POINTL)  pt
(DWORD *)  pdwEffect 

◆ editableDOMRangeForPoint()

- (HRESULT) editableDOMRangeForPoint (_In_)  LPPOINT
(_COM_Outptr_opt_ IDOMRange **)  range 

◆ editableDOMRangeForPoint:()

- (DOMRange *) editableDOMRangeForPoint: (NSPoint point

Provided by category WebView(WebViewEditing).

◆ editingDelegate()

- (HRESULT) editingDelegate (_COM_Outptr_opt_ IWebEditingDelegate **)  d

Provided by category WebView(WebViewEditing).

◆ editingEnabled()

- (HRESULT) editingEnabled (_Out_ BOOL *)  enabled

◆ elementAtPoint()

- (HRESULT) elementAtPoint (_In_ LPPOINT)  point
(_COM_Outptr_opt_ IPropertyBag **)  elementDictionary 

◆ elementAtPoint:()

- (NSDictionary *) elementAtPoint: (NSPoint point

elementAtPoint:

Parameters
pointA point in the coordinates of the WebView
Returns
An element dictionary describing the point

◆ elementFromJS()

- (HRESULT) elementFromJS (_In_ JSContextRef context
(_In_ JSValueRef nodeObject
(_COM_Outptr_opt_ IDOMElement **)  element 

◆ ensureBackingStore()

- (bool) ensureBackingStore

◆ enterVideoFullscreenForVideoElement()

- (void) enterVideoFullscreenForVideoElement (WebCore::HTMLVideoElement &) 

◆ estimatedProgress()

- (HRESULT) estimatedProgress (_Out_ double *)  estimatedProgress

◆ execCommand()

- (bool) execCommand (WPARAM)  wParam
(LPARAM)  lParam 

◆ executeCoreCommandByName()

- (HRESULT) executeCoreCommandByName (_In_ BSTR name
(_In_ BSTR value 

◆ exitVideoFullscreenForVideoElement()

- (void) exitVideoFullscreenForVideoElement (WebCore::HTMLVideoElement &) 

◆ findString()

- (HRESULT) findString (_In_ BSTR string
(WebFindOptions options
(_Deref_opt_out_ BOOL *)  found 

◆ firstRectForCharacterRangeForTesting()

- (HRESULT) firstRectForCharacterRangeForTesting (UINT)  location
(UINT)  length
(_Out_ RECT *)  resultRect 

◆ flushPendingGraphicsLayerChangesSoon()

- (void) flushPendingGraphicsLayerChangesSoon

◆ focusedFrame()

- (HRESULT) focusedFrame (_COM_Outptr_opt_ IWebFrame **)  frame

◆ formDelegate()

- (HRESULT) formDelegate (_COM_Outptr_opt_ IWebFormDelegate **)  formDelegate

◆ frameLoadDelegate()

- (HRESULT) frameLoadDelegate (_COM_Outptr_opt_ IWebFrameLoadDelegate **)  d

◆ frameLoadDelegatePrivate()

- (HRESULT) frameLoadDelegatePrivate (_COM_Outptr_opt_ IWebFrameLoadDelegatePrivate **)  d

◆ frameRect()

- (void) frameRect (RECT *)  rect

◆ generateSelectionImage()

- (HRESULT) generateSelectionImage (BOOL forceWhiteText
(_Deref_opt_out_ HBITMAP *)  hBitmap 

◆ geolocationDidChangePosition()

- (HRESULT) geolocationDidChangePosition (_In_opt_ IWebGeolocationPosition *)  position

◆ geolocationDidFailWithError()

- (HRESULT) geolocationDidFailWithError (_In_opt_ IWebError *)  error

◆ geolocationProvider()

- (HRESULT) geolocationProvider (_COM_Outptr_opt_ IWebGeolocationProvider **)  locationProvider

◆ gesture()

- (bool) gesture (WPARAM)  wParam
(LPARAM)  lParam 

◆ gestureNotify()

- (bool) gestureNotify (WPARAM)  wParam
(LPARAM)  lParam 

◆ getIMMContext()

- (HIMC) getIMMContext

◆ globalHistoryItem()

- (HRESULT) globalHistoryItem (_COM_Outptr_opt_ IWebHistoryItem **)  item

◆ goBack() [1/3]

- (HRESULT) goBack (_Out_ BOOL *)  succeeded

◆ goBack() [2/3]

- (HRESULT) goBack (_In_opt_ IUnknown *)  sender

◆ goBack() [3/3]

- (BOOL) goBack

goBack Go back to the previous URL in the backforward list.

Returns
YES if able to go back in the backforward list, NO otherwise.

◆ goBack:()

- (IBAction) goBack: (id sender

Provided by category WebView(WebIBActions).

◆ goForward() [1/3]

- (HRESULT) goForward (_Out_ BOOL *)  succeeded

◆ goForward() [2/3]

- (HRESULT) goForward (_In_opt_ IUnknown *)  sender

◆ goForward() [3/3]

- (BOOL) goForward

goForward Go forward to the next URL in the backforward list.

Returns
YES if able to go forward in the backforward list, NO otherwise.

◆ goForward:()

- (IBAction) goForward: (id sender

Provided by category WebView(WebIBActions).

◆ goToBackForwardItem()

- (HRESULT) goToBackForwardItem (_In_opt_ IWebHistoryItem *)  item
(_Out_ BOOL *)  succeeded 

◆ goToBackForwardItem:()

- (BOOL) goToBackForwardItem: (WebHistoryItem *)  item

goToBackForwardItem: Go back or forward to an item in the backforward list.

Returns
YES if able to go to the item, NO otherwise.

◆ groupName()

- (HRESULT) groupName (_Deref_opt_out_ BSTR *)  groupName

◆ handleContextMenuEvent()

- (bool) handleContextMenuEvent (WPARAM)  wParam
(LPARAM)  lParam 

◆ handleEditingKeyboardEvent()

- (bool) handleEditingKeyboardEvent (WebCore::KeyboardEvent *)  evt

◆ handleMouseEvent()

- (bool) handleMouseEvent (UINT)  message
(WPARAM)  wParam
(LPARAM)  lParam 

◆ hasCompositionForTesting()

- (HRESULT) hasCompositionForTesting (_Out_ BOOL *)  result

◆ hasSelectedRange()

- (HRESULT) hasSelectedRange (_Out_ BOOL *)  hasSelectedRange

◆ hideFormValidationMessage()

- (void) hideFormValidationMessage

Provided by category WebView(WebViewOtherInternal).

◆ historyDelegate()

- (HRESULT) historyDelegate (_COM_Outptr_opt_ IWebHistoryDelegate **)  historyDelegate

◆ horizontalScroll()

- (bool) horizontalScroll (WPARAM)  wParam
(LPARAM)   

◆ hostWindow()

- (HRESULT) hostWindow (_Deref_opt_out_ HWND *)  window

◆ httpPipeliningEnabled()

- (HRESULT) httpPipeliningEnabled (_Out_ BOOL *)  enabled

◆ initializeToolTipWindow()

- (void) initializeToolTipWindow

◆ initWithFrame()

- (HRESULT) initWithFrame (RECT)  frame
(_In_ BSTR frameName
(_In_ BSTR groupName 

◆ initWithFrame:frameName:groupName:()

- (instancetype) initWithFrame: (NSRect frame
frameName: (NSString *)  frameName
groupName: (NSString *)  groupName 

initWithFrame:frameName:groupName: The designated initializer for WebView. Initialize a WebView with the supplied parameters. This method will create a main WebFrame with the view. Passing a top level frame name is useful if you handle a targetted frame navigation that would normally open a window in some other way that still ends up creating a new WebView.

Parameters
frameThe frame used to create the view.
frameNameThe name to use for the top level frame. May be nil.
groupNameThe name of the webView set to which this webView will be added. May be nil.
Returns
Returns an initialized WebView.

◆ inspector()

- (HRESULT) inspector (_COM_Outptr_opt_ IWebInspector **)  inspector

◆ interpretKeyEvent()

- (const char *) interpretKeyEvent (const WebCore::KeyboardEvent *)  evt

◆ invalidateBackingStore()

- (HRESULT) invalidateBackingStore (_In_opt_ const RECT *) 

◆ inViewSourceMode()

- (HRESULT) inViewSourceMode (_Out_ BOOL *) 

◆ isAcceleratedCompositing()

- (bool) isAcceleratedCompositing const

◆ isBeingDestroyed()

- (bool) isBeingDestroyed const

◆ isContinuousSpellCheckingEnabled()

- (HRESULT) isContinuousSpellCheckingEnabled (_Out_ BOOL *)  enabled

◆ isEditable()

- (HRESULT) isEditable (_Out_ BOOL *)  isEditable

◆ isGrammarCheckingEnabled()

- (HRESULT) isGrammarCheckingEnabled (_Out_ BOOL *)  enabled

◆ isLoading()

- (HRESULT) isLoading (_Out_ BOOL *)  isLoading

◆ isPainting()

- (bool) isPainting const

◆ isSelectTrailingWhitespaceEnabled()

- (HRESULT) isSelectTrailingWhitespaceEnabled (_Out_ BOOL *)  enabled

◆ keyDown()

- (bool) keyDown (WPARAM)  virtualKeyCode
(LPARAM)  keyData
(bool)  systemKeyDown = false 

◆ keyPress()

- (bool) keyPress (WPARAM)  charCode
(LPARAM)  keyData
(bool)  systemKeyDown = false 

◆ keyUp()

- (bool) keyUp (WPARAM)  virtualKeyCode
(LPARAM)  keyData
(bool)  systemKeyDown = false 

◆ layerTreeAsString()

- (HRESULT) layerTreeAsString (_Deref_opt_out_ BSTR *)  treeBstr

◆ loadBackForwardListFromOtherView()

- (HRESULT) loadBackForwardListFromOtherView (_In_opt_ IWebView *)  otherView

◆ mainFrame()

- (HRESULT) mainFrame (_COM_Outptr_opt_ IWebFrame **)  frame

◆ mainFrameDocument()

- (HRESULT) mainFrameDocument (_COM_Outptr_opt_ IDOMDocument **)  document

◆ mainFrameIcon()

- (HRESULT) mainFrameIcon (_Deref_opt_out_ HBITMAP *) 

◆ mainFrameTitle()

- (HRESULT) mainFrameTitle (_Deref_opt_out_ BSTR *) 

◆ mainFrameURL()

- (HRESULT) mainFrameURL (_Deref_opt_out_ BSTR *)  urlString

◆ makeTextLarger()

- (HRESULT) makeTextLarger (_In_opt_ IUnknown *)  sender

◆ makeTextLarger:()

- (IBAction) makeTextLarger: (id sender

Provided by category WebView(WebIBActions).

◆ makeTextSmaller()

- (HRESULT) makeTextSmaller (_In_opt_ IUnknown *)  sender

◆ makeTextSmaller:()

- (IBAction) makeTextSmaller: (id sender

Provided by category WebView(WebIBActions).

◆ makeTextStandardSize()

- (HRESULT) makeTextStandardSize (_In_opt_ IUnknown *)  sender

◆ makeTextStandardSize:()

- (IBAction) makeTextStandardSize: (id sender

Provided by category WebView(WebIBActions).

◆ markAllMatchesForText()

- (HRESULT) markAllMatchesForText (_In_ BSTR search
(BOOL caseSensitive
(BOOL highlight
(UINT)  limit
(_Out_ UINT *)  matches 

◆ maxCacheModelInAnyInstance()

+ (WebCacheModel) maxCacheModelInAnyInstance

◆ mediaStyle()

- (HRESULT) mediaStyle (_Deref_opt_out_ BSTR *) 

◆ mediaVolume()

- (HRESULT) mediaVolume (_Out_ float *)  volume

◆ MIMETypeForExtension()

- (HRESULT) MIMETypeForExtension (_In_ BSTR extension
(_Deref_opt_out_ BSTR *)  mimeType 

◆ MIMETypesShownAsHTML() [1/2]

- (HRESULT) MIMETypesShownAsHTML (_COM_Outptr_opt_ IEnumVARIANT **)  enumVariant

◆ MIMETypesShownAsHTML() [2/2]

+ (NSArray *) MIMETypesShownAsHTML

MIMETypesShownAsHTML

Returns
Returns an array of NSStrings that describe the MIME types WebKit will attempt to render as HTML.

◆ mouseWheel()

- (bool) mouseWheel (WPARAM)  wParam
(LPARAM)  lParam
(bool)  isMouseHWheel 

◆ moveDragCaretToPoint()

- (HRESULT) moveDragCaretToPoint (_In_)  LPPOINT

◆ moveDragCaretToPoint:()

- (void) moveDragCaretToPoint: (NSPoint point

moveDragCaretToPoint:

Parameters
pointA point in the coordinates of the WebView This method moves the caret that shows where something being dragged will be dropped. It may cause the WebView to scroll to make the new position of the drag caret visible.

◆ moveToBeginningOfSentence:()

- (void) moveToBeginningOfSentence: (id sender

Provided by category WebView(WebViewEditingActions).

◆ moveToBeginningOfSentenceAndModifySelection:()

- (void) moveToBeginningOfSentenceAndModifySelection: (id sender

Provided by category WebView(WebViewEditingActions).

◆ moveToEndOfSentence:()

- (void) moveToEndOfSentence: (id sender

Provided by category WebView(WebViewEditingActions).

◆ moveToEndOfSentenceAndModifySelection:()

- (void) moveToEndOfSentenceAndModifySelection: (id sender

Provided by category WebView(WebViewEditingActions).

◆ needsDisplay()

- (bool) needsDisplay const

◆ nextDisplayIsSynchronous()

- (HRESULT) nextDisplayIsSynchronous

◆ notifyDidAddIcon()

- (HRESULT) notifyDidAddIcon (IWebNotification *)  notification

◆ notifyPreferencesChanged()

- (HRESULT) notifyPreferencesChanged (IWebNotification *)  notification

◆ onDrawItem()

- (bool) onDrawItem (WPARAM) 
(LPARAM)  lParam 

◆ onGetObject()

- (bool) onGetObject (WPARAM)  wParam
(LPARAM)  lParam
(LRESULT &)  lResult 
const

◆ onIMEChar()

- (bool) onIMEChar (WPARAM)  wparam
(LPARAM)  lparam 

◆ onIMEComposition()

- (bool) onIMEComposition (LPARAM)  lparam

◆ onIMEEndComposition()

- (bool) onIMEEndComposition

◆ onIMENotify()

- (bool) onIMENotify (WPARAM)  wparam
(LPARAM) 
(LRESULT *)   

◆ onIMERequest()

- (LRESULT) onIMERequest (WPARAM)  request
(LPARAM)  data 

◆ onIMERequestCharPosition()

- (LRESULT) onIMERequestCharPosition (WebCore::Frame *)  targetFrame
(IMECHARPOSITION *)  charPos 

◆ onIMERequestReconvertString()

- (LRESULT) onIMERequestReconvertString (WebCore::Frame *)  targetFrame
(RECONVERTSTRING *)  reconvertString 

◆ onIMESelect()

- (bool) onIMESelect (WPARAM)  wparam
(LPARAM)  lparam 

◆ onIMESetContext()

- (bool) onIMESetContext (WPARAM)  wparam
(LPARAM)   

◆ onIMEStartComposition()

- (bool) onIMEStartComposition

◆ onInitMenuPopup()

- (bool) onInitMenuPopup (WPARAM)  wParam
(LPARAM)   

◆ onMeasureItem()

- (bool) onMeasureItem (WPARAM) 
(LPARAM)  lParam 

◆ onMenuCommand()

- (void) onMenuCommand (WPARAM)  wParam
(LPARAM)  lParam 

◆ onNotify()

- (HRESULT) onNotify (_In_opt_ IWebNotification *)  notification

◆ onUninitMenuPopup()

- (bool) onUninitMenuPopup (WPARAM)  wParam
(LPARAM)   

◆ outdent:()

- (void) outdent: (id sender

◆ overWrite:()

- (void) overWrite: (id sender

Provided by category WebView(WebViewEditingActions).

◆ page()

- (Page *) page

◆ pageSizeMultiplier()

- (HRESULT) pageSizeMultiplier (_Out_ float *)  multiplier

◆ paint()

- (void) paint (HDC)  dc
(LPARAM)  options 

◆ paintCompositedContentToHDC()

- (bool) paintCompositedContentToHDC (HDC)  deviceContext

◆ paintDocumentRectToContext()

- (HRESULT) paintDocumentRectToContext (RECT)  rect
(_In_ HDC)  deviceContext 

◆ paintIntoWindow()

- (void) paintIntoWindow (HDC)  bitmapDC
(HDC)  windowDC
(const WebCore::IntRect &)  dirtyRect 

◆ paintScrollViewRectToContextAtPoint()

- (HRESULT) paintScrollViewRectToContextAtPoint (RECT)  rect
(POINT)  pt
(_In_ HDC)  deviceContext 

◆ paintWithDirect2D()

- (void) paintWithDirect2D

◆ paste()

- (HRESULT) paste (_In_opt_ IUnknown *)  sender

◆ paste:()

- (void) paste: (id sender

Provided by category WebView(WebViewEditingActions).

◆ pasteAsPlainText()

- (HRESULT) pasteAsPlainText (_In_opt_ IUnknown *)  sender

◆ pasteAsPlainText:()

- (void) pasteAsPlainText: (id sender

Provided by category WebView(WebViewEditingActions).

◆ pasteAsRichText()

- (HRESULT) pasteAsRichText (_In_opt_ IUnknown *)  sender

◆ pasteAsRichText:()

- (void) pasteAsRichText: (id sender

Provided by category WebView(WebViewEditingActions).

◆ pasteboardTypesForElement()

- (HRESULT) pasteboardTypesForElement (_In_opt_ IPropertyBag *)  elementDictionary
(_COM_Outptr_opt_ IEnumVARIANT **)  enumVariant 

◆ pasteboardTypesForElement:()

- (NSArray *) pasteboardTypesForElement: (NSDictionary *)  element

pasteboardTypesForElement: Returns the pasteboard types that WebView can use for an element

Parameters
elementThe element

◆ pasteboardTypesForSelection()

- (HRESULT) pasteboardTypesForSelection (_COM_Outptr_opt_ IEnumVARIANT **)  enumVariant

◆ pasteEnabled()

- (HRESULT) pasteEnabled (_Out_ BOOL *)  enabled

◆ pasteFont()

- (HRESULT) pasteFont (_In_opt_ IUnknown *)  sender

◆ pasteFont:()

- (void) pasteFont: (id sender

Provided by category WebView(WebViewEditingActions).

◆ performFindPanelAction()

- (HRESULT) performFindPanelAction (_In_opt_ IUnknown *)  sender

◆ performFindPanelAction:()

- (void) performFindPanelAction: (id sender

Provided by category WebView(WebViewEditingActions).

◆ policyDelegate()

- (HRESULT) policyDelegate (_COM_Outptr_opt_ IWebPolicyDelegate **)  d

◆ preferences()

- (HRESULT) preferences (_COM_Outptr_opt_ IWebPreferences **)  prefs

◆ preferencesIdentifier()

- (HRESULT) preferencesIdentifier (_Deref_opt_out_ BSTR *) 

◆ preflightSpellChecker()

- (void) preflightSpellChecker

◆ prepareCandidateWindow()

- (void) prepareCandidateWindow (WebCore::Frame *)  targetFrame
(HIMC)  hInputContext 

◆ prepareForMouseDown()

- (void) prepareForMouseDown

Provided by category WebView(WebViewOtherInternal).

◆ prepareForMouseUp()

- (void) prepareForMouseUp

Provided by category WebView(WebViewOtherInternal).

◆ QueryInterface()

- (HRESULT) QueryInterface (_In_ REFIID)  riid
(_COM_Outptr_ void **)  ppvObject 

◆ rectsForTextMatches()

- (HRESULT) rectsForTextMatches (_COM_Outptr_opt_ IEnumTextMatches **)  pmatches

◆ registerDragDrop()

- (HRESULT) registerDragDrop

◆ registerEmbeddedViewMIMEType()

- (HRESULT) registerEmbeddedViewMIMEType (_In_ BSTR mimeType

◆ registerForIconNotification()

- (void) registerForIconNotification (bool)  listen

◆ registerURLSchemeAsAllowingDatabaseAccessInPrivateBrowsing()

- (HRESULT) registerURLSchemeAsAllowingDatabaseAccessInPrivateBrowsing (_In_ BSTR scheme

◆ registerURLSchemeAsAllowingLocalStorageAccessInPrivateBrowsing()

- (HRESULT) registerURLSchemeAsAllowingLocalStorageAccessInPrivateBrowsing (_In_ BSTR scheme

◆ registerURLSchemeAsLocal()

- (HRESULT) registerURLSchemeAsLocal (_In_ BSTR scheme

◆ registerURLSchemeAsLocal:()

+ (void) registerURLSchemeAsLocal: (NSString *)  scheme

registerURLSchemeAsLocal: Adds the scheme to the list of schemes to be treated as local.

Parameters
schemeThe scheme to register

◆ registerURLSchemeAsSecure()

- (HRESULT) registerURLSchemeAsSecure (_In_ BSTR scheme

◆ registerViewClass()

- (HRESULT) registerViewClass (_In_opt_ IWebDocumentView *) 
(_In_opt_ IWebDocumentRepresentation *) 
(_In_ BSTR forMIMEType 

◆ registerViewClass:representationClass:forMIMEType:()

+ (void) registerViewClass: (Class viewClass
representationClass: (Class representationClass
forMIMEType: (NSString *)  MIMEType 

registerViewClass:representationClass:forMIMEType: Register classes that implement WebDocumentView and WebDocumentRepresentation respectively. A document class may register for a primary MIME type by excluding a subtype, i.e. "video/" will match the document class with all video types. More specific matching takes precedence over general matching.

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.
MIMETypeThe MIME type to represent with an object of the given class.

◆ registerWebViewWindowClass()

+ (bool) registerWebViewWindowClass

◆ Release()

- (ULONG) Release (void

◆ releaseIMMContext()

- (void) releaseIMMContext (HIMC)  hIMC

◆ reload()

- (HRESULT) reload (_In_opt_ IUnknown *)  sender

◆ reload:()

- (IBAction) reload: (id sender

Provided by category WebView(WebIBActions).

◆ reloadFromOrigin()

- (HRESULT) reloadFromOrigin (_In_opt_ IUnknown *)  sender

◆ reloadFromOrigin:()

- (IBAction) reloadFromOrigin: (id sender

Provided by category WebView(WebIBActions).

◆ removeAllUserContentFromGroup()

- (HRESULT) removeAllUserContentFromGroup (_In_ BSTR groupName

◆ removeCustomDropTarget()

- (HRESULT) removeCustomDropTarget

◆ removeDragCaret() [1/2]

- (virtual HRESULT STDMETHODCALLTYPE) removeDragCaret

removeDragCaret Removes the drag caret from the WebView

  • (void)removeDragCaret;

Implements IWebView.

◆ removeDragCaret() [2/2]

- (HRESULT) removeDragCaret

removeDragCaret Removes the drag caret from the WebView

Implements IWebView.

◆ removeFromAllWebViewsSet()

- (void) removeFromAllWebViewsSet

◆ removeOriginAccessWhitelistEntry()

- (HRESULT) removeOriginAccessWhitelistEntry (_In_ BSTR sourceOrigin
(_In_ BSTR destinationProtocol
(_In_ BSTR destinationHost
(BOOL allowDestinationSubdomains 

◆ removePluginInstanceView:()

- (void) removePluginInstanceView: (NSView *)  view

Provided by category WebView(WebViewOtherInternal).

◆ removePluginInstanceViewsFor:()

- (void) removePluginInstanceViewsFor: (WebFrame *)  webFrame

Provided by category WebView(WebViewOtherInternal).

◆ removeUserScriptFromGroup()

- (HRESULT) removeUserScriptFromGroup (_In_ BSTR groupName
(_In_opt_ IWebScriptWorld *)  iWorld
(_In_ BSTR url 

◆ removeUserScriptsFromGroup()

- (HRESULT) removeUserScriptsFromGroup (_In_ BSTR groupName
(_In_opt_ IWebScriptWorld *)  iWorld 

◆ removeUserStyleSheetFromGroup()

- (HRESULT) removeUserStyleSheetFromGroup (_In_ BSTR groupName
(_In_opt_ IWebScriptWorld *)  iWorld
(_In_ BSTR url 

◆ removeUserStyleSheetsFromGroup()

- (HRESULT) removeUserStyleSheetsFromGroup (_In_ BSTR groupName
(_In_opt_ IWebScriptWorld *)  iWorld 

◆ repaint()

- (void) repaint (const WebCore::IntRect &)  logicalWindowRect
(bool)  contentChanged
(bool)  immediate = false
(bool)  repaintContentOnly = false 

◆ replaceSelectionWithArchive()

- (HRESULT) replaceSelectionWithArchive (_In_opt_ IWebArchive *) 

◆ replaceSelectionWithArchive:()

- (void) replaceSelectionWithArchive: (WebArchive *)  archive

Provided by category WebView(WebViewUndoableEditing).

◆ replaceSelectionWithMarkupString()

- (HRESULT) replaceSelectionWithMarkupString (_In_)  BSTR

◆ replaceSelectionWithMarkupString:()

- (void) replaceSelectionWithMarkupString: (NSString *)  markupString

Provided by category WebView(WebViewUndoableEditing).

◆ replaceSelectionWithNode()

- (HRESULT) replaceSelectionWithNode (_In_opt_ IDOMNode *) 

◆ replaceSelectionWithNode:()

- (void) replaceSelectionWithNode: (DOMNode *)  node

Provided by category WebView(WebViewUndoableEditing).

◆ replaceSelectionWithText()

- (HRESULT) replaceSelectionWithText (_In_ BSTR text

◆ replaceSelectionWithText:()

- (void) replaceSelectionWithText: (NSString *)  text

Provided by category WebView(WebViewUndoableEditing).

◆ reportException()

- (HRESULT) reportException (_In_ JSContextRef context
(_In_ JSValueRef exception 

◆ resetIME()

- (void) resetIME (WebCore::Frame *)  targetFrame

◆ resetOriginAccessWhitelists()

- (HRESULT) resetOriginAccessWhitelists

◆ resetPageZoom()

- (HRESULT) resetPageZoom (_In_opt_ IUnknown *)  sender

◆ resourceLoadDelegate()

- (HRESULT) resourceLoadDelegate (_COM_Outptr_opt_ IWebResourceLoadDelegate **)  d

◆ revokeDragDrop()

- (HRESULT) revokeDragDrop

◆ scaleWebView()

- (HRESULT) scaleWebView (double)  scale
(POINT)  origin 

◆ scrollBackingStore()

- (void) scrollBackingStore (WebCore::FrameView *)  frameView
(int)  dx
(int)  dy
(const WebCore::IntRect &)  scrollViewRect
(const WebCore::IntRect &)  clipRect 

◆ scrollBy()

- (HRESULT) scrollBy (_In_ LPPOINT)  offset

◆ scrollOffset()

- (HRESULT) scrollOffset (_Out_ LPPOINT)  offset

◆ searchFor()

- (HRESULT) searchFor (_In_ BSTR str
(BOOL forward
(BOOL caseFlag
(BOOL wrapFlag
(_Out_ BOOL *)  found 

◆ searchFor:direction:caseSensitive:wrap:()

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

searchFor:direction:caseSensitive: 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.
Returns
YES if found, NO if not found.

◆ selectedDOMRange()

- (HRESULT) selectedDOMRange (_COM_Outptr_opt_ IDOMRange **)  range

Provided by category WebView(WebViewEditing).

◆ selectedRangeForTesting()

- (HRESULT) selectedRangeForTesting (_Out_ UINT *)  location
(_Out_ UINT *)  length 

◆ selectedText()

- (HRESULT) selectedText (_Deref_opt_out_ BSTR *)  text

◆ selectionAffinity()

- (HRESULT) selectionAffinity (_Out_ WebSelectionAffinity *) 

Provided by category WebView(WebViewEditing).

◆ selectionChanged()

- (void) selectionChanged

◆ selectionRect()

- (HRESULT) selectionRect (_Inout_ RECT *)  rc

◆ selectSentence:()

- (void) selectSentence: (id sender

Provided by category WebView(WebViewEditingActions).

◆ setAcceleratedCompositing()

- (void) setAcceleratedCompositing (bool)  accelerated

◆ setAccessibilityDelegate()

- (HRESULT) setAccessibilityDelegate (_In_opt_ IAccessibilityDelegate *)  d

◆ setAllowSiteSpecificHacks()

- (HRESULT) setAllowSiteSpecificHacks (BOOL allow

◆ setAlwaysUsesComplexTextCodePath()

- (HRESULT) setAlwaysUsesComplexTextCodePath (BOOL complex

◆ setApplicationNameForUserAgent()

- (HRESULT) setApplicationNameForUserAgent (_In_ BSTR applicationName

◆ setCacheModel()

+ (void) setCacheModel (WebCacheModel cacheModel

◆ setCanStartPlugins()

- (HRESULT) setCanStartPlugins (BOOL canStartPlugins

◆ setCompositionForTesting()

- (HRESULT) setCompositionForTesting (_In_ BSTR composition
(UINT)  from
(UINT)  length 

◆ setContinuousSpellCheckingEnabled()

- (HRESULT) setContinuousSpellCheckingEnabled (BOOL flag

Implements IWebViewEditing.

◆ setCookieEnabled()

- (HRESULT) setCookieEnabled (BOOL enable

◆ setCurrentNodeHighlight:()

- (void) setCurrentNodeHighlight: (WebNodeHighlight *)  nodeHighlight

Provided by category WebView(WebViewOtherInternal).

◆ setCustomBackingScaleFactor()

- (HRESULT) setCustomBackingScaleFactor (double)  customScaleFactor

◆ setCustomDropTarget()

- (HRESULT) setCustomDropTarget (_In_opt_ IDropTarget *)  dt

◆ setCustomHTMLTokenizerChunkSize()

- (HRESULT) setCustomHTMLTokenizerChunkSize (int)  chunkSize

◆ setCustomHTMLTokenizerTimeDelay()

- (HRESULT) setCustomHTMLTokenizerTimeDelay (double)  timeDelay

◆ setCustomTextEncodingName()

- (HRESULT) setCustomTextEncodingName (_In_ BSTR encodingName

◆ setCustomUserAgent()

- (HRESULT) setCustomUserAgent (_In_ BSTR userAgentString

◆ setDefersCallbacks()

- (HRESULT) setDefersCallbacks (BOOL defersCallbacks

◆ setDomainRelaxationForbiddenForURLScheme()

- (HRESULT) setDomainRelaxationForbiddenForURLScheme (BOOL forbidden
(_In_ BSTR scheme 

◆ setDownloadDelegate()

- (HRESULT) setDownloadDelegate (_In_opt_ IWebDownloadDelegate *)  d

◆ setDrawsBackground()

- (HRESULT) setDrawsBackground (BOOL drawsBackground

setDrawsBackground:

Parameters
drawsBackroundYES to cause the receiver to draw a default white background, NO otherwise. Sets whether the receiver draws a default white background when the loaded page has no background specified.
  • (void)setDrawsBackground:(BOOL)drawsBackround;

Implements IWebView.

◆ setEditable()

- (HRESULT) setEditable (BOOL flag

Implements IWebViewEditing.

◆ setEditingDelegate()

- (HRESULT) setEditingDelegate (_In_opt_ IWebEditingDelegate *)  d

◆ setFormDelegate()

- (HRESULT) setFormDelegate (_In_opt_ IWebFormDelegate *)  formDelegate

◆ setFrameLoadDelegate()

- (HRESULT) setFrameLoadDelegate (_In_opt_ IWebFrameLoadDelegate *)  d

◆ setFrameLoadDelegatePrivate()

- (HRESULT) setFrameLoadDelegatePrivate (_In_opt_ IWebFrameLoadDelegatePrivate *)  d

◆ setGeolocationProvider()

- (HRESULT) setGeolocationProvider (_In_opt_ IWebGeolocationProvider *)  locationProvider

◆ setGlobalHistoryItem()

- (void) setGlobalHistoryItem (WebCore::HistoryItem *)  historyItem

◆ setGrammarCheckingEnabled()

- (HRESULT) setGrammarCheckingEnabled (BOOL enabled

Implements IWebViewEditing.

◆ setGroupName()

- (HRESULT) setGroupName (_In_ BSTR groupName

◆ setHistoryDelegate()

- (HRESULT) setHistoryDelegate (_In_ IWebHistoryDelegate *)  historyDelegate

◆ setHostWindow()

- (HRESULT) setHostWindow (_In_ HWND window

◆ setHTTPPipeliningEnabled()

- (HRESULT) setHTTPPipeliningEnabled (BOOL enabled

◆ setInitialFocus()

- (HRESULT) setInitialFocus (BOOL forward

◆ setInputMethodState()

- (void) setInputMethodState (bool)  enabled

◆ setInViewSourceMode()

- (HRESULT) setInViewSourceMode (BOOL

◆ setIsBeingDestroyed()

- (void) setIsBeingDestroyed

◆ setJavaScriptURLsAreAllowed()

- (HRESULT) setJavaScriptURLsAreAllowed (BOOL

◆ setLastCursor()

- (void) setLastCursor (HCURSOR)  cursor

◆ setLoadResourcesSerially()

- (HRESULT) setLoadResourcesSerially (BOOL serialize

◆ setMainFrameURL()

- (HRESULT) setMainFrameURL (_In_ BSTR urlString

◆ setMaintainsBackForwardList()

- (HRESULT) setMaintainsBackForwardList (BOOL flag

setMaintainsBackForwardList: Enable or disable the use of a backforward list for this webView.

Parameters
flagTurns use of the back forward list on or off

Implements IWebView.

◆ setMaintainsBackForwardList:()

- (void) setMaintainsBackForwardList: (BOOL flag

setMaintainsBackForwardList: Enable or disable the use of a backforward list for this webView.

Parameters
flagTurns use of the back forward list on or off

◆ setMediaStyle()

- (HRESULT) setMediaStyle (_In_)  BSTR

◆ setMediaVolume()

- (HRESULT) setMediaVolume (float)  volume

◆ setMemoryCacheDelegateCallsEnabled()

- (HRESULT) setMemoryCacheDelegateCallsEnabled (BOOL enabled

◆ setMIMETypesShownAsHTML()

- (HRESULT) setMIMETypesShownAsHTML (__inout_ecount_full(cMimeTypes) BSTR *)  mimeTypes
(int)  cMimeTypes 

◆ setMIMETypesShownAsHTML:()

+ (void) setMIMETypesShownAsHTML: (NSArray *)  MIMETypes

setMIMETypesShownAsHTML: Sets the array of NSString MIME types that WebKit will attempt to render as HTML. Typically you will retrieve the built-in array using MIMETypesShownAsHTML and add additional MIME types to that array.

◆ setMinimumTimerInterval()

- (HRESULT) setMinimumTimerInterval (double)  interval

◆ setMouseActivated()

- (void) setMouseActivated (bool)  flag

◆ setPageSizeMultiplier()

- (HRESULT) setPageSizeMultiplier (float)  multiplier

setPageSizeMultiplier: Set a zoom factor for all views managed by this webView.

Parameters
multiplierA fractional percentage value, 1.0 is 100%.
  • (void)setPageSizeMultiplier:(float)multiplier;

Implements IWebIBActions.

◆ setPolicyDelegate()

- (HRESULT) setPolicyDelegate (_In_opt_ IWebPolicyDelegate *)  d

◆ setPreferences()

- (HRESULT) setPreferences (_In_opt_ IWebPreferences *)  prefs

◆ setPreferencesIdentifier()

- (HRESULT) setPreferencesIdentifier (_In_)  BSTR

◆ setProhibitsMainFrameScrolling()

- (HRESULT) setProhibitsMainFrameScrolling (BOOL b

◆ setResourceLoadDelegate()

- (HRESULT) setResourceLoadDelegate (_In_opt_ IWebResourceLoadDelegate *)  d

◆ setRootChildLayer()

- (void) setRootChildLayer (WebCore::GraphicsLayer *)  layer

◆ setSelectedDOMRange()

- (HRESULT) setSelectedDOMRange (_In_opt_ IDOMRange *) 
(WebSelectionAffinity  

◆ setSelectedDOMRange:affinity:()

- (void) setSelectedDOMRange: (DOMRange *)  range
affinity: (NSSelectionAffinity)  selectionAffinity 

Provided by category WebView(WebViewEditing).

◆ setSelectTrailingWhitespaceEnabled()

- (HRESULT) setSelectTrailingWhitespaceEnabled (BOOL flag

Implements IWebViewEditing.

◆ setShouldApplyMacFontAscentHack()

- (HRESULT) setShouldApplyMacFontAscentHack (BOOL b

◆ setSmartInsertDeleteEnabled()

- (HRESULT) setSmartInsertDeleteEnabled (BOOL flag

Implements IWebViewEditing.

◆ setTabKeyCyclesThroughElements()

- (HRESULT) setTabKeyCyclesThroughElements (BOOL cycles

◆ setTextSizeMultiplier()

- (HRESULT) setTextSizeMultiplier (float)  multiplier

setTextSizeMultiplier: Change the size of the text rendering in views managed by this webView.

Parameters
multiplierA fractional percentage value, 1.0 is 100%.
  • (void)setTextSizeMultiplier:(float)multiplier;

Implements IWebView.

◆ setToolTip()

- (void) setToolTip (const WTF::String &)  toolTip

◆ setTransparent()

- (HRESULT) setTransparent (BOOL transparent

◆ setTypingStyle()

- (HRESULT) setTypingStyle (_In_opt_ IDOMCSSStyleDeclaration *) 

◆ setUIDelegate()

- (HRESULT) setUIDelegate (_In_opt_ IWebUIDelegate *)  d

◆ setUsesLayeredWindow()

- (HRESULT) setUsesLayeredWindow (BOOL usesLayeredWindow

◆ setVisibilityState()

- (HRESULT) setVisibilityState (WebPageVisibilityState visibilityState

Implements IWebViewPrivate4.

◆ shouldClose()

- (HRESULT) shouldClose (_Out_ BOOL *)  result

◆ shouldInitializeTrackPointHack()

- (bool) shouldInitializeTrackPointHack

◆ shouldUseEmbeddedView()

- (bool) shouldUseEmbeddedView (const WTF::String &)  mimeType const

◆ showFormValidationMessage:withAnchorRect:()

- (void) showFormValidationMessage: (NSString *)  message
withAnchorRect: (NSRect anchorRect 

Provided by category WebView(WebViewOtherInternal).

◆ showGuessPanel()

- (HRESULT) showGuessPanel (_In_opt_ IUnknown *)  sender

◆ showGuessPanel:()

- (void) showGuessPanel: (id sender

Provided by category WebView(WebViewEditingActions).

◆ smartInsertDeleteEnabled()

- (HRESULT) smartInsertDeleteEnabled (_Out_ BOOL *)  enabled

Provided by category WebView(WebViewEditing).

◆ spellCheckerDocumentTag()

- (HRESULT) spellCheckerDocumentTag (_Out_ int *)  tag

Provided by category WebView(WebViewEditing).

◆ standardUserAgentWithApplicationName() [1/2]

- (HRESULT) standardUserAgentWithApplicationName (_In_ BSTR applicationName
(_Deref_opt_out_ BSTR *)  groupName 

◆ standardUserAgentWithApplicationName() [2/2]

+ (String) standardUserAgentWithApplicationName (const WTF::String &)  applicationName

◆ startSpeaking()

- (HRESULT) startSpeaking (_In_opt_ IUnknown *)  sender

◆ startSpeaking:()

- (void) startSpeaking: (id sender

Provided by category WebView(WebViewEditingActions).

◆ stopLoading()

- (HRESULT) stopLoading (_In_opt_ IUnknown *)  sender

◆ stopLoading:()

- (IBAction) stopLoading: (id sender

Provided by category WebView(WebIBActions).

◆ stopSpeaking()

- (HRESULT) stopSpeaking (_In_opt_ IUnknown *)  sender

◆ stopSpeaking:()

- (void) stopSpeaking: (id sender

Provided by category WebView(WebViewEditingActions).

◆ stringByEvaluatingJavaScriptFromString()

- (HRESULT) stringByEvaluatingJavaScriptFromString (_In_ BSTR script
(_Deref_opt_out_ BSTR *)  result 

◆ stringByEvaluatingJavaScriptFromString:()

- (NSString *) stringByEvaluatingJavaScriptFromString: (NSString *)  script

stringByEvaluatingJavaScriptFromString:

Parameters
scriptThe text of the JavaScript.
Returns
The result of the script, converted to a string, or nil for failure.

◆ styleDeclarationWithText()

- (HRESULT) styleDeclarationWithText (_In_ BSTR text
(_COM_Outptr_opt_ IDOMCSSStyleDeclaration **)  style 

◆ styleDeclarationWithText:()

- (DOMCSSStyleDeclaration *) styleDeclarationWithText: (NSString *)  text

Provided by category WebView(WebViewEditing).

◆ supportsTextEncoding()

- (HRESULT) supportsTextEncoding (_Out_ BOOL *)  supports

◆ tabKeyCyclesThroughElements()

- (HRESULT) tabKeyCyclesThroughElements (_Out_ BOOL *)  result

◆ takeStringURLFrom()

- (HRESULT) takeStringURLFrom (_In_opt_ IUnknown *)  sender

◆ takeStringURLFrom:()

- (IBAction) takeStringURLFrom: (id sender

Provided by category WebView(WebIBActions).

◆ textSizeMultiplier()

- (HRESULT) textSizeMultiplier (_Out_ float *)  multiplier

◆ toggleContinuousSpellChecking()

- (HRESULT) toggleContinuousSpellChecking (_In_opt_ IUnknown *)  sender

◆ toggleContinuousSpellChecking:()

- (IBAction) toggleContinuousSpellChecking: (id sender

Provided by category WebView(WebIBActions).

◆ toggleGrammarChecking()

- (HRESULT) toggleGrammarChecking (_In_opt_ IUnknown *)  sender

◆ toggleSmartInsertDelete()

- (HRESULT) toggleSmartInsertDelete (_In_opt_ IUnknown *)  sender

◆ toggleSmartInsertDelete:()

- (IBAction) toggleSmartInsertDelete: (id sender

Provided by category WebView(WebIBActions).

◆ topLevelFrame()

- (WebFrame*) topLevelFrame const

◆ topLevelParent()

- (HWND) topLevelParent const

◆ transparent() [1/2]

- (HRESULT) transparent (_Out_ BOOL *)  transparent

◆ transparent() [2/2]

- (bool) transparent const

◆ typingAttributes()

- (NSDictionary *) typingAttributes

◆ typingStyle()

- (HRESULT) typingStyle (_COM_Outptr_opt_ IDOMCSSStyleDeclaration **)  style

Provided by category WebView(WebViewEditing).

◆ uiDelegate()

- (HRESULT) uiDelegate (_COM_Outptr_opt_ IWebUIDelegate **)  d

◆ undoManager()

- (HRESULT) undoManager (_COM_Outptr_opt_ IWebUndoManager **)  manager

Provided by category WebView(WebViewEditing).

◆ unmarkAllTextMatches()

- (HRESULT) unmarkAllTextMatches

◆ unused1()

- (HRESULT) unused1

◆ unused2()

- (HRESULT) unused2

◆ unused3()

- (HRESULT) unused3

◆ unused4()

- (HRESULT) unused4

◆ unused5()

- (HRESULT) unused5

◆ updateActiveState()

- (void) updateActiveState

◆ updateActiveStateSoon()

- (void) updateActiveStateSoon const

◆ updateFocusedAndActiveState()

- (HRESULT) updateFocusedAndActiveState

◆ updateSelectionForIME()

- (void) updateSelectionForIME

◆ updateTouchBar()

- (void) updateTouchBar

Provided by category WebView(WebViewOtherInternal).

◆ updateWindowIfNeeded()

- (void) updateWindowIfNeeded (HWND hWnd
(UINT)  message 

◆ URLFromPasteboard()

- (HRESULT) URLFromPasteboard (_In_opt_ IDataObject *)  pasteboard
(_Deref_opt_out_ BSTR *)  url 

◆ URLFromPasteboard:()

+ (NSURL *) URLFromPasteboard: (NSPasteboard *)  pasteboard

URLFromPasteboard: Returns a URL from a pasteboard

Parameters
pasteboardThe pasteboard with a URL
Returns
A URL if the pasteboard has one. Nil if it does not. This method differs than NSURL's URLFromPasteboard method in that it tries multiple pasteboard types including NSURLPboardType to find a URL on the pasteboard.

◆ URLTitleFromPasteboard()

- (HRESULT) URLTitleFromPasteboard (_In_opt_ IDataObject *)  pasteboard
(_Deref_opt_out_ BSTR *)  urlTitle 

◆ URLTitleFromPasteboard:()

+ (NSString *) URLTitleFromPasteboard: (NSPasteboard *)  pasteboard

URLTitleFromPasteboard: Returns a URL title from a pasteboard

Parameters
pasteboardThe pasteboard with a URL title
Returns
A URL title if the pasteboard has one. Nil if it does not. This method returns a title that refers a URL on the pasteboard. An example of this is the link label which is the text inside the anchor tag.

◆ userAgentForKURL()

- (const String &) userAgentForKURL (const WebCore::URL &)  url

◆ userAgentForURL()

- (HRESULT) userAgentForURL (_In_ BSTR url
(_Deref_opt_out_ BSTR *)  userAgent 

◆ userAgentForURL:()

- (NSString *) userAgentForURL: (NSURL *)  URL

userAgentForURL: Get the appropriate user-agent string for a particular URL.

Parameters
URLThe URL.
Returns
The user-agent string for the supplied URL.

◆ usesLayeredWindow() [1/2]

- (HRESULT) usesLayeredWindow (_Out_ BOOL *)  usesLayeredWindow

◆ usesLayeredWindow() [2/2]

- (bool) usesLayeredWindow const

◆ verticalScroll()

- (bool) verticalScroll (WPARAM)  wParam
(LPARAM)   

◆ viewWindow() [1/2]

- (HRESULT) viewWindow (_Deref_opt_out_ HWND *)  window

◆ viewWindow() [2/2]

- (HWND) viewWindow const

◆ visibleContentRect()

- (HRESULT) visibleContentRect (_Out_ LPRECT)  rect

◆ WebViewWndProc()

+ (LRESULT CALLBACK) WebViewWndProc (HWND hWnd
(UINT)  message
(WPARAM)  wParam
(LPARAM)  lParam 

◆ windowAncestryDidChange()

- (HRESULT) windowAncestryDidChange

◆ windowReceivedMessage()

- (void) windowReceivedMessage (HWND
(UINT)  message
(WPARAM)  wParam
(LPARAM)   

◆ windowScriptObject()

- (HRESULT) windowScriptObject (_COM_Outptr_opt_ IWebScriptObject **)  webScriptObject

◆ writeElement()

- (HRESULT) writeElement (_In_opt_ IPropertyBag *)  elementDictionary
(__inout_ecount_full(cWithPasteboardTypes) BSTR *)  withPasteboardTypes
(int)  cWithPasteboardTypes
(_In_opt_ IDataObject *)  pasteboard 

◆ writeElement:withPasteboardTypes:toPasteboard:()

- (void) writeElement: (NSDictionary *)  element
withPasteboardTypes: (NSArray *)  types
toPasteboard: (NSPasteboard *)  pasteboard 

writeElement:withPasteboardTypes:toPasteboard: Writes an element to the pasteboard

Parameters
elementThe element to write to the pasteboard
typesThe types that WebView will write to the pasteboard
pasteboardThe pasteboard to write to

◆ writeSelectionWithPasteboardTypes()

- (HRESULT) writeSelectionWithPasteboardTypes (__inout_ecount_full(cTypes) BSTR *)  types
(int)  cTypes
(_In_opt_ IDataObject *)  pasteboard 

◆ writeSelectionWithPasteboardTypes:toPasteboard:()

- (void) writeSelectionWithPasteboardTypes: (NSArray *)  types
toPasteboard: (NSPasteboard *)  pasteboard 

writeSelectionWithPasteboardTypes:toPasteboard: Writes the current selection to the pasteboard

Parameters
typesThe types that WebView will write to the pasteboard
pasteboardThe pasteboard to write to

◆ zoomPageIn()

- (HRESULT) zoomPageIn (_In_opt_ IUnknown *)  sender

◆ zoomPageOut()

- (HRESULT) zoomPageOut (_In_opt_ IUnknown *)  sender

Member Data Documentation

◆ m_accessibilityDelegate

- (COMPtr<IAccessibilityDelegate>) m_accessibilityDelegate
protected

◆ m_applicationName

- (String) WebView:
protected

◆ m_backingStoreBitmap

- (SharedGDIObject<HBITMAP> >) WebView:
protected

◆ m_backingStoreDirtyRegion

- (SharedGDIObject<HRGN> >) WebView:
protected

◆ m_backingStoreSize

- (SIZE) m_backingStoreSize
protected

◆ m_closeWindowTimer

- (SuspendableTimer*) WebView: { nullptr }
protected

◆ m_currentCharacterCode

- (UChar) m_currentCharacterCode { 0 }
protected

◆ m_currentContextMenu

- (HMENU) m_currentContextMenu { nullptr }
protected

◆ m_customDeviceScaleFactor

- (float) m_customDeviceScaleFactor { 0 }
protected

◆ m_deleteBackingStoreTimerActive

- (bool) m_deleteBackingStoreTimerActive { false }
protected

◆ m_deletionHasBegun

- (bool) m_deletionHasBegun { false }
protected

◆ m_didClose

- (bool) m_didClose { false }
protected

◆ m_downloadDelegate

- (COMPtr<IWebDownloadDelegate>) m_downloadDelegate
protected

◆ m_dragData

- (COMPtr<IDataObject>) m_dragData
protected

◆ m_dropTargetHelper

- (COMPtr<IDropTargetHelper>) m_dropTargetHelper
protected

◆ m_editingDelegate

- (COMPtr<IWebEditingDelegate>) m_editingDelegate
protected

◆ m_embeddedViewMIMETypes

- (unique_ptr<HashSet<)WTF:
protected

◆ m_formDelegate

- (COMPtr<IWebFormDelegate>) m_formDelegate
protected

◆ m_frameLoadDelegate

- (COMPtr<IWebFrameLoadDelegate>) m_frameLoadDelegate
protected

◆ m_frameLoadDelegatePrivate

- (COMPtr<IWebFrameLoadDelegatePrivate>) m_frameLoadDelegatePrivate
protected

◆ m_geolocationProvider

- (COMPtr<IWebGeolocationProvider>) m_geolocationProvider
protected

◆ m_gestureTargetNode

- (Node>) WebView:
protected

◆ m_globalHistoryItem

- (HistoryItem>) WebView:
protected

◆ m_hasCustomDropTarget

- (bool) m_hasCustomDropTarget { false }
protected

◆ m_hasSpellCheckerDocumentTag

- (bool) m_hasSpellCheckerDocumentTag { false }
protected

◆ m_historyDelegate

- (COMPtr<IWebHistoryDelegate>) m_historyDelegate
protected

◆ m_hostWindow

- (HWND) m_hostWindow { nullptr }
protected

◆ m_inIMEComposition

- (unsigned) m_inIMEComposition { 0 }
protected

◆ m_inspectorClient

- (WebInspectorClient*) m_inspectorClient { nullptr }
protected

◆ m_isAcceleratedCompositing

- (bool) m_isAcceleratedCompositing { false }
protected

◆ m_isBeingDestroyed

- (bool) m_isBeingDestroyed { false }
protected

◆ m_lastPanX

- (long) m_lastPanX { 0 }
protected

◆ m_lastPanY

- (long) m_lastPanY { 0 }
protected

◆ m_lastSetCursor

- (HCURSOR) m_lastSetCursor { nullptr }
protected

◆ m_mainFrame

- (WebFrame*) m_mainFrame { nullptr }
protected

◆ m_mouseActivated

- (bool) m_mouseActivated { false }
protected

◆ m_mouseOutTracker

- (unique_ptr<TRACKMOUSEEVENT>) WebView:
protected

◆ m_needsDisplay

- (bool) m_needsDisplay { false }
protected

◆ m_nextDisplayIsSynchronous

- (bool) m_nextDisplayIsSynchronous { false }
protected

◆ m_overrideEncoding

- (String) WebView:
protected

◆ m_page

- (Page*) WebView: { nullptr }
protected

◆ m_paintCount

- (unsigned) m_paintCount { 0 }
protected

◆ m_policyDelegate

- (COMPtr<IWebPolicyDelegate>) m_policyDelegate
protected

◆ m_preferences

- (COMPtr<WebPreferences>) m_preferences
protected

◆ m_refCount

- (ULONG) m_refCount { 0 }
protected

◆ m_resourceLoadDelegate

- (COMPtr<IWebResourceLoadDelegate>) m_resourceLoadDelegate
protected

◆ m_toolTip

- (String) WebView:
protected

◆ m_toolTipHwnd

- (HWND) m_toolTipHwnd { nullptr }
protected

◆ m_topLevelParent

- (HWND) m_topLevelParent { nullptr }
protected

◆ m_transparent

- (bool) m_transparent { false }
protected

◆ m_uiDelegate

- (COMPtr<IWebUIDelegate>) m_uiDelegate
protected

◆ m_uiDelegatePrivate

- (COMPtr<IWebUIDelegatePrivate>) m_uiDelegatePrivate
protected

◆ m_useBackForwardList

- (bool) m_useBackForwardList { true }
protected

◆ m_userAgentCustom

- (String) WebView:
protected

◆ m_userAgentOverridden

- (bool) m_userAgentOverridden { false }
protected

◆ m_userAgentStandard

- (String) WebView:
protected

◆ m_usesLayeredWindow

- (bool) m_usesLayeredWindow { false }
protected

◆ m_viewWindow

- (HWND) m_viewWindow { nullptr }
protected

◆ m_webInspector

- (COMPtr<WebInspector>) m_webInspector
protected

◆ m_webViewGroup

- (RefPtr<WebViewGroup>) m_webViewGroup
protected

◆ m_xOverpan

- (long) m_xOverpan { 0 }
protected

◆ m_yOverpan

- (long) m_yOverpan { 0 }
protected

◆ m_zoomMultiplier

- (float) m_zoomMultiplier { 1.0f }
protected

◆ m_zoomsTextOnly

- (bool) m_zoomsTextOnly { false }
protected

◆ s_allowSiteSpecificHacks

+ (bool) s_allowSiteSpecificHacks = false
staticprotected

Property Documentation

◆ applicationNameForUserAgent

- (NSString *) applicationNameForUserAgent
readwritenonatomiccopy

The name of the application as used in the user-agent string.

◆ backForwardList

- (WebBackForwardList *) backForwardList
readnonatomicstrong

The backforward list for this WebView.

◆ continuousSpellCheckingEnabled

- (BOOL) continuousSpellCheckingEnabled
readwritenonatomicassign

Provided by category WebView(WebViewEditing).

◆ customTextEncodingName

- (NSString *) customTextEncodingName
readwritenonatomiccopy

The custom text encoding name or nil if no custom text encoding name has been set. Make the page display with a different text encoding; stops any load in progress. The text encoding passed in overrides the normal text encoding smarts including what's specified in a web page's header or HTTP response. The text encoding automatically goes back to the default when the top level frame changes to a new location. Setting the text encoding name to nil makes the webView use default encoding rules.

◆ customUserAgent

- (NSString *) customUserAgent
readwritenonatomiccopy

setCustomUserAgent: Set the user agent. .

Parameters
userAgentStringThe user agent description

The custom user-agent string or nil if no custom user-agent string has been set. Setting this means that the webView should use this user-agent string instead of constructing a user-agent string for each URL. Setting it to nil causes the webView to construct the user-agent string for each URL for best results rendering web pages

◆ downloadDelegate

- (id) downloadDelegate
readwritenonatomicassign

◆ drawsBackground

- (BOOL) drawsBackground
readwritenonatomicassign

Whether the receiver draws a default white background when the loaded page has no background specified.

◆ editable

- (BOOL) editable
readwritenonatomicassign

Provided by category WebView(WebViewEditing).

◆ estimatedProgress

- (double) estimatedProgress
readnonatomicassign

An estimate of the percent complete for a document load. This value will range from 0 to 1.0 and, once a load completes, will remain at 1.0 until a new load starts, at which point it will be reset to 0. The value is an estimate based on the total number of bytes expected to be received for a document, including all it's possible subresources. For more accurate progress indication it is recommended that you implement a WebFrameLoadDelegate and a WebResourceLoadDelegate.

◆ frameLoadDelegate

- (id) frameLoadDelegate
readwritenonatomicassign

◆ groupName

- (NSString *) groupName
readwritenonatomiccopy

The group name for this WebView. JavaScript may access named frames within the same group.

◆ hostWindow

- (NSWindow *) hostWindow
readwritenonatomicstrong

The host window for the web view. Parts of WebKit (such as plug-ins and JavaScript) depend on a window to function properly. Set a host window so these parts continue to function even when the web view is not in an actual window.

◆ loading

- loading
readnonatomicassign

Whether there are any pending loads in this WebView.

◆ mainFrame

- (WebFrame *) mainFrame
readnonatomicstrong

The top level frame. Note that even documents that are not framesets will have a mainFrame.

◆ mainFrameDocument

- (DOMDocument *) mainFrameDocument
readnonatomicstrong

The main frame's DOMDocument.

◆ mainFrameIcon

- (NSImage *) mainFrameIcon
readnonatomicstrong

The site icon for the current page loaded in the mainFrame, or nil.

◆ mainFrameTitle

- (NSString *) mainFrameTitle
readnonatomiccopy

The main frame's title if any, otherwise an empty string.

◆ mainFrameURL

- (NSString *) mainFrameURL
readwritenonatomiccopy

The main frame's current URL.

◆ maintainsInactiveSelection

- (BOOL) maintainsInactiveSelection
readnonatomicassign

Provided by category WebView(WebViewEditing).

◆ mediaStyle

- (NSString *) mediaStyle
readwritenonatomiccopy

The media style for the WebView. The mediaStyle will override the normal value of the CSS media property. Setting the value to nil will restore the normal value. The value will be nil unless explicitly set.

◆ pasteboardTypesForSelection

- (NSArray *) pasteboardTypesForSelection
readnonatomiccopy

The pasteboard types that the WebView can use for the current selection

◆ policyDelegate

- (id) policyDelegate
readwritenonatomicassign

◆ preferences

- (WebPreferences *) preferences
readwritenonatomicstrong

The preferences used by this WebView. This method will return [WebPreferences standardPreferences] if no other instance of WebPreferences has been set.

◆ preferencesIdentifier

- (NSString *) preferencesIdentifier
readwritenonatomiccopy

The WebPreferences key prefix. If the WebPreferences for this WebView are stored in the user defaults database, this string will be used as a key prefix.

◆ resourceLoadDelegate

- (id) resourceLoadDelegate
readwritenonatomicassign

◆ selectedFrame

- (WebFrame *) selectedFrame
readnonatomicstrong

The frame that has the active selection. Returns the frame that contains the first responder, if any. Otherwise returns the frame that contains a non-zero-length selection, if any. Returns nil if no frame meets these criteria.

◆ shouldCloseWithWindow

- (BOOL) shouldCloseWithWindow
readwritenonatomicassign

Whether the receiver closes when either it's window or hostWindow closes. Defaults to YES in garbage collected applications, otherwise NO to maintain backwards compatibility.

◆ shouldUpdateWhileOffscreen

- (BOOL) shouldUpdateWhileOffscreen
readwritenonatomicassign

Whether the WebView is always updated even when it is not in a window that is currently visible. If set to NO, then whenever the web view is not in a visible window, updates to the web page will not necessarily be rendered in the view. However, when the window is made visible, the view will be updated automatically. Not updating while hidden can improve performance. If set to is YES, hidden web views are always updated. This is the default.

◆ supportsTextEncoding

- (BOOL) supportsTextEncoding
readnonatomicassign

If the document view of the current web page can support different text encodings.

◆ textSizeMultiplier

- (float) textSizeMultiplier
readwritenonatomicassign

The text size multipler.

◆ UIDelegate

- (id) UIDelegate
readwritenonatomicassign

◆ windowScriptObject

- (WebScriptObject *) windowScriptObject
readnonatomicstrong

A WebScriptObject that represents the window object from the script environment.


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