@class DOMDocument, NSString, NSArray, WebScriptObject, WebFramePrivate, WebView, JSContext, DOMHTMLElement, WebDataSource, WebFrameView; @interface WebFrame : NSObject { WebFramePrivate *_private; } @property (nonatomic) struct CGColor { } *caretColor; @property (readonly, nonatomic) BOOL hasRichlyEditableDragCaret; @property (readonly, copy, nonatomic) NSString *name; @property (readonly, nonatomic) WebView *webView; @property (readonly, nonatomic) WebFrameView *frameView; @property (readonly, nonatomic) DOMDocument *DOMDocument; @property (readonly, nonatomic) DOMHTMLElement *frameElement; @property (readonly, nonatomic) WebDataSource *dataSource; @property (readonly, nonatomic) WebDataSource *provisionalDataSource; @property (readonly, nonatomic) WebFrame *parentFrame; @property (readonly, copy, nonatomic) NSArray *childFrames; @property (readonly, nonatomic) WebScriptObject *windowObject; @property (readonly, nonatomic) struct OpaqueJSContext { } *globalContext; @property (readonly, nonatomic) JSContext *javaScriptContext; + (void)_createMainFrameWithSimpleHTMLDocumentWithPage:(void *)a0 frameView:(id)a1 style:(id)a2; + (struct Ref<WebCore::LocalFrame, WTF::RawPtrTraits<WebCore::LocalFrame>> { struct LocalFrame *x0; })_createFrameWithPage:(void *)a0 frameName:(const void *)a1 frameView:(id)a2 ownerElement:(void *)a3; + (struct Ref<WebCore::LocalFrame, WTF::RawPtrTraits<WebCore::LocalFrame>> { struct LocalFrame *x0; })_createSubframeWithOwnerElement:(void *)a0 page:(void *)a1 frameName:(const void *)a2 frameView:(id)a3; + (void)_createMainFrameWithPage:(void *)a0 frameName:(const void *)a1 frameView:(id)a2; + (id)stringWithData:(id)a0 textEncodingName:(id)a1; - (void)resetSelection; - (void)clearSelection; - (void)reload; - (id)selectedDOMRange; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })caretRectForPosition:(id)a0; - (void)setIsActive:(BOOL)a0; - (void)collapseSelection; - (void)loadAlternateHTMLString:(id)a0 baseURL:(id)a1 forUnreachableURL:(id)a2; - (void)aggressivelyExpandSelectionToWordContainingCaretSelection; - (id)characterRangeAtPoint:(struct CGPoint { double x0; double x1; })a0; - (id)init; - (void)stopLoading; - (void)setRangedSelectionWithExtentPoint:(struct CGPoint { double x0; double x1; })a0; - (BOOL)hasSelection; - (id)selectionRectsForRange:(id)a0; - (void)dealloc; - (int)selectionState; - (id)selectionRects; - (void)setRangedSelectionInitialExtentToCurrentSelectionStart; - (void)updateLayout; - (id)_rectsForRange:(id)a0; - (void)setSelectionGranularity:(int)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })caretRect; - (unsigned long long)selectionAffinity; - (void)reloadFromOrigin; - (BOOL)setRangedSelectionExtentPoint:(struct CGPoint { double x0; double x1; })a0 baseIsStart:(BOOL)a1 allowFlipping:(BOOL)a2; - (void)setRangedSelectionBaseToCurrentSelectionStart; - (BOOL)needsLayout; - (void)confirmMarkedText:(id)a0; - (void)setSelectionWithFirstPoint:(struct CGPoint { double x0; double x1; })a0 secondPoint:(struct CGPoint { double x0; double x1; })a1; - (void)setNeedsLayout; - (int)preferredHeight; - (void)setRangedSelectionBaseToCurrentSelection; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })_selectedNSRange; - (id)wordRangeContainingCaretSelection; - (void)setRangedSelectionBaseToCurrentSelectionEnd; - (void)clearRangedSelectionInitialExtent; - (BOOL)hasEditableSelection; - (void)setMarkedText:(id)a0 selectedRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1; - (void)_selectAll; - (unsigned short)characterBeforeCaretSelection; - (void)setRangedSelectionInitialExtentToCurrentSelectionEnd; - (void)setBaseWritingDirection:(int)a0; - (void)_replaceSelectionWithWebArchive:(id)a0 selectReplacement:(BOOL)a1 smartReplace:(BOOL)a2; - (void)sendScrollEvent; - (id)stringForRange:(id)a0; - (id)elementAtPoint:(struct CGPoint { double x0; double x1; })a0; - (void)prepareForPause; - (void)resetTextAutosizingBeforeLayout; - (void)resumeFromPause; - (id)_dataSource; - (void)_handleKeyEvent:(id)a0; - (BOOL)_isCommitting; - (BOOL)_isDescendantOfFrame:(id)a0; - (BOOL)_isVisuallyNonEmpty; - (int)_loadType; - (BOOL)_loadsSynchronously; - (BOOL)_needsLayout; - (void)_replaceSelectionWithFragment:(id)a0 selectReplacement:(BOOL)a1 smartReplace:(BOOL)a2 matchStyle:(BOOL)a3; - (unsigned char)_selectionGranularity; - (void)_setLoadsSynchronously:(BOOL)a0; - (void)_setProhibitsScrolling:(BOOL)a0; - (void)_setSelectionFromNone; - (void)_setTextAutosizingWidth:(double)a0; - (void)_userScrolled; - (id)approximateNodeAtViewportLocation:(struct CGPoint { double x0; double x1; } *)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })caretRectAtNode:(id)a0 offset:(int)a1 affinity:(unsigned long long)a2; - (unsigned short)characterAfterCaretSelection; - (unsigned short)characterInRelationToCaretSelection:(int)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })closestCaretRectInMarkedTextRangeForPoint:(struct CGPoint { double x0; double x1; })a0; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })convertDOMRangeToNSRange:(id)a0; - (id)convertNSRangeToDOMRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (id)deepestNodeAtViewportLocation:(struct CGPoint { double x0; double x1; })a0; - (void)deviceOrientationChanged; - (id)dictationResultMetadataForRange:(id)a0; - (id)documentView; - (id)elementRangeContainingCaretSelection; - (id)endPosition; - (void)expandSelectionToElementContainingCaretSelection; - (void)expandSelectionToWordContainingCaretSelection; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })firstRectForDOMRange:(id)a0; - (BOOL)focusedNodeHasContent; - (struct __CTFont { } *)fontForSelection:(BOOL *)a0; - (void)forceLayoutAdjustingViewSize:(BOOL)a0; - (void)getDictationResultRanges:(id *)a0 andMetadatas:(id *)a1; - (BOOL)hasRichlyEditableSelection; - (int)innerLineHeight:(id)a0; - (id)interpretationsForCurrentRoot; - (void)loadData:(id)a0 MIMEType:(id)a1 textEncodingName:(id)a2 baseURL:(id)a3; - (void)loadHTMLString:(id)a0 baseURL:(id)a1; - (void)loadRequest:(id)a0; - (id)markedTextDOMRange; - (void)moveSelectionToEnd; - (void)moveSelectionToPoint:(struct CGPoint { double x0; double x1; })a0; - (void)moveSelectionToStart; - (id)rangeByExtendingCurrentSelection:(int)a0; - (id)rangeByMovingCurrentSelection:(int)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })rectForScrollToVisible; - (void)recursiveSetUpdateAppearanceEnabled:(BOOL)a0; - (void)removeUnchangeableStyles; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })renderRectForPoint:(struct CGPoint { double x0; double x1; })a0 isReplaced:(BOOL *)a1 fontSize:(float *)a2; - (void)revealSelectionAtExtent:(BOOL)a0; - (id)scrollableNodeAtViewportLocation:(struct CGPoint { double x0; double x1; })a0; - (void)selectWithoutClosingTypingNSRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (BOOL)selectionAtDocumentStart; - (BOOL)selectionAtWordStart; - (int)selectionBaseWritingDirection; - (void)setPluginsPaused:(BOOL)a0; - (void)setSelectedDOMRange:(id)a0 affinity:(unsigned long long)a1 closeTyping:(BOOL)a2; - (void)setSelectedDOMRange:(id)a0 affinity:(unsigned long long)a1 closeTyping:(BOOL)a2 userTriggered:(BOOL)a3; - (void)setSelectionChangeCallbacksDisabled:(BOOL)a0; - (void)setText:(id)a0 asChildOfElement:(id)a1; - (void)setTimeoutsPaused:(BOOL)a0; - (void)smartExtendRangedSelection:(int)a0; - (id)startPosition; - (void)toggleBaseWritingDirection; - (id)webVisiblePositionForPoint:(struct CGPoint { double x0; double x1; })a0; - (id)wordAtPoint:(struct CGPoint { double x0; double x1; })a0; - (int)wordOffsetInRange:(id)a0; - (id)_typingStyle; - (struct CGColor { } *)_bodyBackgroundColor; - (void)loadArchive:(id)a0; - (id)_unreachableURL; - (BOOL)isTelephoneNumberParsingAllowed; - (int)layoutCount; - (void)_clearSelection; - (BOOL)_hasSelection; - (void)_saveViewState; - (void)_clearCoreFrame; - (id)_selectedString; - (void)ensureRangedSelectionContainsInitialStartPoint:(struct CGPoint { double x0; double x1; })a0 initialEndPoint:(struct CGPoint { double x0; double x1; })a1; - (id)findFrameNamed:(id)a0; - (struct OpaqueJSValue { } *)jsWrapperForNode:(id)a0 inScriptWorld:(id)a1; - (void)_attachScriptDebugger; - (id)_cacheabilityDictionary; - (BOOL)_canSaveAsWebArchive; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })_caretRectAtPosition:(const void *)a0 affinity:(unsigned long long)a1; - (id)_characterRangeAtPoint:(struct CGPoint { double x0; double x1; })a0; - (void)_clearSelectionInOtherFrames; - (id)_computePageRectsWithPrintScaleFactor:(float)a0 pageSize:(struct CGSize { double x0; double x1; })a1; - (id)_convertNSRangeToDOMRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (struct optional<WebCore::SimpleRange> { union { char x0; struct SimpleRange { struct BoundaryPoint { struct Ref<WebCore::Node, WTF::RawPtrTraits<WebCore::Node>> { struct Node *x0; } x0; unsigned int x1; } x0; struct BoundaryPoint { struct Ref<WebCore::Node, WTF::RawPtrTraits<WebCore::Node>> { struct Node *x0; } x0; unsigned int x1; } x1; } x1; } x0; BOOL x1; })_convertToDOMRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 rangeIsRelativeTo:(unsigned char)a1; - (void)_detachScriptDebugger; - (id)_documentFragmentForText:(id)a0; - (id)_documentFragmentWithNodesAsParagraphs:(id)a0; - (id)_documentFragmentForWebArchive:(id)a0; - (void)_selectNSRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (void)_setTypingStyle:(id)a0 withUndoAction:(unsigned char)a1; - (BOOL)isTelephoneNumberParsingEnabled; - (BOOL)_allowsFollowingLink:(id)a0; - (BOOL)_canProvideDocumentSource; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })selectedNSRange; - (void)_clearOpener; - (void)_commitData:(id)a0; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })_convertDOMRangeToNSRange:(id)a0; - (struct optional<WebCore::SimpleRange> { union { char x0; struct SimpleRange { struct BoundaryPoint { struct Ref<WebCore::Node, WTF::RawPtrTraits<WebCore::Node>> { struct Node *x0; } x0; unsigned int x1; } x0; struct BoundaryPoint { struct Ref<WebCore::Node, WTF::RawPtrTraits<WebCore::Node>> { struct Node *x0; } x0; unsigned int x1; } x1; } x1; } x0; BOOL x1; })_convertToDOMRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })_convertToNSRange:(const void *)a0; - (void)_dispatchDidReceiveTitle:(id)a0; - (id)_documentFragmentForImageData:(id)a0 withRelativeURLPart:(id)a1 andMIMEType:(id)a2; - (id)_documentFragmentWithMarkupString:(id)a0 baseURLString:(id)a1; - (void)_drawRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 contentsOnly:(BOOL)a1; - (id)_findFrameWithSelection; - (BOOL)_firstLayoutDone; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })_firstRectForDOMRange:(id)a0; - (void)_generateTestReport:(id)a0 withGroup:(id)a1; - (BOOL)_getVisibleRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } *)a0; - (struct OpaqueJSContext { } *)_globalContextForScriptWorld:(id)a0; - (id)_initWithWebFrameView:(id)a0 webView:(id)a1; - (void)_insertParagraphSeparatorInQuotedContent; - (id)_internalLoadDelegate; - (BOOL)_isDisplayingStandaloneImage; - (BOOL)_isFrameSet; - (BOOL)_isIncludedInWebKitStatistics; - (id)_javaScriptContextForScriptWorld:(id)a0; - (id)_layerTreeAsText; - (void)_loadData:(id)a0 MIMEType:(id)a1 textEncodingName:(id)a2 baseURL:(id)a3 unreachableURL:(id)a4; - (void)_loadHTMLString:(id)a0 baseURL:(id)a1 unreachableURL:(id)a2; - (id)_markDOMRange; - (struct OptionSet<WebCore::PaintBehavior> { unsigned int x0; })_paintBehaviorForDestinationContext:(struct CGContext { } *)a0; - (unsigned int)_pendingFrameUnloadEventCount; - (void)_replaceSelectionWithMarkupString:(id)a0 baseURLString:(id)a1 selectReplacement:(BOOL)a2 smartReplace:(BOOL)a3; - (void)_replaceSelectionWithNode:(id)a0 selectReplacement:(BOOL)a1 smartReplace:(BOOL)a2 matchStyle:(BOOL)a3; - (void)_replaceSelectionWithText:(id)a0 selectReplacement:(BOOL)a1 smartReplace:(BOOL)a2; - (void)_replaceSelectionWithText:(id)a0 selectReplacement:(BOOL)a1 smartReplace:(BOOL)a2 matchStyle:(BOOL)a3; - (void)_restoreViewState; - (void)_scrollDOMRangeToVisible:(id)a0; - (void)_scrollDOMRangeToVisible:(id)a0 withInset:(double)a1; - (id)_selectionRangeForFirstPoint:(struct CGPoint { double x0; double x1; })a0 secondPoint:(struct CGPoint { double x0; double x1; })a1; - (id)_selectionRangeForPoint:(struct CGPoint { double x0; double x1; })a0; - (void)_setInternalLoadDelegate:(id)a0; - (void)_setIsCommitting:(BOOL)a0; - (void)_setShouldCreateRenderers:(BOOL)a0; - (void)_setVisibleSize:(struct CGSize { double x0; double x1; })a0; - (id)_stringByEvaluatingJavaScriptFromString:(id)a0; - (id)_stringByEvaluatingJavaScriptFromString:(id)a0 forceUserGesture:(BOOL)a1; - (id)_stringByEvaluatingJavaScriptFromString:(id)a0 withGlobalObject:(struct OpaqueJSValue { } *)a1 inScriptWorld:(id)a2; - (id)_stringForRange:(id)a0; - (void)_unmarkAllBadGrammar; - (void)_unmarkAllMisspellings; - (void)_updateBackgroundAndUpdatesWhileOffscreen; - (struct VisiblePosition { struct Position { struct RefPtr<WebCore::Node, WTF::RawPtrTraits<WebCore::Node>, WTF::DefaultRefDerefTraits<WebCore::Node>> { struct Node *x0; } x0; unsigned int x1; unsigned char x2 : 3; unsigned char x3 : 1; } x0; BOOL x1; })_visiblePositionForPoint:(struct CGPoint { double x0; double x1; })a0; - (id)_webHTMLDocumentView; - (id)accessibilityRoot; - (struct VisiblePosition { struct Position { struct RefPtr<WebCore::Node, WTF::RawPtrTraits<WebCore::Node>, WTF::DefaultRefDerefTraits<WebCore::Node>> { struct Node *x0; } x0; unsigned int x1; unsigned char x2 : 3; unsigned char x3 : 1; } x0; BOOL x1; })closestWordBoundary:(struct VisiblePosition { struct Position { struct RefPtr<WebCore::Node, WTF::RawPtrTraits<WebCore::Node>, WTF::DefaultRefDerefTraits<WebCore::Node>> { struct Node *x0; } x0; unsigned int x1; unsigned char x2 : 3; unsigned char x3 : 1; } x0; BOOL x1; })a0; - (void *)coreFrame; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })elementRectAtPoint:(struct CGPoint { double x0; double x1; })a0; - (BOOL)enhancedAccessibilityEnabled; - (void)expandSelectionToSentence; - (void)expandSelectionToStartOfWordContainingCaretSelection; - (void)extendSelection:(BOOL)a0; - (id)initWithName:(id)a0 webFrameView:(id)a1 webView:(id)a2; - (int)numberOfPagesWithPageWidth:(float)a0 pageHeight:(float)a1; - (void)printToCGContext:(struct CGContext { } *)a0 pageWidth:(float)a1 pageHeight:(float)a2; - (id)renderTreeAsExternalRepresentationForPrinting; - (id)renderTreeAsExternalRepresentationWithOptions:(unsigned long long)a0; - (BOOL)renderedCharactersExceed:(unsigned long long)a0; - (struct CGSize { double x0; double x1; })renderedSizeOfNode:(id)a0 constrainedToWidth:(float)a1; - (void)selectNSRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (void)selectNSRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 onElement:(id)a1; - (BOOL)selectionAtSentenceStart; - (id)selectionRectsForCoreRange:(const void *)a0; - (void)setAccessibleName:(id)a0; - (void)setDictationPhrases:(id)a0 metadata:(id)a1 asChildOfElement:(id)a2; - (void)setEnhancedAccessibility:(BOOL)a0; - (void)setMarkedText:(id)a0 forCandidates:(BOOL)a1; - (BOOL)setSelectionWithBasePoint:(struct CGPoint { double x0; double x1; })a0 extentPoint:(struct CGPoint { double x0; double x1; })a1 baseIsStart:(BOOL)a2; - (BOOL)setSelectionWithBasePoint:(struct CGPoint { double x0; double x1; })a0 extentPoint:(struct CGPoint { double x0; double x1; })a1 baseIsStart:(BOOL)a2 allowFlipping:(BOOL)a3; - (BOOL)spaceFollowsWordInRange:(id)a0; - (id)stringByEvaluatingJavaScriptFromString:(id)a0 forceUserGesture:(BOOL)a1; - (struct VisiblePosition { struct Position { struct RefPtr<WebCore::Node, WTF::RawPtrTraits<WebCore::Node>, WTF::DefaultRefDerefTraits<WebCore::Node>> { struct Node *x0; } x0; unsigned int x1; unsigned char x2 : 3; unsigned char x3 : 1; } x0; BOOL x1; })visiblePositionForPoint:(struct CGPoint { double x0; double x1; })a0; - (id)wordInRange:(id)a0; - (id)wordsInCurrentParagraph; @end