webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | Static Public Member Functions | List of all members
WebKit::WebFrame Class Reference

#include <WebFrame.h>

Inheritance diagram for WebKit::WebFrame:
API::ObjectImpl< API::Object::Type::BundleFrame > API::Object

Classes

class  LoadListener
 

Public Member Functions

 ~WebFrame ()
 
void invalidate ()
 
WebPagepage () const
 
WebCore::FramecoreFrame () const
 
FrameInfoData info () const
 
uint64_t frameID () const
 
uint64_t setUpPolicyListener (WebCore::FramePolicyFunction)
 
void invalidatePolicyListener ()
 
void didReceivePolicyDecision (uint64_t listenerID, WebCore::PolicyAction, uint64_t navigationID, DownloadID)
 
void startDownload (const WebCore::ResourceRequest &, const String &suggestedName={ })
 
void convertMainResourceLoadToDownload (WebCore::DocumentLoader *, WebCore::SessionID, const WebCore::ResourceRequest &, const WebCore::ResourceResponse &)
 
String source () const
 
String contentsAsString () const
 
String selectionAsString () const
 
WebCore::IntSize size () const
 
bool isMainFrame () const
 
String name () const
 
String url () const
 
WebCore::CertificateInfo certificateInfo () const
 
String innerText () const
 
bool isFrameSet () const
 
WebFrameparentFrame () const
 
Ref< API::ArraychildFrames ()
 
JSGlobalContextRef jsContext ()
 
JSGlobalContextRef jsContextForWorld (InjectedBundleScriptWorld *)
 
WebCore::IntRect contentBounds () const
 
WebCore::IntRect visibleContentBounds () const
 
WebCore::IntRect visibleContentBoundsExcludingScrollbars () const
 
WebCore::IntSize scrollOffset () const
 
bool hasHorizontalScrollbar () const
 
bool hasVerticalScrollbar () const
 
PassRefPtr< InjectedBundleHitTestResulthitTest (const WebCore::IntPoint) const
 
bool getDocumentBackgroundColor (double *red, double *green, double *blue, double *alpha)
 
bool containsAnyFormElements () const
 
bool containsAnyFormControls () const
 
void stopLoading ()
 
bool handlesPageScaleGesture () const
 
bool requiresUnifiedScaleFactor () const
 
void setAccessibleName (const String &)
 
JSValueRef jsWrapperForWorld (InjectedBundleNodeHandle *, InjectedBundleScriptWorld *)
 
JSValueRef jsWrapperForWorld (InjectedBundleRangeHandle *, InjectedBundleScriptWorld *)
 
JSValueRef jsWrapperForWorld (InjectedBundleFileHandle *, InjectedBundleScriptWorld *)
 
String layerTreeAsText () const
 
unsigned pendingUnloadCount () const
 
bool allowsFollowingLink (const WebCore::URL &) const
 
String provisionalURL () const
 
String suggestedFilenameForResourceWithURL (const WebCore::URL &) const
 
String mimeTypeForResourceWithURL (const WebCore::URL &) const
 
void setTextDirection (const String &)
 
void documentLoaderDetached (uint64_t navigationID)
 
void setLoadListener (LoadListener *loadListener)
 
LoadListenerloadListener () const
 
PassRefPtr< ShareableBitmapcreateSelectionSnapshot () const
 
- Public Member Functions inherited from API::ObjectImpl< API::Object::Type::BundleFrame >
virtual ~ObjectImpl ()
 
- Public Member Functions inherited from API::Object
virtual ~Object ()
 

Static Public Member Functions

static Ref< WebFramecreateWithCoreMainFrame (WebPage *, WebCore::Frame *)
 
static Ref< WebFramecreateSubframe (WebPage *, const String &frameName, WebCore::HTMLFrameOwnerElement *)
 
static WebFramefromCoreFrame (WebCore::Frame &)
 
static WebFrameframeForContext (JSContextRef)
 
static String counterValue (JSObjectRef element)
 
- Static Public Member Functions inherited from API::Object
static voidwrap (API::Object *)
 
static API::Objectunwrap (void *)
 

Additional Inherited Members

- Public Types inherited from API::Object
enum  Type {
  Type::Null = 0, Type::Array, Type::AuthenticationChallenge, Type::AuthenticationDecisionListener,
  Type::CertificateInfo, Type::Connection, Type::ContextMenuItem, Type::Credential,
  Type::Data, Type::Dictionary, Type::Error, Type::FrameHandle,
  Type::Image, Type::PageGroupData, Type::PageHandle, Type::PageGroupHandle,
  Type::ProtectionSpace, Type::RenderLayer, Type::RenderObject, Type::SecurityOrigin,
  Type::SessionState, Type::SerializedScriptValue, Type::String, Type::URL,
  Type::URLRequest, Type::URLResponse, Type::UserContentURLPattern, Type::UserScript,
  Type::UserStyleSheet, Type::WebArchive, Type::WebArchiveResource, Type::Boolean,
  Type::Double, Type::UInt64, Type::Point, Type::Size,
  Type::Rect, Type::ApplicationCacheManager, Type::AutomationSession, Type::BackForwardList,
  Type::BackForwardListItem, Type::CacheManager, Type::ColorPickerResultListener, Type::ContextMenuListener,
  Type::CookieManager, Type::Download, Type::ExperimentalFeature, Type::FormSubmissionListener,
  Type::Frame, Type::FrameInfo, Type::FramePolicyListener, Type::FullScreenManager,
  Type::GeolocationManager, Type::GeolocationPermissionRequest, Type::HitTestResult, Type::GeolocationPosition,
  Type::GrammarDetail, Type::IconDatabase, Type::Inspector, Type::KeyValueStorageManager,
  Type::MediaCacheManager, Type::Navigation, Type::NavigationAction, Type::NavigationData,
  Type::NavigationResponse, Type::Notification, Type::NotificationManager, Type::NotificationPermissionRequest,
  Type::OpenPanelParameters, Type::OpenPanelResultListener, Type::OriginDataManager, Type::Page,
  Type::PageConfiguration, Type::PageGroup, Type::ProcessPool, Type::ProcessPoolConfiguration,
  Type::PluginSiteDataManager, Type::Preferences, Type::ResourceLoadStatisticsStore, Type::RunBeforeUnloadConfirmPanelResultListener,
  Type::RunJavaScriptAlertResultListener, Type::RunJavaScriptConfirmResultListener, Type::RunJavaScriptPromptResultListener, Type::TextChecker,
  Type::UserContentController, Type::UserContentExtension, Type::UserContentExtensionStore, Type::UserContentWorld,
  Type::UserInitiatedAction, Type::UserMediaPermissionCheck, Type::UserMediaPermissionRequest, Type::Vibration,
  Type::ViewportAttributes, Type::VisitedLinkStore, Type::WebResourceLoadStatisticsManager, Type::WebsiteDataRecord,
  Type::WebsiteDataStore, Type::WebsitePolicies, Type::WindowFeatures, Type::Bundle,
  Type::BundleBackForwardList, Type::BundleBackForwardListItem, Type::BundleCSSStyleDeclarationHandle, Type::BundleDOMWindowExtension,
  Type::BundleFileHandle, Type::BundleFrame, Type::BundleHitTestResult, Type::BundleInspector,
  Type::BundleNavigationAction, Type::BundleNodeHandle, Type::BundlePage, Type::BundlePageBanner,
  Type::BundlePageGroup, Type::BundlePageOverlay, Type::BundleRangeHandle, Type::BundleScriptWorld,
  Type::EditCommandProxy, Type::ObjCObjectGraph, Type::View
}
 
- Static Public Attributes inherited from API::ObjectImpl< API::Object::Type::BundleFrame >
static const Type APIType
 
- Protected Member Functions inherited from API::ObjectImpl< API::Object::Type::BundleFrame >
 ObjectImpl ()
 
Type type () const override
 
- Protected Member Functions inherited from API::Object
 Object ()
 

Constructor & Destructor Documentation

◆ ~WebFrame()

WebFrame::~WebFrame ( )

Member Function Documentation

◆ allowsFollowingLink()

bool WebFrame::allowsFollowingLink ( const WebCore::URL url) const

◆ certificateInfo()

CertificateInfo WebFrame::certificateInfo ( ) const

◆ childFrames()

Ref< API::Array > WebFrame::childFrames ( )

◆ containsAnyFormControls()

bool WebFrame::containsAnyFormControls ( ) const

◆ containsAnyFormElements()

bool WebFrame::containsAnyFormElements ( ) const

◆ contentBounds()

IntRect WebFrame::contentBounds ( ) const

◆ contentsAsString()

String WebFrame::contentsAsString ( ) const

◆ convertMainResourceLoadToDownload()

void WebFrame::convertMainResourceLoadToDownload ( WebCore::DocumentLoader documentLoader,
WebCore::SessionID  sessionID,
const WebCore::ResourceRequest request,
const WebCore::ResourceResponse response 
)

◆ coreFrame()

WebCore::Frame* WebKit::WebFrame::coreFrame ( ) const
inline

◆ counterValue()

String WebFrame::counterValue ( JSObjectRef  element)
static

◆ createSelectionSnapshot()

PassRefPtr< ShareableBitmap > WebFrame::createSelectionSnapshot ( ) const

◆ createSubframe()

Ref< WebFrame > WebFrame::createSubframe ( WebPage page,
const String frameName,
WebCore::HTMLFrameOwnerElement ownerElement 
)
static

◆ createWithCoreMainFrame()

Ref< WebFrame > WebFrame::createWithCoreMainFrame ( WebPage page,
WebCore::Frame coreFrame 
)
static

◆ didReceivePolicyDecision()

void WebFrame::didReceivePolicyDecision ( uint64_t  listenerID,
WebCore::PolicyAction  action,
uint64_t  navigationID,
DownloadID  downloadID 
)

◆ documentLoaderDetached()

void WebFrame::documentLoaderDetached ( uint64_t  navigationID)

◆ frameForContext()

WebFrame * WebFrame::frameForContext ( JSContextRef  context)
static

◆ frameID()

uint64_t WebKit::WebFrame::frameID ( ) const
inline

◆ fromCoreFrame()

WebFrame * WebFrame::fromCoreFrame ( WebCore::Frame frame)
static

◆ getDocumentBackgroundColor()

bool WebFrame::getDocumentBackgroundColor ( double *  red,
double *  green,
double *  blue,
double *  alpha 
)

◆ handlesPageScaleGesture()

bool WebFrame::handlesPageScaleGesture ( ) const

◆ hasHorizontalScrollbar()

bool WebFrame::hasHorizontalScrollbar ( ) const

◆ hasVerticalScrollbar()

bool WebFrame::hasVerticalScrollbar ( ) const

◆ hitTest()

PassRefPtr< InjectedBundleHitTestResult > WebFrame::hitTest ( const WebCore::IntPoint  point) const

◆ info()

FrameInfoData WebFrame::info ( ) const

◆ innerText()

String WebFrame::innerText ( ) const

◆ invalidate()

void WebFrame::invalidate ( )

◆ invalidatePolicyListener()

void WebFrame::invalidatePolicyListener ( )

◆ isFrameSet()

bool WebFrame::isFrameSet ( ) const

◆ isMainFrame()

bool WebFrame::isMainFrame ( ) const

◆ jsContext()

JSGlobalContextRef WebFrame::jsContext ( )

◆ jsContextForWorld()

JSGlobalContextRef WebFrame::jsContextForWorld ( InjectedBundleScriptWorld world)

◆ jsWrapperForWorld() [1/3]

JSValueRef WebFrame::jsWrapperForWorld ( InjectedBundleNodeHandle nodeHandle,
InjectedBundleScriptWorld world 
)

◆ jsWrapperForWorld() [2/3]

JSValueRef WebFrame::jsWrapperForWorld ( InjectedBundleRangeHandle rangeHandle,
InjectedBundleScriptWorld world 
)

◆ jsWrapperForWorld() [3/3]

JSValueRef WebFrame::jsWrapperForWorld ( InjectedBundleFileHandle fileHandle,
InjectedBundleScriptWorld world 
)

◆ layerTreeAsText()

String WebFrame::layerTreeAsText ( ) const

◆ loadListener()

LoadListener* WebKit::WebFrame::loadListener ( ) const
inline

◆ mimeTypeForResourceWithURL()

String WebFrame::mimeTypeForResourceWithURL ( const WebCore::URL url) const

◆ name()

String WebFrame::name ( ) const

◆ page()

WebPage * WebFrame::page ( ) const

◆ parentFrame()

WebFrame * WebFrame::parentFrame ( ) const

◆ pendingUnloadCount()

unsigned WebFrame::pendingUnloadCount ( ) const

◆ provisionalURL()

String WebFrame::provisionalURL ( ) const

◆ requiresUnifiedScaleFactor()

bool WebFrame::requiresUnifiedScaleFactor ( ) const

◆ scrollOffset()

IntSize WebFrame::scrollOffset ( ) const

◆ selectionAsString()

String WebFrame::selectionAsString ( ) const

◆ setAccessibleName()

void WebFrame::setAccessibleName ( const String accessibleName)

◆ setLoadListener()

void WebKit::WebFrame::setLoadListener ( LoadListener loadListener)
inline

◆ setTextDirection()

void WebFrame::setTextDirection ( const String direction)

◆ setUpPolicyListener()

uint64_t WebFrame::setUpPolicyListener ( WebCore::FramePolicyFunction  policyFunction)

◆ size()

IntSize WebFrame::size ( ) const

◆ source()

String WebFrame::source ( ) const

◆ startDownload()

void WebFrame::startDownload ( const WebCore::ResourceRequest request,
const String suggestedName = { } 
)

◆ stopLoading()

void WebFrame::stopLoading ( )

◆ suggestedFilenameForResourceWithURL()

String WebFrame::suggestedFilenameForResourceWithURL ( const WebCore::URL url) const

◆ url()

String WebFrame::url ( ) const

◆ visibleContentBounds()

IntRect WebFrame::visibleContentBounds ( ) const

◆ visibleContentBoundsExcludingScrollbars()

IntRect WebFrame::visibleContentBoundsExcludingScrollbars ( ) const

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