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

#import <WebFrameViewPrivate.h>

Instance Methods

(WebFrameView *) - _largestChildWithScrollBars
 
(BOOL- _hasScrollBars
 
(WebFrameView *) - _largestScrollableChild
 
(BOOL- _isScrollable
 
(NSClipView *) - _contentView
 
(Class- _customScrollViewClass
 
(void- _setCustomScrollViewClass:
 

Method Documentation

◆ _contentView()

- (NSClipView *) _contentView

_contentView

Returns
The content view (NSClipView) of the WebFrameView's scroll view.

◆ _customScrollViewClass()

- (Class) _customScrollViewClass

_customScrollViewClass

Returns
The custom scroll view class that is installed, nil if the default scroll view is being used.

◆ _hasScrollBars()

- (BOOL) _hasScrollBars

_hasScrollBars

Returns
YES if at least one scroll bar is currently displayed

◆ _isScrollable()

- (BOOL) _isScrollable

_isScrollable

Returns
YES if scrolling is currently possible, whether or not scroll bars are currently showing. This differs from -allowsScrolling in that the latter method only checks whether scrolling has been explicitly disallowed via a call to setAllowsScrolling:NO.

◆ _largestChildWithScrollBars()

- (WebFrameView *) _largestChildWithScrollBars

_largestChildWithScrollBars Of the child WebFrameViews that are displaying scroll bars, determines which has the largest area.

Returns
A child WebFrameView that is displaying scroll bars, or nil if none.

◆ _largestScrollableChild()

- (WebFrameView *) _largestScrollableChild

_largestScrollableChild Of the child WebFrameViews that allow scrolling, determines which has the largest area.

Returns
A child WebFrameView that is scrollable, or nil if none.

◆ _setCustomScrollViewClass:()

- (void) _setCustomScrollViewClass: (Class scrollViewClass

_setCustomScrollViewClass: Switches the WebFrameView's scroll view class, this class needs to be a subclass of WebDynamicScrollBarsView. Passing nil will switch back to the default WebDynamicScrollBarsView class.


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