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

#include <PlatformWebView.h>

Public Types

enum  WebViewSizingMode { WebViewSizingMode::Default, WebViewSizingMode::HeightRespectsStatusBar }
 

Public Member Functions

 PlatformWebView (WKPageConfigurationRef, const TestOptions &)
 
 ~PlatformWebView ()
 
WKPageRef page ()
 
PlatformWKView platformView ()
 
PlatformWindow platformWindow ()
 
void resizeTo (unsigned width, unsigned height, WebViewSizingMode=WebViewSizingMode::Default)
 
void focus ()
 
WKRect windowFrame ()
 
void setWindowFrame (WKRect, WebViewSizingMode=WebViewSizingMode::Default)
 
void didInitializeClients ()
 
void addChromeInputField ()
 
void removeChromeInputField ()
 
void makeWebViewFirstResponder ()
 
void setWindowIsKey (bool)
 
bool windowIsKey () const
 
void removeFromWindow ()
 
void addToWindow ()
 
bool viewSupportsOptions (const TestOptions &) const
 
WKRetainPtr< WKImageRefwindowSnapshotImage ()
 
const TestOptionsoptions () const
 
void changeWindowScaleIfNeeded (float newScale)
 
void setNavigationGesturesEnabled (bool)
 

Static Public Member Functions

static PlatformWindow keyWindow ()
 

Member Enumeration Documentation

◆ WebViewSizingMode

Enumerator
Default 
HeightRespectsStatusBar 

Constructor & Destructor Documentation

◆ PlatformWebView()

WTR::PlatformWebView::PlatformWebView ( WKPageConfigurationRef  configuration,
const TestOptions options 
)

◆ ~PlatformWebView()

WTR::PlatformWebView::~PlatformWebView ( )

Member Function Documentation

◆ addChromeInputField()

void WTR::PlatformWebView::addChromeInputField ( )

◆ addToWindow()

void WTR::PlatformWebView::addToWindow ( )

◆ changeWindowScaleIfNeeded()

void WTR::PlatformWebView::changeWindowScaleIfNeeded ( float  newScale)

◆ didInitializeClients()

void WTR::PlatformWebView::didInitializeClients ( )

◆ focus()

void WTR::PlatformWebView::focus ( )

◆ keyWindow()

PlatformWindow WTR::PlatformWebView::keyWindow ( )
static

◆ makeWebViewFirstResponder()

void WTR::PlatformWebView::makeWebViewFirstResponder ( )

◆ options()

const TestOptions& WTR::PlatformWebView::options ( ) const
inline

◆ page()

WKPageRef WTR::PlatformWebView::page ( )

◆ platformView()

PlatformWKView WTR::PlatformWebView::platformView ( )
inline

◆ platformWindow()

PlatformWindow WTR::PlatformWebView::platformWindow ( )
inline

◆ removeChromeInputField()

void WTR::PlatformWebView::removeChromeInputField ( )

◆ removeFromWindow()

void WTR::PlatformWebView::removeFromWindow ( )

◆ resizeTo()

void WTR::PlatformWebView::resizeTo ( unsigned  width,
unsigned  height,
WebViewSizingMode  sizingMode = WebViewSizingMode::Default 
)

◆ setNavigationGesturesEnabled()

void WTR::PlatformWebView::setNavigationGesturesEnabled ( bool  enabled)

◆ setWindowFrame()

void WTR::PlatformWebView::setWindowFrame ( WKRect  frame,
WebViewSizingMode  viewSizingMode = WebViewSizingMode::Default 
)

◆ setWindowIsKey()

void WTR::PlatformWebView::setWindowIsKey ( bool  isKey)

◆ viewSupportsOptions()

bool WTR::PlatformWebView::viewSupportsOptions ( const TestOptions options) const

◆ windowFrame()

WKRect WTR::PlatformWebView::windowFrame ( )

◆ windowIsKey()

bool WTR::PlatformWebView::windowIsKey ( ) const
inline

◆ windowSnapshotImage()

WKRetainPtr< WKImageRef > WTR::PlatformWebView::windowSnapshotImage ( )

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