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

#include <WebPageProxy.h>

Inheritance diagram for WebKit::WebPageProxy:
API::ObjectImpl< API::Object::Type::Page > WebKit::WebPopupMenuProxy::Client IPC::MessageReceiver IPC::MessageSender API::Object

Public Types

enum  ActivityStateChangeDispatchMode { ActivityStateChangeDispatchMode::Deferrable, ActivityStateChangeDispatchMode::Immediate }
 
enum  UndoOrRedo { Undo, Redo }
 
- 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
}
 

Public Member Functions

virtual ~WebPageProxy ()
 
const API::PageConfigurationconfiguration () const
 
uint64_t pageID () const
 
WebCore::SessionID sessionID () const
 
WebFrameProxymainFrame () const
 
WebFrameProxyfocusedFrame () const
 
WebFrameProxyframeSetLargestFrame () const
 
DrawingAreaProxydrawingArea () const
 
WebNavigationStatenavigationState ()
 
WebsiteDataStorewebsiteDataStore ()
 
WebBackForwardListbackForwardList ()
 
bool addsVisitedLinks () const
 
void setAddsVisitedLinks (bool addsVisitedLinks)
 
void fullscreenMayReturnToInline ()
 
void didEnterFullscreen ()
 
void didExitFullscreen ()
 
WebInspectorProxyinspector () const
 
bool isControlledByAutomation () const
 
void setControlledByAutomation (bool)
 
API::FindClientfindClient ()
 
void setFindClient (std::unique_ptr< API::FindClient >)
 
API::FindMatchesClientfindMatchesClient ()
 
void setFindMatchesClient (std::unique_ptr< API::FindMatchesClient >)
 
API::DiagnosticLoggingClientdiagnosticLoggingClient ()
 
void setDiagnosticLoggingClient (std::unique_ptr< API::DiagnosticLoggingClient >)
 
void setFormClient (std::unique_ptr< API::FormClient >)
 
void setNavigationClient (std::unique_ptr< API::NavigationClient >)
 
void setHistoryClient (std::unique_ptr< API::HistoryClient >)
 
void setLoaderClient (std::unique_ptr< API::LoaderClient >)
 
void setPolicyClient (std::unique_ptr< API::PolicyClient >)
 
void setInjectedBundleClient (const WKPageInjectedBundleClientBase *)
 
WebPageInjectedBundleClientinjectedBundleClient ()
 
API::UIClientuiClient ()
 
void setUIClient (std::unique_ptr< API::UIClient >)
 
API::IconLoadingClienticonLoadingClient ()
 
void setIconLoadingClient (std::unique_ptr< API::IconLoadingClient >)
 
void initializeWebPage ()
 
void close ()
 
bool tryClose ()
 
bool isClosed () const
 
void setIsUsingHighPerformanceWebGL (bool value)
 
bool isUsingHighPerformanceWebGL () const
 
void closePage (bool stopResponsivenessTimer)
 
void addPlatformLoadParameters (LoadParameters &)
 
RefPtr< API::NavigationloadRequest (const WebCore::ResourceRequest &, WebCore::ShouldOpenExternalURLsPolicy=WebCore::ShouldOpenExternalURLsPolicy::ShouldAllowExternalSchemes, API::Object *userData=nullptr)
 
RefPtr< API::NavigationloadFile (const String &fileURL, const String &resourceDirectoryURL, API::Object *userData=nullptr)
 
RefPtr< API::NavigationloadData (API::Data *, const String &MIMEType, const String &encoding, const String &baseURL, API::Object *userData=nullptr)
 
RefPtr< API::NavigationloadHTMLString (const String &htmlString, const String &baseURL, API::Object *userData=nullptr)
 
void loadAlternateHTMLString (const String &htmlString, const String &baseURL, const String &unreachableURL, API::Object *userData=nullptr)
 
void loadPlainTextString (const String &, API::Object *userData=nullptr)
 
void loadWebArchiveData (API::Data *, API::Object *userData=nullptr)
 
void navigateToPDFLinkWithSimulatedClick (const String &url, WebCore::IntPoint documentPoint, WebCore::IntPoint screenPoint)
 
void stopLoading ()
 
RefPtr< API::Navigationreload (bool reloadFromOrigin, bool contentBlockersEnabled)
 
RefPtr< API::NavigationgoForward ()
 
RefPtr< API::NavigationgoBack ()
 
RefPtr< API::NavigationgoToBackForwardItem (WebBackForwardListItem *)
 
void tryRestoreScrollPosition ()
 
void didChangeBackForwardList (WebBackForwardListItem *addedItem, Vector< RefPtr< WebBackForwardListItem >> removed)
 
void willGoToBackForwardListItem (uint64_t itemID, const UserData &)
 
bool shouldKeepCurrentBackForwardListItemInList (WebBackForwardListItem *)
 
bool willHandleHorizontalScrollEvents () const
 
void updateWebsitePolicies (const WebsitePolicies &)
 
bool canShowMIMEType (const String &mimeType)
 
bool drawsBackground () const
 
void setDrawsBackground (bool)
 
float topContentInset () const
 
void setTopContentInset (float)
 
WebCore::Color underlayColor () const
 
void setUnderlayColor (const WebCore::Color &)
 
WebCore::Color pageExtendedBackgroundColor () const
 
void viewWillStartLiveResize ()
 
void viewWillEndLiveResize ()
 
void setInitialFocus (bool forward, bool isKeyboardEventValid, const WebKeyboardEvent &, std::function< void(CallbackBase::Error)>)
 
void clearSelection ()
 
void restoreSelectionInFocusedEditableElement ()
 
void setViewNeedsDisplay (const WebCore::Region &)
 
void requestScroll (const WebCore::FloatPoint &scrollPosition, const WebCore::IntPoint &scrollOrigin, bool isProgrammaticScroll)
 
void setDelegatesScrolling (bool delegatesScrolling)
 
bool delegatesScrolling () const
 
void activityStateDidChange (WebCore::ActivityState::Flags mayHaveChanged, bool wantsSynchronousReply=false, ActivityStateChangeDispatchMode=ActivityStateChangeDispatchMode::Deferrable)
 
bool isInWindow () const
 
void waitForDidUpdateActivityState ()
 
void didUpdateActivityState ()
 
void layerHostingModeDidChange ()
 
WebCore::IntSize viewSize () const
 
bool isViewVisible () const
 
bool isViewWindowActive () const
 
void addMIMETypeWithCustomContentProvider (const String &mimeType)
 
void executeEditCommand (const String &commandName, const String &argument=String())
 
void validateCommand (const String &commandName, std::function< void(const String &, bool, int32_t, CallbackBase::Error)>)
 
const EditorStateeditorState () const
 
bool canDelete () const
 
bool hasSelectedRange () const
 
bool isContentEditable () const
 
bool maintainsInactiveSelection () const
 
void setMaintainsInactiveSelection (bool)
 
void setEditable (bool)
 
bool isEditable () const
 
void didCommitLayerTree (const WebKit::RemoteLayerTreeTransaction &)
 
void layerTreeCommitComplete ()
 
bool updateLayoutViewportParameters (const WebKit::RemoteLayerTreeTransaction &)
 
void handleMouseEvent (const NativeWebMouseEvent &)
 
void handleWheelEvent (const NativeWebWheelEvent &)
 
void handleKeyboardEvent (const NativeWebKeyboardEvent &)
 
void scrollBy (WebCore::ScrollDirection, WebCore::ScrollGranularity)
 
void centerSelectionInVisibleArea ()
 
const StringtoolTip () const
 
const StringuserAgent () const
 
void setApplicationNameForUserAgent (const String &)
 
const StringapplicationNameForUserAgent () const
 
void setCustomUserAgent (const String &)
 
const StringcustomUserAgent () const
 
bool supportsTextEncoding () const
 
void setCustomTextEncodingName (const String &)
 
String customTextEncodingName () const
 
bool areActiveDOMObjectsAndAnimationsSuspended () const
 
void resumeActiveDOMObjectsAndAnimations ()
 
void suspendActiveDOMObjectsAndAnimations ()
 
double estimatedProgress () const
 
void terminateProcess ()
 
SessionState sessionState (const std::function< bool(WebBackForwardListItem &)> &=nullptr) const
 
RefPtr< API::NavigationrestoreFromSessionState (SessionState, bool navigate)
 
bool supportsTextZoom () const
 
double textZoomFactor () const
 
void setTextZoomFactor (double)
 
double pageZoomFactor () const
 
void setPageZoomFactor (double)
 
void setPageAndTextZoomFactors (double pageZoomFactor, double textZoomFactor)
 
void scalePage (double scale, const WebCore::IntPoint &origin)
 
void scalePageInViewCoordinates (double scale, const WebCore::IntPoint &centerInViewCoordinates)
 
double pageScaleFactor () const
 
double viewScaleFactor () const
 
void scaleView (double scale)
 
void setShouldScaleViewToFitDocument (bool)
 
float deviceScaleFactor () const
 
void setIntrinsicDeviceScaleFactor (float)
 
void setCustomDeviceScaleFactor (float)
 
void windowScreenDidChange (WebCore::PlatformDisplayID)
 
void accessibilitySettingsDidChange ()
 
void setUseFixedLayout (bool)
 
void setFixedLayoutSize (const WebCore::IntSize &)
 
bool useFixedLayout () const
 
const WebCore::IntSizefixedLayoutSize () const
 
void listenForLayoutMilestones (WebCore::LayoutMilestones)
 
bool hasHorizontalScrollbar () const
 
bool hasVerticalScrollbar () const
 
void setSuppressScrollbarAnimations (bool)
 
bool areScrollbarAnimationsSuppressed () const
 
bool isPinnedToLeftSide () const
 
bool isPinnedToRightSide () const
 
bool isPinnedToTopSide () const
 
bool isPinnedToBottomSide () const
 
bool rubberBandsAtLeft () const
 
void setRubberBandsAtLeft (bool)
 
bool rubberBandsAtRight () const
 
void setRubberBandsAtRight (bool)
 
bool rubberBandsAtTop () const
 
void setRubberBandsAtTop (bool)
 
bool rubberBandsAtBottom () const
 
void setRubberBandsAtBottom (bool)
 
void setShouldUseImplicitRubberBandControl (bool shouldUseImplicitRubberBandControl)
 
bool shouldUseImplicitRubberBandControl () const
 
void setEnableVerticalRubberBanding (bool)
 
bool verticalRubberBandingIsEnabled () const
 
void setEnableHorizontalRubberBanding (bool)
 
bool horizontalRubberBandingIsEnabled () const
 
void setBackgroundExtendsBeyondPage (bool)
 
bool backgroundExtendsBeyondPage () const
 
void setPaginationMode (WebCore::Pagination::Mode)
 
WebCore::Pagination::Mode paginationMode () const
 
void setPaginationBehavesLikeColumns (bool)
 
bool paginationBehavesLikeColumns () const
 
void setPageLength (double)
 
double pageLength () const
 
void setGapBetweenPages (double)
 
double gapBetweenPages () const
 
void setPaginationLineGridEnabled (bool)
 
bool paginationLineGridEnabled () const
 
unsigned pageCount () const
 
void pageScaleFactorDidChange (double)
 
void pluginScaleFactorDidChange (double)
 
void pluginZoomFactorDidChange (double)
 
void findString (const String &, FindOptions, unsigned maxMatchCount)
 
void findStringMatches (const String &, FindOptions, unsigned maxMatchCount)
 
void getImageForFindMatch (int32_t matchIndex)
 
void selectFindMatch (int32_t matchIndex)
 
void didGetImageForFindMatch (const ShareableBitmap::Handle &contentImageHandle, uint32_t matchIndex)
 
void hideFindUI ()
 
void countStringMatches (const String &, FindOptions, unsigned maxMatchCount)
 
void didCountStringMatches (const String &, uint32_t matchCount)
 
void setTextIndicator (const WebCore::TextIndicatorData &, uint64_t lifetime=0)
 
void setTextIndicatorAnimationProgress (float)
 
void clearTextIndicator ()
 
void didFindString (const String &, const Vector< WebCore::IntRect > &, uint32_t matchCount, int32_t matchIndex)
 
void didFailToFindString (const String &)
 
void didFindStringMatches (const String &, const Vector< Vector< WebCore::IntRect >> &matchRects, int32_t firstIndexAfterSelection)
 
void getContentsAsString (std::function< void(const String &, CallbackBase::Error)>)
 
void getBytecodeProfile (std::function< void(const String &, CallbackBase::Error)>)
 
void getSamplingProfilerOutput (std::function< void(const String &, CallbackBase::Error)>)
 
void isWebProcessResponsive (std::function< void(bool isWebProcessResponsive)>)
 
void getMainResourceDataOfFrame (WebFrameProxy *, std::function< void(API::Data *, CallbackBase::Error)>)
 
void getResourceDataFromFrame (WebFrameProxy *, API::URL *, std::function< void(API::Data *, CallbackBase::Error)>)
 
void getRenderTreeExternalRepresentation (std::function< void(const String &, CallbackBase::Error)>)
 
void getSelectionOrContentsAsString (std::function< void(const String &, CallbackBase::Error)>)
 
void getSelectionAsWebArchiveData (std::function< void(API::Data *, CallbackBase::Error)>)
 
void getSourceForFrame (WebFrameProxy *, std::function< void(const String &, CallbackBase::Error)>)
 
void getWebArchiveOfFrame (WebFrameProxy *, std::function< void(API::Data *, CallbackBase::Error)>)
 
void runJavaScriptInMainFrame (const String &, std::function< void(API::SerializedScriptValue *, bool hadException, const WebCore::ExceptionDetails &, CallbackBase::Error)> callbackFunction)
 
void forceRepaint (PassRefPtr< VoidCallback >)
 
float headerHeight (WebFrameProxy *)
 
float footerHeight (WebFrameProxy *)
 
void drawHeader (WebFrameProxy *, const WebCore::FloatRect &)
 
void drawFooter (WebFrameProxy *, const WebCore::FloatRect &)
 
void receivedPolicyDecision (WebCore::PolicyAction, WebFrameProxy &, uint64_t listenerID, API::Navigation *navigationID, const WebsitePolicies &)
 
void backForwardRemovedItem (uint64_t itemID)
 
void processDidBecomeUnresponsive ()
 
void processDidBecomeResponsive ()
 
void processDidCrash ()
 
void willChangeProcessIsResponsive ()
 
void didChangeProcessIsResponsive ()
 
virtual void enterAcceleratedCompositingMode (const LayerTreeContext &)
 
virtual void exitAcceleratedCompositingMode ()
 
virtual void updateAcceleratedCompositingMode (const LayerTreeContext &)
 
void addEditCommand (WebEditCommandProxy *)
 
void removeEditCommand (WebEditCommandProxy *)
 
bool isValidEditCommand (WebEditCommandProxy *)
 
void registerEditCommand (PassRefPtr< WebEditCommandProxy >, UndoOrRedo)
 
WebProcessProxyprocess ()
 
pid_t processIdentifier () const
 
WebPreferencespreferences ()
 
void setPreferences (WebPreferences &)
 
WebPageGrouppageGroup ()
 
bool isValid () const
 
void preferencesDidChange ()
 
void didChooseFilesForOpenPanel (const Vector< String > &)
 
void didCancelForOpenPanel ()
 
WebPageCreationParameters creationParameters ()
 
void handleDownloadRequest (DownloadProxy *)
 
void advanceToNextMisspelling (bool startBeforeSelection)
 
void changeSpellingToWord (const String &word)
 
void setCanRunModal (bool)
 
bool canRunModal ()
 
void beginPrinting (WebFrameProxy *, const PrintInfo &)
 
void endPrinting ()
 
void computePagesForPrinting (WebFrameProxy *, const PrintInfo &, PassRefPtr< ComputedPagesCallback >)
 
PageLoadStatepageLoadState ()
 
void saveDataToFileInDownloadsFolder (const String &suggestedFilename, const String &mimeType, const String &originatingURLString, API::Data *)
 
void savePDFToFileInDownloadsFolder (const String &suggestedFilename, const String &originatingURLString, const IPC::DataReference &)
 
WebCore::IntRect visibleScrollerThumbRect () const
 
uint64_t renderTreeSize () const
 
void printMainFrame ()
 
void setMediaVolume (float)
 
void setMuted (WebCore::MediaProducer::MutedStateFlags)
 
void setMayStartMediaWhenInWindow (bool)
 
bool mayStartMediaWhenInWindow () const
 
NativeWebMouseEventcurrentlyProcessedMouseDownEvent () override
 
void setSuppressVisibilityUpdates (bool flag)
 
bool suppressVisibilityUpdates ()
 
void postMessageToInjectedBundle (const String &messageName, API::Object *messageBody)
 
WebCore::IntSize minimumLayoutSize () const
 
void setMinimumLayoutSize (const WebCore::IntSize &)
 
bool autoSizingShouldExpandToViewHeight () const
 
void setAutoSizingShouldExpandToViewHeight (bool)
 
void didReceiveAuthenticationChallengeProxy (uint64_t frameID, PassRefPtr< AuthenticationChallengeProxy >)
 
int64_t spellDocumentTag ()
 
void didFinishCheckingText (uint64_t requestID, const Vector< WebCore::TextCheckingResult > &)
 
void didCancelCheckingText (uint64_t requestID)
 
void connectionWillOpen (IPC::Connection &)
 
void webProcessWillShutDown ()
 
void processDidFinishLaunching ()
 
void didSaveToPageCache ()
 
void setScrollPinningBehavior (WebCore::ScrollPinningBehavior)
 
WebCore::ScrollPinningBehavior scrollPinningBehavior () const
 
void setOverlayScrollbarStyle (std::optional< WebCore::ScrollbarOverlayStyle >)
 
std::optional< WebCore::ScrollbarOverlayStyleoverlayScrollbarStyle () const
 
bool shouldRecordNavigationSnapshots () const
 
void setShouldRecordNavigationSnapshots (bool shouldRecordSnapshots)
 
void recordAutomaticNavigationSnapshot ()
 
void recordNavigationSnapshot (WebBackForwardListItem &)
 
void takeSnapshot (WebCore::IntRect, WebCore::IntSize bitmapSize, SnapshotOptions, std::function< void(const ShareableBitmap::Handle &, CallbackBase::Error)>)
 
void navigationGestureDidBegin ()
 
void navigationGestureWillEnd (bool willNavigate, WebBackForwardListItem &)
 
void navigationGestureDidEnd (bool willNavigate, WebBackForwardListItem &)
 
void navigationGestureDidEnd ()
 
void navigationGestureSnapshotWasRemoved ()
 
void willRecordNavigationSnapshot (WebBackForwardListItem &)
 
bool isShowingNavigationGestureSnapshot () const
 
bool isPlayingAudio () const
 
void isPlayingMediaDidChange (WebCore::MediaProducer::MediaStateFlags, uint64_t)
 
bool hasActiveAudioStream () const
 
bool hasActiveVideoStream () const
 
WebCore::MediaProducer::MediaStateFlags mediaStateFlags () const
 
void handleAutoplayEvent (uint32_t)
 
void getGuessesForWord (const String &word, const String &context, int32_t insertionPoint, Vector< String > &guesses)
 
void setShouldDispatchFakeMouseMoveEvents (bool)
 
void logDiagnosticMessage (const String &message, const String &description, WebCore::ShouldSample)
 
void logDiagnosticMessageWithResult (const String &message, const String &description, uint32_t result, WebCore::ShouldSample)
 
void logDiagnosticMessageWithValue (const String &message, const String &description, double value, unsigned significantFigures, WebCore::ShouldSample)
 
void logDiagnosticMessageWithEnhancedPrivacy (const String &message, const String &description, WebCore::ShouldSample)
 
void showValidationMessage (const WebCore::IntRect &anchorClientRect, const String &message)
 
void hideValidationMessage ()
 
void didChangeBackgroundColor ()
 
void didLayoutForCustomContentProvider ()
 
void clearWheelEventTestTrigger ()
 
void callAfterNextPresentationUpdate (std::function< void(CallbackBase::Error)>)
 
void didReachLayoutMilestone (uint32_t layoutMilestones)
 
void didRestoreScrollPosition ()
 
void getLoadDecisionForIcon (const WebCore::LinkIcon &, uint64_t callbackID)
 
void finishedLoadingIcon (uint64_t callbackIdentifier, const IPC::DataReference &)
 
void setFocus (bool focused)
 
void setWindowFrame (const WebCore::FloatRect &)
 
void getWindowFrame (WebCore::FloatRect &)
 
bool isResourceCachingDisabled () const
 
void setResourceCachingDisabled (bool)
 
WebCore::UserInterfaceLayoutDirection userInterfaceLayoutDirection ()
 
void setUserInterfaceLayoutDirection (WebCore::UserInterfaceLayoutDirection)
 
bool hasHadSelectionChangesFromUserInteraction () const
 
bool needsHiddenContentEditableQuirk () const
 
bool needsPlainTextQuirk () const
 
bool isAlwaysOnLoggingAllowed () const
 
void canAuthenticateAgainstProtectionSpace (uint64_t loaderID, uint64_t frameID, const WebCore::ProtectionSpace &)
 
WeakPtr< WebPageProxycreateWeakPtr () const
 
void isLoadingChanged ()
 
void clearUserMediaState ()
 
void setShouldSkipWaitingForPaintAfterNextViewDidMoveToWindow (bool shouldSkip)
 
- Public Member Functions inherited from API::ObjectImpl< API::Object::Type::Page >
virtual ~ObjectImpl ()
 
- Public Member Functions inherited from API::Object
virtual ~Object ()
 
- Public Member Functions inherited from IPC::MessageReceiver
virtual ~MessageReceiver ()
 
- Public Member Functions inherited from IPC::MessageSender
virtual ~MessageSender ()
 
template<typename U >
bool send (const U &message)
 
template<typename U >
bool send (const U &message, uint64_t destinationID, OptionSet< SendOption > sendOptions={ })
 
template<typename T >
bool sendSync (T &&message, typename T::Reply &&reply, Seconds timeout=Seconds::infinity(), OptionSet< SendSyncOption > sendSyncOptions={ })
 
template<typename T >
bool sendSync (T &&message, typename T::Reply &&reply, uint64_t destinationID, Seconds timeout=Seconds::infinity(), OptionSet< SendSyncOption > sendSyncOptions={ })
 

Static Public Member Functions

static Ref< WebPageProxycreate (PageClient &, WebProcessProxy &, uint64_t pageID, Ref< API::PageConfiguration > &&)
 
static String standardUserAgent (const String &applicationName=String())
 
- Static Public Member Functions inherited from API::Object
static voidwrap (API::Object *)
 
static API::Objectunwrap (void *)
 

Additional Inherited Members

- Static Public Attributes inherited from API::ObjectImpl< API::Object::Type::Page >
static const Type APIType
 
- Protected Member Functions inherited from API::ObjectImpl< API::Object::Type::Page >
 ObjectImpl ()
 
Type type () const override
 
- Protected Member Functions inherited from API::Object
 Object ()
 
- Protected Member Functions inherited from WebKit::WebPopupMenuProxy::Client
virtual ~Client ()
 

Member Enumeration Documentation

◆ ActivityStateChangeDispatchMode

Enumerator
Deferrable 
Immediate 

◆ UndoOrRedo

Enumerator
Undo 
Redo 

Constructor & Destructor Documentation

◆ ~WebPageProxy()

WebKit::WebPageProxy::~WebPageProxy ( )
virtual

Member Function Documentation

◆ accessibilitySettingsDidChange()

void WebKit::WebPageProxy::accessibilitySettingsDidChange ( )

◆ activityStateDidChange()

void WebKit::WebPageProxy::activityStateDidChange ( WebCore::ActivityState::Flags  mayHaveChanged,
bool  wantsSynchronousReply = false,
ActivityStateChangeDispatchMode  dispatchMode = ActivityStateChangeDispatchMode::Deferrable 
)

◆ addEditCommand()

void WebKit::WebPageProxy::addEditCommand ( WebEditCommandProxy command)

◆ addMIMETypeWithCustomContentProvider()

void WebKit::WebPageProxy::addMIMETypeWithCustomContentProvider ( const String mimeType)

◆ addPlatformLoadParameters()

void WebKit::WebPageProxy::addPlatformLoadParameters ( LoadParameters loadParameters)

◆ addsVisitedLinks()

bool WebKit::WebPageProxy::addsVisitedLinks ( ) const
inline

◆ advanceToNextMisspelling()

void WebKit::WebPageProxy::advanceToNextMisspelling ( bool  startBeforeSelection)

◆ applicationNameForUserAgent()

const String& WebKit::WebPageProxy::applicationNameForUserAgent ( ) const
inline

◆ areActiveDOMObjectsAndAnimationsSuspended()

bool WebKit::WebPageProxy::areActiveDOMObjectsAndAnimationsSuspended ( ) const
inline

◆ areScrollbarAnimationsSuppressed()

bool WebKit::WebPageProxy::areScrollbarAnimationsSuppressed ( ) const
inline

◆ autoSizingShouldExpandToViewHeight()

bool WebKit::WebPageProxy::autoSizingShouldExpandToViewHeight ( ) const
inline

◆ backForwardList()

WebBackForwardList& WebKit::WebPageProxy::backForwardList ( )
inline

◆ backForwardRemovedItem()

void WebKit::WebPageProxy::backForwardRemovedItem ( uint64_t  itemID)

◆ backgroundExtendsBeyondPage()

bool WebKit::WebPageProxy::backgroundExtendsBeyondPage ( ) const

◆ beginPrinting()

void WebKit::WebPageProxy::beginPrinting ( WebFrameProxy frame,
const PrintInfo printInfo 
)

◆ callAfterNextPresentationUpdate()

void WebKit::WebPageProxy::callAfterNextPresentationUpdate ( std::function< void(CallbackBase::Error)>  callback)

◆ canAuthenticateAgainstProtectionSpace()

void WebKit::WebPageProxy::canAuthenticateAgainstProtectionSpace ( uint64_t  loaderID,
uint64_t  frameID,
const WebCore::ProtectionSpace coreProtectionSpace 
)

◆ canDelete()

bool WebKit::WebPageProxy::canDelete ( ) const
inline

◆ canRunModal()

bool WebKit::WebPageProxy::canRunModal ( )

◆ canShowMIMEType()

bool WebKit::WebPageProxy::canShowMIMEType ( const String mimeType)

◆ centerSelectionInVisibleArea()

void WebKit::WebPageProxy::centerSelectionInVisibleArea ( )

◆ changeSpellingToWord()

void WebKit::WebPageProxy::changeSpellingToWord ( const String word)

◆ clearSelection()

void WebKit::WebPageProxy::clearSelection ( )

◆ clearTextIndicator()

void WebKit::WebPageProxy::clearTextIndicator ( )

◆ clearUserMediaState()

void WebKit::WebPageProxy::clearUserMediaState ( )

◆ clearWheelEventTestTrigger()

void WebKit::WebPageProxy::clearWheelEventTestTrigger ( )

◆ close()

void WebKit::WebPageProxy::close ( )

◆ closePage()

void WebKit::WebPageProxy::closePage ( bool  stopResponsivenessTimer)

◆ computePagesForPrinting()

void WebKit::WebPageProxy::computePagesForPrinting ( WebFrameProxy frame,
const PrintInfo printInfo,
PassRefPtr< ComputedPagesCallback prpCallback 
)

◆ configuration()

const API::PageConfiguration & WebKit::WebPageProxy::configuration ( ) const

◆ connectionWillOpen()

void WebKit::WebPageProxy::connectionWillOpen ( IPC::Connection connection)

◆ countStringMatches()

void WebKit::WebPageProxy::countStringMatches ( const String string,
FindOptions  options,
unsigned  maxMatchCount 
)

◆ create()

Ref< WebPageProxy > WebKit::WebPageProxy::create ( PageClient pageClient,
WebProcessProxy process,
uint64_t  pageID,
Ref< API::PageConfiguration > &&  configuration 
)
static

◆ createWeakPtr()

WeakPtr<WebPageProxy> WebKit::WebPageProxy::createWeakPtr ( ) const
inline

◆ creationParameters()

WebPageCreationParameters WebKit::WebPageProxy::creationParameters ( )

◆ currentlyProcessedMouseDownEvent()

NativeWebMouseEvent * WebKit::WebPageProxy::currentlyProcessedMouseDownEvent ( )
overridevirtual

◆ customTextEncodingName()

String WebKit::WebPageProxy::customTextEncodingName ( ) const
inline

◆ customUserAgent()

const String& WebKit::WebPageProxy::customUserAgent ( ) const
inline

◆ delegatesScrolling()

bool WebKit::WebPageProxy::delegatesScrolling ( ) const
inline

◆ deviceScaleFactor()

float WebKit::WebPageProxy::deviceScaleFactor ( ) const

◆ diagnosticLoggingClient()

API::DiagnosticLoggingClient& WebKit::WebPageProxy::diagnosticLoggingClient ( )
inline

◆ didCancelCheckingText()

void WebKit::WebPageProxy::didCancelCheckingText ( uint64_t  requestID)

◆ didCancelForOpenPanel()

void WebKit::WebPageProxy::didCancelForOpenPanel ( )

◆ didChangeBackForwardList()

void WebKit::WebPageProxy::didChangeBackForwardList ( WebBackForwardListItem addedItem,
Vector< RefPtr< WebBackForwardListItem >>  removed 
)

◆ didChangeBackgroundColor()

void WebKit::WebPageProxy::didChangeBackgroundColor ( )

◆ didChangeProcessIsResponsive()

void WebKit::WebPageProxy::didChangeProcessIsResponsive ( )

◆ didChooseFilesForOpenPanel()

void WebKit::WebPageProxy::didChooseFilesForOpenPanel ( const Vector< String > &  fileURLs)

◆ didCommitLayerTree()

void WebKit::WebPageProxy::didCommitLayerTree ( const WebKit::RemoteLayerTreeTransaction )

◆ didCountStringMatches()

void WebKit::WebPageProxy::didCountStringMatches ( const String string,
uint32_t  matchCount 
)

◆ didEnterFullscreen()

void WebKit::WebPageProxy::didEnterFullscreen ( )

◆ didExitFullscreen()

void WebKit::WebPageProxy::didExitFullscreen ( )

◆ didFailToFindString()

void WebKit::WebPageProxy::didFailToFindString ( const String string)

◆ didFindString()

void WebKit::WebPageProxy::didFindString ( const String string,
const Vector< WebCore::IntRect > &  matchRects,
uint32_t  matchCount,
int32_t  matchIndex 
)

◆ didFindStringMatches()

void WebKit::WebPageProxy::didFindStringMatches ( const String string,
const Vector< Vector< WebCore::IntRect >> &  matchRects,
int32_t  firstIndexAfterSelection 
)

◆ didFinishCheckingText()

void WebKit::WebPageProxy::didFinishCheckingText ( uint64_t  requestID,
const Vector< WebCore::TextCheckingResult > &  result 
)

◆ didGetImageForFindMatch()

void WebKit::WebPageProxy::didGetImageForFindMatch ( const ShareableBitmap::Handle contentImageHandle,
uint32_t  matchIndex 
)

◆ didLayoutForCustomContentProvider()

void WebKit::WebPageProxy::didLayoutForCustomContentProvider ( )

◆ didReachLayoutMilestone()

void WebKit::WebPageProxy::didReachLayoutMilestone ( uint32_t  layoutMilestones)

◆ didReceiveAuthenticationChallengeProxy()

void WebKit::WebPageProxy::didReceiveAuthenticationChallengeProxy ( uint64_t  frameID,
PassRefPtr< AuthenticationChallengeProxy prpAuthenticationChallenge 
)

◆ didRestoreScrollPosition()

void WebKit::WebPageProxy::didRestoreScrollPosition ( )

◆ didSaveToPageCache()

void WebKit::WebPageProxy::didSaveToPageCache ( )

◆ didUpdateActivityState()

void WebKit::WebPageProxy::didUpdateActivityState ( )
inline

◆ drawFooter()

void WebKit::WebPageProxy::drawFooter ( WebFrameProxy frame,
const WebCore::FloatRect rect 
)

◆ drawHeader()

void WebKit::WebPageProxy::drawHeader ( WebFrameProxy frame,
const WebCore::FloatRect rect 
)

◆ drawingArea()

DrawingAreaProxy* WebKit::WebPageProxy::drawingArea ( ) const
inline

◆ drawsBackground()

bool WebKit::WebPageProxy::drawsBackground ( ) const
inline

◆ editorState()

const EditorState& WebKit::WebPageProxy::editorState ( ) const
inline

◆ endPrinting()

void WebKit::WebPageProxy::endPrinting ( )

◆ enterAcceleratedCompositingMode()

void WebKit::WebPageProxy::enterAcceleratedCompositingMode ( const LayerTreeContext layerTreeContext)
virtual

◆ estimatedProgress()

double WebKit::WebPageProxy::estimatedProgress ( ) const

◆ executeEditCommand()

void WebKit::WebPageProxy::executeEditCommand ( const String commandName,
const String argument = String() 
)

◆ exitAcceleratedCompositingMode()

void WebKit::WebPageProxy::exitAcceleratedCompositingMode ( )
virtual

◆ findClient()

API::FindClient& WebKit::WebPageProxy::findClient ( )
inline

◆ findMatchesClient()

API::FindMatchesClient& WebKit::WebPageProxy::findMatchesClient ( )
inline

◆ findString()

void WebKit::WebPageProxy::findString ( const String string,
FindOptions  options,
unsigned  maxMatchCount 
)

◆ findStringMatches()

void WebKit::WebPageProxy::findStringMatches ( const String string,
FindOptions  options,
unsigned  maxMatchCount 
)

◆ finishedLoadingIcon()

void WebKit::WebPageProxy::finishedLoadingIcon ( uint64_t  callbackIdentifier,
const IPC::DataReference data 
)

◆ fixedLayoutSize()

const WebCore::IntSize& WebKit::WebPageProxy::fixedLayoutSize ( ) const
inline

◆ focusedFrame()

WebFrameProxy* WebKit::WebPageProxy::focusedFrame ( ) const
inline

◆ footerHeight()

float WebKit::WebPageProxy::footerHeight ( WebFrameProxy frame)

◆ forceRepaint()

void WebKit::WebPageProxy::forceRepaint ( PassRefPtr< VoidCallback prpCallback)

◆ frameSetLargestFrame()

WebFrameProxy* WebKit::WebPageProxy::frameSetLargestFrame ( ) const
inline

◆ fullscreenMayReturnToInline()

void WebKit::WebPageProxy::fullscreenMayReturnToInline ( )

◆ gapBetweenPages()

double WebKit::WebPageProxy::gapBetweenPages ( ) const
inline

◆ getBytecodeProfile()

void WebKit::WebPageProxy::getBytecodeProfile ( std::function< void(const String &, CallbackBase::Error)>  callbackFunction)

◆ getContentsAsString()

void WebKit::WebPageProxy::getContentsAsString ( std::function< void(const String &, CallbackBase::Error)>  callbackFunction)

◆ getGuessesForWord()

void WebKit::WebPageProxy::getGuessesForWord ( const String word,
const String context,
int32_t  insertionPoint,
Vector< String > &  guesses 
)

◆ getImageForFindMatch()

void WebKit::WebPageProxy::getImageForFindMatch ( int32_t  matchIndex)

◆ getLoadDecisionForIcon()

void WebKit::WebPageProxy::getLoadDecisionForIcon ( const WebCore::LinkIcon icon,
uint64_t  callbackID 
)

◆ getMainResourceDataOfFrame()

void WebKit::WebPageProxy::getMainResourceDataOfFrame ( WebFrameProxy frame,
std::function< void(API::Data *, CallbackBase::Error)>  callbackFunction 
)

◆ getRenderTreeExternalRepresentation()

void WebKit::WebPageProxy::getRenderTreeExternalRepresentation ( std::function< void(const String &, CallbackBase::Error)>  callbackFunction)

◆ getResourceDataFromFrame()

void WebKit::WebPageProxy::getResourceDataFromFrame ( WebFrameProxy frame,
API::URL resourceURL,
std::function< void(API::Data *, CallbackBase::Error)>  callbackFunction 
)

◆ getSamplingProfilerOutput()

void WebKit::WebPageProxy::getSamplingProfilerOutput ( std::function< void(const String &, CallbackBase::Error)>  callbackFunction)

◆ getSelectionAsWebArchiveData()

void WebKit::WebPageProxy::getSelectionAsWebArchiveData ( std::function< void(API::Data *, CallbackBase::Error)>  callbackFunction)

◆ getSelectionOrContentsAsString()

void WebKit::WebPageProxy::getSelectionOrContentsAsString ( std::function< void(const String &, CallbackBase::Error)>  callbackFunction)

◆ getSourceForFrame()

void WebKit::WebPageProxy::getSourceForFrame ( WebFrameProxy frame,
std::function< void(const String &, CallbackBase::Error)>  callbackFunction 
)

◆ getWebArchiveOfFrame()

void WebKit::WebPageProxy::getWebArchiveOfFrame ( WebFrameProxy frame,
std::function< void(API::Data *, CallbackBase::Error)>  callbackFunction 
)

◆ getWindowFrame()

void WebKit::WebPageProxy::getWindowFrame ( WebCore::FloatRect newWindowFrame)

◆ goBack()

RefPtr< API::Navigation > WebKit::WebPageProxy::goBack ( )

◆ goForward()

RefPtr< API::Navigation > WebKit::WebPageProxy::goForward ( )

◆ goToBackForwardItem()

RefPtr< API::Navigation > WebKit::WebPageProxy::goToBackForwardItem ( WebBackForwardListItem item)

◆ handleAutoplayEvent()

void WebKit::WebPageProxy::handleAutoplayEvent ( uint32_t  event)

◆ handleDownloadRequest()

void WebKit::WebPageProxy::handleDownloadRequest ( DownloadProxy download)

◆ handleKeyboardEvent()

void WebKit::WebPageProxy::handleKeyboardEvent ( const NativeWebKeyboardEvent event)

◆ handleMouseEvent()

void WebKit::WebPageProxy::handleMouseEvent ( const NativeWebMouseEvent event)

◆ handleWheelEvent()

void WebKit::WebPageProxy::handleWheelEvent ( const NativeWebWheelEvent event)

◆ hasActiveAudioStream()

bool WebKit::WebPageProxy::hasActiveAudioStream ( ) const
inline

◆ hasActiveVideoStream()

bool WebKit::WebPageProxy::hasActiveVideoStream ( ) const
inline

◆ hasHadSelectionChangesFromUserInteraction()

bool WebKit::WebPageProxy::hasHadSelectionChangesFromUserInteraction ( ) const
inline

◆ hasHorizontalScrollbar()

bool WebKit::WebPageProxy::hasHorizontalScrollbar ( ) const
inline

◆ hasSelectedRange()

bool WebKit::WebPageProxy::hasSelectedRange ( ) const
inline

◆ hasVerticalScrollbar()

bool WebKit::WebPageProxy::hasVerticalScrollbar ( ) const
inline

◆ headerHeight()

float WebKit::WebPageProxy::headerHeight ( WebFrameProxy frame)

◆ hideFindUI()

void WebKit::WebPageProxy::hideFindUI ( )

◆ hideValidationMessage()

void WebKit::WebPageProxy::hideValidationMessage ( )

◆ horizontalRubberBandingIsEnabled()

bool WebKit::WebPageProxy::horizontalRubberBandingIsEnabled ( ) const

◆ iconLoadingClient()

API::IconLoadingClient& WebKit::WebPageProxy::iconLoadingClient ( )
inline

◆ initializeWebPage()

void WebKit::WebPageProxy::initializeWebPage ( )

◆ injectedBundleClient()

WebPageInjectedBundleClient* WebKit::WebPageProxy::injectedBundleClient ( )
inline

◆ inspector()

WebInspectorProxy * WebKit::WebPageProxy::inspector ( ) const

◆ isAlwaysOnLoggingAllowed()

bool WebKit::WebPageProxy::isAlwaysOnLoggingAllowed ( ) const

◆ isClosed()

bool WebKit::WebPageProxy::isClosed ( ) const
inline

◆ isContentEditable()

bool WebKit::WebPageProxy::isContentEditable ( ) const
inline

◆ isControlledByAutomation()

bool WebKit::WebPageProxy::isControlledByAutomation ( ) const
inline

◆ isEditable()

bool WebKit::WebPageProxy::isEditable ( ) const
inline

◆ isInWindow()

bool WebKit::WebPageProxy::isInWindow ( ) const
inline

◆ isLoadingChanged()

void WebKit::WebPageProxy::isLoadingChanged ( )
inline

◆ isPinnedToBottomSide()

bool WebKit::WebPageProxy::isPinnedToBottomSide ( ) const
inline

◆ isPinnedToLeftSide()

bool WebKit::WebPageProxy::isPinnedToLeftSide ( ) const
inline

◆ isPinnedToRightSide()

bool WebKit::WebPageProxy::isPinnedToRightSide ( ) const
inline

◆ isPinnedToTopSide()

bool WebKit::WebPageProxy::isPinnedToTopSide ( ) const
inline

◆ isPlayingAudio()

bool WebKit::WebPageProxy::isPlayingAudio ( ) const
inline

◆ isPlayingMediaDidChange()

void WebKit::WebPageProxy::isPlayingMediaDidChange ( WebCore::MediaProducer::MediaStateFlags  state,
uint64_t  sourceElementID 
)

◆ isResourceCachingDisabled()

bool WebKit::WebPageProxy::isResourceCachingDisabled ( ) const
inline

◆ isShowingNavigationGestureSnapshot()

bool WebKit::WebPageProxy::isShowingNavigationGestureSnapshot ( ) const
inline

◆ isUsingHighPerformanceWebGL()

bool WebKit::WebPageProxy::isUsingHighPerformanceWebGL ( ) const
inline

◆ isValid()

bool WebKit::WebPageProxy::isValid ( ) const

◆ isValidEditCommand()

bool WebKit::WebPageProxy::isValidEditCommand ( WebEditCommandProxy command)

◆ isViewVisible()

bool WebKit::WebPageProxy::isViewVisible ( ) const
inline

◆ isViewWindowActive()

bool WebKit::WebPageProxy::isViewWindowActive ( ) const

◆ isWebProcessResponsive()

void WebKit::WebPageProxy::isWebProcessResponsive ( std::function< void(bool isWebProcessResponsive)>  callbackFunction)

◆ layerHostingModeDidChange()

void WebKit::WebPageProxy::layerHostingModeDidChange ( )

◆ layerTreeCommitComplete()

void WebKit::WebPageProxy::layerTreeCommitComplete ( )

◆ listenForLayoutMilestones()

void WebKit::WebPageProxy::listenForLayoutMilestones ( WebCore::LayoutMilestones  milestones)

◆ loadAlternateHTMLString()

void WebKit::WebPageProxy::loadAlternateHTMLString ( const String htmlString,
const String baseURL,
const String unreachableURL,
API::Object userData = nullptr 
)

◆ loadData()

RefPtr< API::Navigation > WebKit::WebPageProxy::loadData ( API::Data data,
const String MIMEType,
const String encoding,
const String baseURL,
API::Object userData = nullptr 
)

◆ loadFile()

RefPtr< API::Navigation > WebKit::WebPageProxy::loadFile ( const String fileURL,
const String resourceDirectoryURL,
API::Object userData = nullptr 
)

◆ loadHTMLString()

RefPtr< API::Navigation > WebKit::WebPageProxy::loadHTMLString ( const String htmlString,
const String baseURL,
API::Object userData = nullptr 
)

◆ loadPlainTextString()

void WebKit::WebPageProxy::loadPlainTextString ( const String string,
API::Object userData = nullptr 
)

◆ loadRequest()

RefPtr< API::Navigation > WebKit::WebPageProxy::loadRequest ( const WebCore::ResourceRequest request,
WebCore::ShouldOpenExternalURLsPolicy  shouldOpenExternalURLsPolicy = WebCore::ShouldOpenExternalURLsPolicy::ShouldAllowExternalSchemes,
API::Object userData = nullptr 
)

◆ loadWebArchiveData()

void WebKit::WebPageProxy::loadWebArchiveData ( API::Data webArchiveData,
API::Object userData = nullptr 
)

◆ logDiagnosticMessage()

void WebKit::WebPageProxy::logDiagnosticMessage ( const String message,
const String description,
WebCore::ShouldSample  shouldSample 
)

◆ logDiagnosticMessageWithEnhancedPrivacy()

void WebKit::WebPageProxy::logDiagnosticMessageWithEnhancedPrivacy ( const String message,
const String description,
WebCore::ShouldSample  shouldSample 
)

◆ logDiagnosticMessageWithResult()

void WebKit::WebPageProxy::logDiagnosticMessageWithResult ( const String message,
const String description,
uint32_t  result,
WebCore::ShouldSample  shouldSample 
)

◆ logDiagnosticMessageWithValue()

void WebKit::WebPageProxy::logDiagnosticMessageWithValue ( const String message,
const String description,
double  value,
unsigned  significantFigures,
WebCore::ShouldSample  shouldSample 
)

◆ mainFrame()

WebFrameProxy* WebKit::WebPageProxy::mainFrame ( ) const
inline

◆ maintainsInactiveSelection()

bool WebKit::WebPageProxy::maintainsInactiveSelection ( ) const
inline

◆ mayStartMediaWhenInWindow()

bool WebKit::WebPageProxy::mayStartMediaWhenInWindow ( ) const
inline

◆ mediaStateFlags()

WebCore::MediaProducer::MediaStateFlags WebKit::WebPageProxy::mediaStateFlags ( ) const
inline

◆ minimumLayoutSize()

WebCore::IntSize WebKit::WebPageProxy::minimumLayoutSize ( ) const
inline

◆ navigateToPDFLinkWithSimulatedClick()

void WebKit::WebPageProxy::navigateToPDFLinkWithSimulatedClick ( const String url,
WebCore::IntPoint  documentPoint,
WebCore::IntPoint  screenPoint 
)

◆ navigationGestureDidBegin()

void WebKit::WebPageProxy::navigationGestureDidBegin ( )

◆ navigationGestureDidEnd() [1/2]

void WebKit::WebPageProxy::navigationGestureDidEnd ( bool  willNavigate,
WebBackForwardListItem item 
)

◆ navigationGestureDidEnd() [2/2]

void WebKit::WebPageProxy::navigationGestureDidEnd ( )

◆ navigationGestureSnapshotWasRemoved()

void WebKit::WebPageProxy::navigationGestureSnapshotWasRemoved ( )

◆ navigationGestureWillEnd()

void WebKit::WebPageProxy::navigationGestureWillEnd ( bool  willNavigate,
WebBackForwardListItem item 
)

◆ navigationState()

WebNavigationState& WebKit::WebPageProxy::navigationState ( )
inline

◆ needsHiddenContentEditableQuirk()

bool WebKit::WebPageProxy::needsHiddenContentEditableQuirk ( ) const
inline

◆ needsPlainTextQuirk()

bool WebKit::WebPageProxy::needsPlainTextQuirk ( ) const
inline

◆ overlayScrollbarStyle()

std::optional<WebCore::ScrollbarOverlayStyle> WebKit::WebPageProxy::overlayScrollbarStyle ( ) const
inline

◆ pageCount()

unsigned WebKit::WebPageProxy::pageCount ( ) const
inline

◆ pageExtendedBackgroundColor()

WebCore::Color WebKit::WebPageProxy::pageExtendedBackgroundColor ( ) const
inline

◆ pageGroup()

WebPageGroup& WebKit::WebPageProxy::pageGroup ( )
inline

◆ pageID()

uint64_t WebKit::WebPageProxy::pageID ( ) const
inline

◆ pageLength()

double WebKit::WebPageProxy::pageLength ( ) const
inline

◆ pageLoadState()

PageLoadState& WebKit::WebPageProxy::pageLoadState ( )
inline

◆ pageScaleFactor()

double WebKit::WebPageProxy::pageScaleFactor ( ) const

◆ pageScaleFactorDidChange()

void WebKit::WebPageProxy::pageScaleFactorDidChange ( double  scaleFactor)

◆ pageZoomFactor()

double WebKit::WebPageProxy::pageZoomFactor ( ) const

◆ paginationBehavesLikeColumns()

bool WebKit::WebPageProxy::paginationBehavesLikeColumns ( ) const
inline

◆ paginationLineGridEnabled()

bool WebKit::WebPageProxy::paginationLineGridEnabled ( ) const
inline

◆ paginationMode()

WebCore::Pagination::Mode WebKit::WebPageProxy::paginationMode ( ) const
inline

◆ pluginScaleFactorDidChange()

void WebKit::WebPageProxy::pluginScaleFactorDidChange ( double  pluginScaleFactor)

◆ pluginZoomFactorDidChange()

void WebKit::WebPageProxy::pluginZoomFactorDidChange ( double  pluginZoomFactor)

◆ postMessageToInjectedBundle()

void WebKit::WebPageProxy::postMessageToInjectedBundle ( const String messageName,
API::Object messageBody 
)

◆ preferences()

WebPreferences& WebKit::WebPageProxy::preferences ( )
inline

◆ preferencesDidChange()

void WebKit::WebPageProxy::preferencesDidChange ( )

◆ printMainFrame()

void WebKit::WebPageProxy::printMainFrame ( )

◆ process()

WebProcessProxy& WebKit::WebPageProxy::process ( )
inline

◆ processDidBecomeResponsive()

void WebKit::WebPageProxy::processDidBecomeResponsive ( )

◆ processDidBecomeUnresponsive()

void WebKit::WebPageProxy::processDidBecomeUnresponsive ( )

◆ processDidCrash()

void WebKit::WebPageProxy::processDidCrash ( )

◆ processDidFinishLaunching()

void WebKit::WebPageProxy::processDidFinishLaunching ( )

◆ processIdentifier()

pid_t WebKit::WebPageProxy::processIdentifier ( ) const

◆ receivedPolicyDecision()

void WebKit::WebPageProxy::receivedPolicyDecision ( WebCore::PolicyAction  action,
WebFrameProxy frame,
uint64_t  listenerID,
API::Navigation navigationID,
const WebsitePolicies websitePolicies 
)

◆ recordAutomaticNavigationSnapshot()

void WebKit::WebPageProxy::recordAutomaticNavigationSnapshot ( )

◆ recordNavigationSnapshot()

void WebKit::WebPageProxy::recordNavigationSnapshot ( WebBackForwardListItem item)

◆ registerEditCommand()

void WebKit::WebPageProxy::registerEditCommand ( PassRefPtr< WebEditCommandProxy commandProxy,
UndoOrRedo  undoOrRedo 
)

◆ reload()

RefPtr< API::Navigation > WebKit::WebPageProxy::reload ( bool  reloadFromOrigin,
bool  contentBlockersEnabled 
)

◆ removeEditCommand()

void WebKit::WebPageProxy::removeEditCommand ( WebEditCommandProxy command)

◆ renderTreeSize()

uint64_t WebKit::WebPageProxy::renderTreeSize ( ) const
inline

◆ requestScroll()

void WebKit::WebPageProxy::requestScroll ( const WebCore::FloatPoint scrollPosition,
const WebCore::IntPoint scrollOrigin,
bool  isProgrammaticScroll 
)

◆ restoreFromSessionState()

RefPtr< API::Navigation > WebKit::WebPageProxy::restoreFromSessionState ( SessionState  sessionState,
bool  navigate 
)

◆ restoreSelectionInFocusedEditableElement()

void WebKit::WebPageProxy::restoreSelectionInFocusedEditableElement ( )

◆ resumeActiveDOMObjectsAndAnimations()

void WebKit::WebPageProxy::resumeActiveDOMObjectsAndAnimations ( )

◆ rubberBandsAtBottom()

bool WebKit::WebPageProxy::rubberBandsAtBottom ( ) const

◆ rubberBandsAtLeft()

bool WebKit::WebPageProxy::rubberBandsAtLeft ( ) const

◆ rubberBandsAtRight()

bool WebKit::WebPageProxy::rubberBandsAtRight ( ) const

◆ rubberBandsAtTop()

bool WebKit::WebPageProxy::rubberBandsAtTop ( ) const

◆ runJavaScriptInMainFrame()

void WebKit::WebPageProxy::runJavaScriptInMainFrame ( const String ,
std::function< void(API::SerializedScriptValue *, bool hadException, const WebCore::ExceptionDetails &, CallbackBase::Error)>  callbackFunction 
)

◆ saveDataToFileInDownloadsFolder()

void WebKit::WebPageProxy::saveDataToFileInDownloadsFolder ( const String suggestedFilename,
const String mimeType,
const String originatingURLString,
API::Data data 
)

◆ savePDFToFileInDownloadsFolder()

void WebKit::WebPageProxy::savePDFToFileInDownloadsFolder ( const String suggestedFilename,
const String originatingURLString,
const IPC::DataReference dataReference 
)

◆ scalePage()

void WebKit::WebPageProxy::scalePage ( double  scale,
const WebCore::IntPoint origin 
)

◆ scalePageInViewCoordinates()

void WebKit::WebPageProxy::scalePageInViewCoordinates ( double  scale,
const WebCore::IntPoint centerInViewCoordinates 
)

◆ scaleView()

void WebKit::WebPageProxy::scaleView ( double  scale)

◆ scrollBy()

void WebKit::WebPageProxy::scrollBy ( WebCore::ScrollDirection  direction,
WebCore::ScrollGranularity  granularity 
)

◆ scrollPinningBehavior()

WebCore::ScrollPinningBehavior WebKit::WebPageProxy::scrollPinningBehavior ( ) const
inline

◆ selectFindMatch()

void WebKit::WebPageProxy::selectFindMatch ( int32_t  matchIndex)

◆ sessionID()

WebCore::SessionID WebKit::WebPageProxy::sessionID ( ) const
inline

◆ sessionState()

SessionState WebKit::WebPageProxy::sessionState ( const std::function< bool(WebBackForwardListItem &)> &  filter = nullptr) const

◆ setAddsVisitedLinks()

void WebKit::WebPageProxy::setAddsVisitedLinks ( bool  addsVisitedLinks)
inline

◆ setApplicationNameForUserAgent()

void WebKit::WebPageProxy::setApplicationNameForUserAgent ( const String applicationName)

◆ setAutoSizingShouldExpandToViewHeight()

void WebKit::WebPageProxy::setAutoSizingShouldExpandToViewHeight ( bool  shouldExpand)

◆ setBackgroundExtendsBeyondPage()

void WebKit::WebPageProxy::setBackgroundExtendsBeyondPage ( bool  backgroundExtendsBeyondPage)

◆ setCanRunModal()

void WebKit::WebPageProxy::setCanRunModal ( bool  canRunModal)

◆ setControlledByAutomation()

void WebKit::WebPageProxy::setControlledByAutomation ( bool  controlled)

◆ setCustomDeviceScaleFactor()

void WebKit::WebPageProxy::setCustomDeviceScaleFactor ( float  customScaleFactor)

◆ setCustomTextEncodingName()

void WebKit::WebPageProxy::setCustomTextEncodingName ( const String encodingName)

◆ setCustomUserAgent()

void WebKit::WebPageProxy::setCustomUserAgent ( const String customUserAgent)

◆ setDelegatesScrolling()

void WebKit::WebPageProxy::setDelegatesScrolling ( bool  delegatesScrolling)
inline

◆ setDiagnosticLoggingClient()

void WebKit::WebPageProxy::setDiagnosticLoggingClient ( std::unique_ptr< API::DiagnosticLoggingClient diagnosticLoggingClient)

◆ setDrawsBackground()

void WebKit::WebPageProxy::setDrawsBackground ( bool  drawsBackground)

◆ setEditable()

void WebKit::WebPageProxy::setEditable ( bool  editable)

◆ setEnableHorizontalRubberBanding()

void WebKit::WebPageProxy::setEnableHorizontalRubberBanding ( bool  enableHorizontalRubberBanding)

◆ setEnableVerticalRubberBanding()

void WebKit::WebPageProxy::setEnableVerticalRubberBanding ( bool  enableVerticalRubberBanding)

◆ setFindClient()

void WebKit::WebPageProxy::setFindClient ( std::unique_ptr< API::FindClient findClient)

◆ setFindMatchesClient()

void WebKit::WebPageProxy::setFindMatchesClient ( std::unique_ptr< API::FindMatchesClient findMatchesClient)

◆ setFixedLayoutSize()

void WebKit::WebPageProxy::setFixedLayoutSize ( const WebCore::IntSize size)

◆ setFocus()

void WebKit::WebPageProxy::setFocus ( bool  focused)

◆ setFormClient()

void WebKit::WebPageProxy::setFormClient ( std::unique_ptr< API::FormClient formClient)

◆ setGapBetweenPages()

void WebKit::WebPageProxy::setGapBetweenPages ( double  gap)

◆ setHistoryClient()

void WebKit::WebPageProxy::setHistoryClient ( std::unique_ptr< API::HistoryClient historyClient)

◆ setIconLoadingClient()

void WebKit::WebPageProxy::setIconLoadingClient ( std::unique_ptr< API::IconLoadingClient iconLoadingClient)

◆ setInitialFocus()

void WebKit::WebPageProxy::setInitialFocus ( bool  forward,
bool  isKeyboardEventValid,
const WebKeyboardEvent keyboardEvent,
std::function< void(CallbackBase::Error)>  callbackFunction 
)

◆ setInjectedBundleClient()

void WebKit::WebPageProxy::setInjectedBundleClient ( const WKPageInjectedBundleClientBase client)

◆ setIntrinsicDeviceScaleFactor()

void WebKit::WebPageProxy::setIntrinsicDeviceScaleFactor ( float  scaleFactor)

◆ setIsUsingHighPerformanceWebGL()

void WebKit::WebPageProxy::setIsUsingHighPerformanceWebGL ( bool  value)
inline

◆ setLoaderClient()

void WebKit::WebPageProxy::setLoaderClient ( std::unique_ptr< API::LoaderClient loaderClient)

◆ setMaintainsInactiveSelection()

void WebKit::WebPageProxy::setMaintainsInactiveSelection ( bool  newValue)

◆ setMayStartMediaWhenInWindow()

void WebKit::WebPageProxy::setMayStartMediaWhenInWindow ( bool  mayStartMedia)

◆ setMediaVolume()

void WebKit::WebPageProxy::setMediaVolume ( float  volume)

◆ setMinimumLayoutSize()

void WebKit::WebPageProxy::setMinimumLayoutSize ( const WebCore::IntSize minimumLayoutSize)

◆ setMuted()

void WebKit::WebPageProxy::setMuted ( WebCore::MediaProducer::MutedStateFlags  state)

◆ setNavigationClient()

void WebKit::WebPageProxy::setNavigationClient ( std::unique_ptr< API::NavigationClient navigationClient)

◆ setOverlayScrollbarStyle()

void WebKit::WebPageProxy::setOverlayScrollbarStyle ( std::optional< WebCore::ScrollbarOverlayStyle scrollbarStyle)

◆ setPageAndTextZoomFactors()

void WebKit::WebPageProxy::setPageAndTextZoomFactors ( double  pageZoomFactor,
double  textZoomFactor 
)

◆ setPageLength()

void WebKit::WebPageProxy::setPageLength ( double  pageLength)

◆ setPageZoomFactor()

void WebKit::WebPageProxy::setPageZoomFactor ( double  zoomFactor)

◆ setPaginationBehavesLikeColumns()

void WebKit::WebPageProxy::setPaginationBehavesLikeColumns ( bool  behavesLikeColumns)

◆ setPaginationLineGridEnabled()

void WebKit::WebPageProxy::setPaginationLineGridEnabled ( bool  lineGridEnabled)

◆ setPaginationMode()

void WebKit::WebPageProxy::setPaginationMode ( WebCore::Pagination::Mode  mode)

◆ setPolicyClient()

void WebKit::WebPageProxy::setPolicyClient ( std::unique_ptr< API::PolicyClient policyClient)

◆ setPreferences()

void WebKit::WebPageProxy::setPreferences ( WebPreferences preferences)

◆ setResourceCachingDisabled()

void WebKit::WebPageProxy::setResourceCachingDisabled ( bool  disabled)

◆ setRubberBandsAtBottom()

void WebKit::WebPageProxy::setRubberBandsAtBottom ( bool  rubberBandsAtBottom)

◆ setRubberBandsAtLeft()

void WebKit::WebPageProxy::setRubberBandsAtLeft ( bool  rubberBandsAtLeft)

◆ setRubberBandsAtRight()

void WebKit::WebPageProxy::setRubberBandsAtRight ( bool  rubberBandsAtRight)

◆ setRubberBandsAtTop()

void WebKit::WebPageProxy::setRubberBandsAtTop ( bool  rubberBandsAtTop)

◆ setScrollPinningBehavior()

void WebKit::WebPageProxy::setScrollPinningBehavior ( WebCore::ScrollPinningBehavior  pinning)

◆ setShouldDispatchFakeMouseMoveEvents()

void WebKit::WebPageProxy::setShouldDispatchFakeMouseMoveEvents ( bool  shouldDispatchFakeMouseMoveEvents)

◆ setShouldRecordNavigationSnapshots()

void WebKit::WebPageProxy::setShouldRecordNavigationSnapshots ( bool  shouldRecordSnapshots)
inline

◆ setShouldScaleViewToFitDocument()

void WebKit::WebPageProxy::setShouldScaleViewToFitDocument ( bool  shouldScaleViewToFitDocument)

◆ setShouldSkipWaitingForPaintAfterNextViewDidMoveToWindow()

void WebKit::WebPageProxy::setShouldSkipWaitingForPaintAfterNextViewDidMoveToWindow ( bool  shouldSkip)
inline

◆ setShouldUseImplicitRubberBandControl()

void WebKit::WebPageProxy::setShouldUseImplicitRubberBandControl ( bool  shouldUseImplicitRubberBandControl)
inline

◆ setSuppressScrollbarAnimations()

void WebKit::WebPageProxy::setSuppressScrollbarAnimations ( bool  suppressAnimations)

◆ setSuppressVisibilityUpdates()

void WebKit::WebPageProxy::setSuppressVisibilityUpdates ( bool  flag)

◆ setTextIndicator()

void WebKit::WebPageProxy::setTextIndicator ( const WebCore::TextIndicatorData indicatorData,
uint64_t  lifetime = 0 
)

◆ setTextIndicatorAnimationProgress()

void WebKit::WebPageProxy::setTextIndicatorAnimationProgress ( float  progress)

◆ setTextZoomFactor()

void WebKit::WebPageProxy::setTextZoomFactor ( double  zoomFactor)

◆ setTopContentInset()

void WebKit::WebPageProxy::setTopContentInset ( float  contentInset)

◆ setUIClient()

void WebKit::WebPageProxy::setUIClient ( std::unique_ptr< API::UIClient uiClient)

◆ setUnderlayColor()

void WebKit::WebPageProxy::setUnderlayColor ( const WebCore::Color color)

◆ setUseFixedLayout()

void WebKit::WebPageProxy::setUseFixedLayout ( bool  fixed)

◆ setUserInterfaceLayoutDirection()

void WebKit::WebPageProxy::setUserInterfaceLayoutDirection ( WebCore::UserInterfaceLayoutDirection  userInterfaceLayoutDirection)

◆ setViewNeedsDisplay()

void WebKit::WebPageProxy::setViewNeedsDisplay ( const WebCore::Region region)

◆ setWindowFrame()

void WebKit::WebPageProxy::setWindowFrame ( const WebCore::FloatRect newWindowFrame)

◆ shouldKeepCurrentBackForwardListItemInList()

bool WebKit::WebPageProxy::shouldKeepCurrentBackForwardListItemInList ( WebBackForwardListItem item)

◆ shouldRecordNavigationSnapshots()

bool WebKit::WebPageProxy::shouldRecordNavigationSnapshots ( ) const
inline

◆ shouldUseImplicitRubberBandControl()

bool WebKit::WebPageProxy::shouldUseImplicitRubberBandControl ( ) const
inline

◆ showValidationMessage()

void WebKit::WebPageProxy::showValidationMessage ( const WebCore::IntRect anchorClientRect,
const String message 
)

◆ spellDocumentTag()

int64_t WebKit::WebPageProxy::spellDocumentTag ( )

◆ standardUserAgent()

String WebKit::WebPageProxy::standardUserAgent ( const String applicationName = String())
static

◆ stopLoading()

void WebKit::WebPageProxy::stopLoading ( )

◆ supportsTextEncoding()

bool WebKit::WebPageProxy::supportsTextEncoding ( ) const

◆ supportsTextZoom()

bool WebKit::WebPageProxy::supportsTextZoom ( ) const

◆ suppressVisibilityUpdates()

bool WebKit::WebPageProxy::suppressVisibilityUpdates ( )
inline

◆ suspendActiveDOMObjectsAndAnimations()

void WebKit::WebPageProxy::suspendActiveDOMObjectsAndAnimations ( )

◆ takeSnapshot()

void WebKit::WebPageProxy::takeSnapshot ( WebCore::IntRect  rect,
WebCore::IntSize  bitmapSize,
SnapshotOptions  options,
std::function< void(const ShareableBitmap::Handle &, CallbackBase::Error)>  callbackFunction 
)

◆ terminateProcess()

void WebKit::WebPageProxy::terminateProcess ( )

◆ textZoomFactor()

double WebKit::WebPageProxy::textZoomFactor ( ) const
inline

◆ toolTip()

const String& WebKit::WebPageProxy::toolTip ( ) const
inline

◆ topContentInset()

float WebKit::WebPageProxy::topContentInset ( ) const
inline

◆ tryClose()

bool WebKit::WebPageProxy::tryClose ( )

◆ tryRestoreScrollPosition()

void WebKit::WebPageProxy::tryRestoreScrollPosition ( )

◆ uiClient()

API::UIClient& WebKit::WebPageProxy::uiClient ( )
inline

◆ underlayColor()

WebCore::Color WebKit::WebPageProxy::underlayColor ( ) const
inline

◆ updateAcceleratedCompositingMode()

void WebKit::WebPageProxy::updateAcceleratedCompositingMode ( const LayerTreeContext layerTreeContext)
virtual

◆ updateLayoutViewportParameters()

bool WebKit::WebPageProxy::updateLayoutViewportParameters ( const WebKit::RemoteLayerTreeTransaction )

◆ updateWebsitePolicies()

void WebKit::WebPageProxy::updateWebsitePolicies ( const WebsitePolicies websitePolicies)

◆ useFixedLayout()

bool WebKit::WebPageProxy::useFixedLayout ( ) const
inline

◆ userAgent()

const String& WebKit::WebPageProxy::userAgent ( ) const
inline

◆ userInterfaceLayoutDirection()

WebCore::UserInterfaceLayoutDirection WebKit::WebPageProxy::userInterfaceLayoutDirection ( )

◆ validateCommand()

void WebKit::WebPageProxy::validateCommand ( const String commandName,
std::function< void(const String &, bool, int32_t, CallbackBase::Error)>  callbackFunction 
)

◆ verticalRubberBandingIsEnabled()

bool WebKit::WebPageProxy::verticalRubberBandingIsEnabled ( ) const

◆ viewScaleFactor()

double WebKit::WebPageProxy::viewScaleFactor ( ) const
inline

◆ viewSize()

IntSize WebKit::WebPageProxy::viewSize ( ) const

◆ viewWillEndLiveResize()

void WebKit::WebPageProxy::viewWillEndLiveResize ( )

◆ viewWillStartLiveResize()

void WebKit::WebPageProxy::viewWillStartLiveResize ( )

◆ visibleScrollerThumbRect()

WebCore::IntRect WebKit::WebPageProxy::visibleScrollerThumbRect ( ) const
inline

◆ waitForDidUpdateActivityState()

void WebKit::WebPageProxy::waitForDidUpdateActivityState ( )

◆ webProcessWillShutDown()

void WebKit::WebPageProxy::webProcessWillShutDown ( )

◆ websiteDataStore()

WebsiteDataStore& WebKit::WebPageProxy::websiteDataStore ( )
inline

◆ willChangeProcessIsResponsive()

void WebKit::WebPageProxy::willChangeProcessIsResponsive ( )

◆ willGoToBackForwardListItem()

void WebKit::WebPageProxy::willGoToBackForwardListItem ( uint64_t  itemID,
const UserData userData 
)

◆ willHandleHorizontalScrollEvents()

bool WebKit::WebPageProxy::willHandleHorizontalScrollEvents ( ) const

◆ willRecordNavigationSnapshot()

void WebKit::WebPageProxy::willRecordNavigationSnapshot ( WebBackForwardListItem item)

◆ windowScreenDidChange()

void WebKit::WebPageProxy::windowScreenDidChange ( WebCore::PlatformDisplayID  displayID)

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