webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
WebCore::MainFrame Class Referencefinal

#include <MainFrame.h>

Inheritance diagram for WebCore::MainFrame:
WebCore::Frame WebCore::Frame WTF::ThreadSafeRefCounted< Frame > WTF::ThreadSafeRefCounted< Frame > WTF::ThreadSafeRefCounted< Frame > WTF::ThreadSafeRefCounted< Frame > WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase

Public Member Functions

virtual ~MainFrame ()
 
void selfOnlyRef ()
 
void selfOnlyDeref ()
 
WheelEventDeltaFilterwheelEventDeltaFilter ()
 
PageOverlayControllerpageOverlayController ()
 
PerformanceLoggingperformanceLogging () const
 
void didCompleteLoad ()
 
MonotonicTime timeOfLastCompletedLoad () const
 
virtual ~MainFrame ()
 
void selfOnlyRef ()
 
void selfOnlyDeref ()
 
WheelEventDeltaFilterwheelEventDeltaFilter ()
 
PageOverlayControllerpageOverlayController ()
 
PerformanceLoggingperformanceLogging () const
 
void didCompleteLoad ()
 
MonotonicTime timeOfLastCompletedLoad () const
 
- Public Member Functions inherited from WebCore::Frame
void init ()
 
WEBCORE_EXPORT void setView (RefPtr< FrameView > &&)
 
WEBCORE_EXPORT void createView (const IntSize &, const Color &, bool, const IntSize &fixedLayoutSize=IntSize(), const IntRect &fixedVisibleContentRect=IntRect(), bool useFixedLayout=false, ScrollbarMode=ScrollbarAuto, bool horizontalLock=false, ScrollbarMode=ScrollbarAuto, bool verticalLock=false)
 
virtual WEBCORE_EXPORT ~Frame ()
 
void addDestructionObserver (FrameDestructionObserver *)
 
void removeDestructionObserver (FrameDestructionObserver *)
 
void willDetachPage ()
 
void detachFromPage ()
 
void disconnectOwnerElement ()
 
MainFramemainFrame () const
 
bool isMainFrame () const
 
Pagepage () const
 
HTMLFrameOwnerElementownerElement () const
 
Documentdocument () const
 
FrameViewview () const
 
Editoreditor () const
 
EventHandlereventHandler () const
 
EventHandlereventHandlerPtr () const
 
FrameLoaderloader () const
 
NavigationSchedulernavigationScheduler () const
 
FrameSelectionselection () const
 
FrameTreetree () const
 
CSSAnimationControlleranimation () const
 
ScriptControllerscript ()
 
WEBCORE_EXPORT RenderViewcontentRenderer () const
 
WEBCORE_EXPORT RenderWidgetownerRenderer () const
 
bool documentIsBeingReplaced () const
 
void injectUserScripts (UserScriptInjectionTime)
 
WEBCORE_EXPORT String layerTreeAsText (LayerTreeFlags=0) const
 
WEBCORE_EXPORT String trackedRepaintRectsAsText () const
 
Settingssettings () const
 
void setPrinting (bool printing, const FloatSize &pageSize, const FloatSize &originalPageSize, float maximumShrinkRatio, AdjustViewSizeOrNot)
 
bool shouldUsePrintingLayout () const
 
WEBCORE_EXPORT FloatSize resizePageRectsKeepingRatio (const FloatSize &originalSize, const FloatSize &expectedSize)
 
void setDocument (RefPtr< Document > &&)
 
WEBCORE_EXPORT void setPageZoomFactor (float)
 
float pageZoomFactor () const
 
WEBCORE_EXPORT void setTextZoomFactor (float)
 
float textZoomFactor () const
 
WEBCORE_EXPORT void setPageAndTextZoomFactors (float pageZoomFactor, float textZoomFactor)
 
WEBCORE_EXPORT float frameScaleFactor () const
 
void deviceOrPageScaleFactorChanged ()
 
void clearTimers ()
 
WEBCORE_EXPORT String displayStringModifiedByEncoding (const String &) const
 
WEBCORE_EXPORT VisiblePosition visiblePositionForPoint (const IntPoint &framePoint) const
 
DocumentdocumentAtPoint (const IntPoint &windowPoint)
 
WEBCORE_EXPORT RefPtr< RangerangeForPoint (const IntPoint &framePoint)
 
WEBCORE_EXPORT String searchForLabelsAboveCell (const JSC::Yarr::RegularExpression &, HTMLTableCellElement *, size_t *resultDistanceFromStartOfCell)
 
String searchForLabelsBeforeElement (const Vector< String > &labels, Element *, size_t *resultDistance, bool *resultIsInCellAbove)
 
String matchLabelsAgainstElement (const Vector< String > &labels, Element *)
 
void suspendActiveDOMObjectsAndAnimations ()
 
void resumeActiveDOMObjectsAndAnimations ()
 
bool activeDOMObjectsAndAnimationsSuspended () const
 
bool isURLAllowed (const URL &) const
 
WEBCORE_EXPORT bool isAlwaysOnLoggingAllowed () const
 
void init ()
 
WEBCORE_EXPORT void setView (RefPtr< FrameView > &&)
 
WEBCORE_EXPORT void createView (const IntSize &, const Color &, bool, const IntSize &fixedLayoutSize=IntSize(), const IntRect &fixedVisibleContentRect=IntRect(), bool useFixedLayout=false, ScrollbarMode=ScrollbarAuto, bool horizontalLock=false, ScrollbarMode=ScrollbarAuto, bool verticalLock=false)
 
virtual WEBCORE_EXPORT ~Frame ()
 
void addDestructionObserver (FrameDestructionObserver *)
 
void removeDestructionObserver (FrameDestructionObserver *)
 
void willDetachPage ()
 
void detachFromPage ()
 
void disconnectOwnerElement ()
 
MainFramemainFrame () const
 
bool isMainFrame () const
 
Pagepage () const
 
HTMLFrameOwnerElementownerElement () const
 
Documentdocument () const
 
FrameViewview () const
 
Editoreditor () const
 
EventHandlereventHandler () const
 
EventHandlereventHandlerPtr () const
 
FrameLoaderloader () const
 
NavigationSchedulernavigationScheduler () const
 
FrameSelectionselection () const
 
FrameTreetree () const
 
CSSAnimationControlleranimation () const
 
ScriptControllerscript ()
 
WEBCORE_EXPORT RenderViewcontentRenderer () const
 
WEBCORE_EXPORT RenderWidgetownerRenderer () const
 
bool documentIsBeingReplaced () const
 
void injectUserScripts (UserScriptInjectionTime)
 
WEBCORE_EXPORT String layerTreeAsText (LayerTreeFlags=0) const
 
WEBCORE_EXPORT String trackedRepaintRectsAsText () const
 
Settingssettings () const
 
void setPrinting (bool printing, const FloatSize &pageSize, const FloatSize &originalPageSize, float maximumShrinkRatio, AdjustViewSizeOrNot)
 
bool shouldUsePrintingLayout () const
 
WEBCORE_EXPORT FloatSize resizePageRectsKeepingRatio (const FloatSize &originalSize, const FloatSize &expectedSize)
 
void setDocument (RefPtr< Document > &&)
 
WEBCORE_EXPORT void setPageZoomFactor (float)
 
float pageZoomFactor () const
 
WEBCORE_EXPORT void setTextZoomFactor (float)
 
float textZoomFactor () const
 
WEBCORE_EXPORT void setPageAndTextZoomFactors (float pageZoomFactor, float textZoomFactor)
 
WEBCORE_EXPORT float frameScaleFactor () const
 
void deviceOrPageScaleFactorChanged ()
 
void clearTimers ()
 
WEBCORE_EXPORT String displayStringModifiedByEncoding (const String &) const
 
WEBCORE_EXPORT VisiblePosition visiblePositionForPoint (const IntPoint &framePoint) const
 
DocumentdocumentAtPoint (const IntPoint &windowPoint)
 
WEBCORE_EXPORT RefPtr< RangerangeForPoint (const IntPoint &framePoint)
 
WEBCORE_EXPORT String searchForLabelsAboveCell (const JSC::Yarr::RegularExpression &, HTMLTableCellElement *, size_t *resultDistanceFromStartOfCell)
 
String searchForLabelsBeforeElement (const Vector< String > &labels, Element *, size_t *resultDistance, bool *resultIsInCellAbove)
 
String matchLabelsAgainstElement (const Vector< String > &labels, Element *)
 
void suspendActiveDOMObjectsAndAnimations ()
 
void resumeActiveDOMObjectsAndAnimations ()
 
bool activeDOMObjectsAndAnimationsSuspended () const
 
bool isURLAllowed (const URL &) const
 
WEBCORE_EXPORT bool isAlwaysOnLoggingAllowed () const
 
- Public Member Functions inherited from WTF::ThreadSafeRefCounted< Frame >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::ThreadSafeRefCountedBase
 ThreadSafeRefCountedBase ()=default
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
 ThreadSafeRefCountedBase ()=default
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
 ThreadSafeRefCountedBase ()=default
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 

Static Public Member Functions

static Ref< MainFramecreate (Page &, PageConfiguration &)
 
static Ref< MainFramecreate (Page &, PageConfiguration &)
 
- Static Public Member Functions inherited from WebCore::Frame
static WEBCORE_EXPORT Ref< Framecreate (Page *, HTMLFrameOwnerElement *, FrameLoaderClient *)
 
static WEBCORE_EXPORT FrameframeForWidget (const Widget &)
 
static void clearTimers (FrameView *, Document *)
 
static WEBCORE_EXPORT Ref< Framecreate (Page *, HTMLFrameOwnerElement *, FrameLoaderClient *)
 
static WEBCORE_EXPORT FrameframeForWidget (const Widget &)
 
static void clearTimers (FrameView *, Document *)
 

Additional Inherited Members

- Protected Member Functions inherited from WebCore::Frame
 Frame (Page &, HTMLFrameOwnerElement *, FrameLoaderClient &)
 
void setMainFrameWasDestroyed ()
 
 Frame (Page &, HTMLFrameOwnerElement *, FrameLoaderClient &)
 
void setMainFrameWasDestroyed ()
 
- Protected Member Functions inherited from WTF::ThreadSafeRefCounted< Frame >
 ThreadSafeRefCounted ()=default
 
 ThreadSafeRefCounted ()=default
 
 ThreadSafeRefCounted ()=default
 
- Protected Member Functions inherited from WTF::ThreadSafeRefCountedBase
bool derefBase () const
 
bool derefBase () const
 
bool derefBase () const
 
- Protected Attributes inherited from WebCore::Frame
std::unique_ptr< EventHandlerm_eventHandler
 

Constructor & Destructor Documentation

◆ ~MainFrame() [1/2]

WebCore::MainFrame::~MainFrame ( )
virtual

◆ ~MainFrame() [2/2]

virtual WebCore::MainFrame::~MainFrame ( )
virtual

Member Function Documentation

◆ create() [1/2]

Ref< MainFrame > WebCore::MainFrame::create ( Page page,
PageConfiguration configuration 
)
static

◆ create() [2/2]

static Ref<MainFrame> WebCore::MainFrame::create ( Page ,
PageConfiguration  
)
static

◆ didCompleteLoad() [1/2]

void WebCore::MainFrame::didCompleteLoad ( )

◆ didCompleteLoad() [2/2]

void WebCore::MainFrame::didCompleteLoad ( )

◆ pageOverlayController() [1/2]

PageOverlayController& WebCore::MainFrame::pageOverlayController ( )
inline

◆ pageOverlayController() [2/2]

PageOverlayController& WebCore::MainFrame::pageOverlayController ( )
inline

◆ performanceLogging() [1/2]

PerformanceLogging& WebCore::MainFrame::performanceLogging ( ) const
inline

◆ performanceLogging() [2/2]

PerformanceLogging& WebCore::MainFrame::performanceLogging ( ) const
inline

◆ selfOnlyDeref() [1/2]

void WebCore::MainFrame::selfOnlyDeref ( )

◆ selfOnlyDeref() [2/2]

void WebCore::MainFrame::selfOnlyDeref ( )

◆ selfOnlyRef() [1/2]

void WebCore::MainFrame::selfOnlyRef ( )

◆ selfOnlyRef() [2/2]

void WebCore::MainFrame::selfOnlyRef ( )

◆ timeOfLastCompletedLoad() [1/2]

MonotonicTime WebCore::MainFrame::timeOfLastCompletedLoad ( ) const
inline

◆ timeOfLastCompletedLoad() [2/2]

MonotonicTime WebCore::MainFrame::timeOfLastCompletedLoad ( ) const
inline

◆ wheelEventDeltaFilter() [1/2]

WheelEventDeltaFilter* WebCore::MainFrame::wheelEventDeltaFilter ( )
inline

◆ wheelEventDeltaFilter() [2/2]

WheelEventDeltaFilter* WebCore::MainFrame::wheelEventDeltaFilter ( )
inline

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