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

#include <Internals.h>

Inheritance diagram for WebCore::Internals:
WTF::RefCounted< Internals > WebCore::ContextDestructionObserver WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Types

enum  CachePolicy { CachePolicy::UseProtocolCachePolicy, CachePolicy::ReloadIgnoringCacheData, CachePolicy::ReturnCacheDataElseLoad, CachePolicy::ReturnCacheDataDontLoad }
 
enum  ResourceLoadPriority {
  ResourceLoadPriority::ResourceLoadPriorityVeryLow, ResourceLoadPriority::ResourceLoadPriorityLow, ResourceLoadPriority::ResourceLoadPriorityMedium, ResourceLoadPriority::ResourceLoadPriorityHigh,
  ResourceLoadPriority::ResourceLoadPriorityVeryHigh
}
 
enum  EventThrottlingBehavior { Responsive, Unresponsive }
 
enum  AutoFillButtonType { AutoFillButtonType::AutoFillButtonTypeNone, AutoFillButtonType::AutoFillButtonTypeContacts, AutoFillButtonType::AutoFillButtonTypeCredentials }
 
enum  {
  LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1, LAYER_TREE_INCLUDES_TILE_CACHES = 2, LAYER_TREE_INCLUDES_REPAINT_RECTS = 4, LAYER_TREE_INCLUDES_PAINTING_PHASES = 8,
  LAYER_TREE_INCLUDES_CONTENT_LAYERS = 16, LAYER_TREE_INCLUDES_ACCELERATES_DRAWING = 32
}
 
enum  { DISPLAY_LIST_INCLUDES_PLATFORM_OPERATIONS = 1 }
 
enum  PageOverlayType { PageOverlayType::View, PageOverlayType::Document }
 
enum  UserInterfaceLayoutDirection { UserInterfaceLayoutDirection::LTR, UserInterfaceLayoutDirection::RTL }
 
enum  BaseWritingDirection { BaseWritingDirection::Natural, BaseWritingDirection::Ltr, BaseWritingDirection::Rtl }
 

Public Member Functions

virtual ~Internals ()
 
ExceptionOr< StringelementRenderTreeAsText (Element &)
 
bool hasPausedImageAnimations (Element &)
 
String address (Node &)
 
bool nodeNeedsStyleRecalc (Node &)
 
String styleChangeType (Node &)
 
String description (JSC::JSValue)
 
bool isPreloaded (const String &url)
 
bool isLoadingFromMemoryCache (const String &url)
 
String xhrResponseSource (XMLHttpRequest &)
 
bool isSharingStyleSheetContents (HTMLLinkElement &, HTMLLinkElement &)
 
bool isStyleSheetLoadingSubresources (HTMLLinkElement &)
 
void setOverrideCachePolicy (CachePolicy)
 
ExceptionOr< voidsetCanShowModalDialogOverride (bool allow)
 
void setOverrideResourceLoadPriority (ResourceLoadPriority)
 
void setStrictRawResourceValidationPolicyDisabled (bool)
 
void clearMemoryCache ()
 
void pruneMemoryCacheToSize (unsigned size)
 
unsigned memoryCacheSize () const
 
unsigned imageFrameIndex (HTMLImageElement &)
 
void setImageFrameDecodingDuration (HTMLImageElement &, float duration)
 
void resetImageAnimation (HTMLImageElement &)
 
void clearPageCache ()
 
unsigned pageCacheSize () const
 
void disableTileSizeUpdateDelay ()
 
Ref< CSSComputedStyleDeclarationcomputedStyleIncludingVisitedInfo (Element &) const
 
NodeensureUserAgentShadowRoot (Element &host)
 
NodeshadowRoot (Element &host)
 
ExceptionOr< StringshadowRootType (const Node &) const
 
String shadowPseudoId (Element &)
 
void setShadowPseudoId (Element &, const String &)
 
unsigned deferredStyleRulesCount (StyleSheet &)
 
unsigned deferredGroupRulesCount (StyleSheet &)
 
unsigned deferredKeyframesRulesCount (StyleSheet &)
 
ExceptionOr< bool > isTimerThrottled (int timeoutId)
 
bool isRequestAnimationFrameThrottled () const
 
double requestAnimationFrameInterval () const
 
bool areTimersThrottled () const
 
void setEventThrottlingBehaviorOverride (std::optional< EventThrottlingBehavior >)
 
std::optional< EventThrottlingBehavioreventThrottlingBehaviorOverride () const
 
ExceptionOr< unsigned > lastSpatialNavigationCandidateCount () const
 
unsigned numberOfActiveAnimations () const
 
ExceptionOr< bool > animationsAreSuspended () const
 
ExceptionOr< voidsuspendAnimations () const
 
ExceptionOr< voidresumeAnimations () const
 
ExceptionOr< bool > pauseAnimationAtTimeOnElement (const String &animationName, double pauseTime, Element &)
 
ExceptionOr< bool > pauseAnimationAtTimeOnPseudoElement (const String &animationName, double pauseTime, Element &, const String &pseudoId)
 
double animationsInterval () const
 
ExceptionOr< bool > pauseTransitionAtTimeOnElement (const String &propertyName, double pauseTime, Element &)
 
ExceptionOr< bool > pauseTransitionAtTimeOnPseudoElement (const String &property, double pauseTime, Element &, const String &pseudoId)
 
NodetreeScopeRootNode (Node &)
 
NodeparentTreeScope (Node &)
 
String visiblePlaceholder (Element &)
 
void selectColorInColorChooser (HTMLInputElement &, const String &colorValue)
 
ExceptionOr< Vector< String > > formControlStateOfPreviousHistoryItem ()
 
ExceptionOr< voidsetFormControlStateOfPreviousHistoryItem (const Vector< String > &)
 
ExceptionOr< Ref< ClientRect > > absoluteCaretBounds ()
 
Ref< ClientRectboundingBox (Element &)
 
ExceptionOr< Ref< ClientRectList > > inspectorHighlightRects ()
 
ExceptionOr< StringinspectorHighlightObject ()
 
ExceptionOr< unsigned > markerCountForNode (Node &, const String &)
 
ExceptionOr< RefPtr< Range > > markerRangeForNode (Node &, const String &markerType, unsigned index)
 
ExceptionOr< StringmarkerDescriptionForNode (Node &, const String &markerType, unsigned index)
 
ExceptionOr< StringdumpMarkerRects (const String &markerType)
 
void addTextMatchMarker (const Range &, bool isActive)
 
ExceptionOr< voidsetMarkedTextMatchesAreHighlighted (bool)
 
void invalidateFontCache ()
 
void setFontSmoothingEnabled (bool)
 
ExceptionOr< voidsetLowPowerModeEnabled (bool)
 
ExceptionOr< voidsetScrollViewPosition (int x, int y)
 
ExceptionOr< Ref< ClientRect > > layoutViewportRect ()
 
ExceptionOr< Ref< ClientRect > > visualViewportRect ()
 
ExceptionOr< voidsetViewBaseBackgroundColor (const String &colorValue)
 
ExceptionOr< voidsetPagination (const String &mode, int gap, int pageLength)
 
ExceptionOr< voidsetPaginationLineGridEnabled (bool)
 
ExceptionOr< StringconfigurationForViewport (float devicePixelRatio, int deviceWidth, int deviceHeight, int availableWidth, int availableHeight)
 
ExceptionOr< bool > wasLastChangeUserEdit (Element &textField)
 
bool elementShouldAutoComplete (HTMLInputElement &)
 
void setEditingValue (HTMLInputElement &, const String &)
 
void setAutofilled (HTMLInputElement &, bool enabled)
 
void setShowAutoFillButton (HTMLInputElement &, AutoFillButtonType)
 
ExceptionOr< voidscrollElementToRect (Element &, int x, int y, int w, int h)
 
ExceptionOr< StringautofillFieldName (Element &)
 
ExceptionOr< voidpaintControlTints ()
 
RefPtr< RangerangeFromLocationAndLength (Element &scope, int rangeLocation, int rangeLength)
 
unsigned locationFromRange (Element &scope, const Range &)
 
unsigned lengthFromRange (Element &scope, const Range &)
 
String rangeAsText (const Range &)
 
Ref< Rangesubrange (Range &, int rangeLocation, int rangeLength)
 
ExceptionOr< RefPtr< Range > > rangeForDictionaryLookupAtLocation (int x, int y)
 
RefPtr< RangerangeOfStringNearLocation (const Range &, const String &, unsigned)
 
ExceptionOr< voidsetDelegatesScrolling (bool enabled)
 
ExceptionOr< int > lastSpellCheckRequestSequence ()
 
ExceptionOr< int > lastSpellCheckProcessedSequence ()
 
Vector< StringuserPreferredLanguages () const
 
void setUserPreferredLanguages (const Vector< String > &)
 
Vector< StringuserPreferredAudioCharacteristics () const
 
void setUserPreferredAudioCharacteristic (const String &)
 
ExceptionOr< unsigned > wheelEventHandlerCount ()
 
ExceptionOr< unsigned > touchEventHandlerCount ()
 
ExceptionOr< RefPtr< NodeList > > nodesFromRect (Document &, int x, int y, unsigned topPadding, unsigned rightPadding, unsigned bottomPadding, unsigned leftPadding, bool ignoreClipping, bool allowShadowContent, bool allowChildFrameContent) const
 
String parserMetaData (JSC::JSValue=JSC::JSValue::JSUndefined)
 
void updateEditorUINowIfScheduled ()
 
bool hasSpellingMarker (int from, int length)
 
bool hasGrammarMarker (int from, int length)
 
bool hasAutocorrectedMarker (int from, int length)
 
void setContinuousSpellCheckingEnabled (bool)
 
void setAutomaticQuoteSubstitutionEnabled (bool)
 
void setAutomaticLinkDetectionEnabled (bool)
 
void setAutomaticDashSubstitutionEnabled (bool)
 
void setAutomaticTextReplacementEnabled (bool)
 
void setAutomaticSpellingCorrectionEnabled (bool)
 
void handleAcceptedCandidate (const String &candidate, unsigned location, unsigned length)
 
bool isOverwriteModeEnabled ()
 
void toggleOverwriteModeEnabled ()
 
ExceptionOr< RefPtr< Range > > rangeOfString (const String &, RefPtr< Range > &&, const Vector< String > &findOptions)
 
ExceptionOr< unsigned > countMatchesForText (const String &, const Vector< String > &findOptions, const String &markMatches)
 
ExceptionOr< unsigned > countFindMatches (const String &, const Vector< String > &findOptions)
 
unsigned numberOfScrollableAreas ()
 
ExceptionOr< bool > isPageBoxVisible (int pageNumber)
 
InternalSettingssettings () const
 
unsigned workerThreadCount () const
 
bool areSVGAnimationsPaused () const
 
ExceptionOr< double > svgAnimationsInterval (SVGSVGElement &) const
 
ExceptionOr< voidsetDeviceProximity (const String &eventType, double value, double min, double max)
 
ExceptionOr< StringlayerTreeAsText (Document &, unsigned short flags) const
 
ExceptionOr< StringrepaintRectsAsText () const
 
ExceptionOr< StringscrollingStateTreeAsText () const
 
ExceptionOr< StringmainThreadScrollingReasons () const
 
ExceptionOr< RefPtr< ClientRectList > > nonFastScrollableRects () const
 
ExceptionOr< voidsetElementUsesDisplayListDrawing (Element &, bool usesDisplayListDrawing)
 
ExceptionOr< voidsetElementTracksDisplayListReplay (Element &, bool isTrackingReplay)
 
ExceptionOr< StringdisplayListForElement (Element &, unsigned short flags)
 
ExceptionOr< StringreplayDisplayListForElement (Element &, unsigned short flags)
 
ExceptionOr< voidgarbageCollectDocumentResources () const
 
void beginSimulatedMemoryPressure ()
 
void endSimulatedMemoryPressure ()
 
bool isUnderMemoryPressure ()
 
ExceptionOr< voidinsertAuthorCSS (const String &) const
 
ExceptionOr< voidinsertUserCSS (const String &) const
 
unsigned numberOfLiveNodes () const
 
unsigned numberOfLiveDocuments () const
 
RefPtr< DOMWindowopenDummyInspectorFrontend (const String &url)
 
void closeDummyInspectorFrontend ()
 
ExceptionOr< voidsetInspectorIsUnderTest (bool)
 
String counterValue (Element &)
 
int pageNumber (Element &, float pageWidth=800, float pageHeight=600)
 
Vector< StringshortcutIconURLs () const
 
int numberOfPages (float pageWidthInPixels=800, float pageHeightInPixels=600)
 
ExceptionOr< StringpageProperty (const String &propertyName, int pageNumber) const
 
ExceptionOr< StringpageSizeAndMarginsInPixels (int pageNumber, int width, int height, int marginTop, int marginRight, int marginBottom, int marginLeft) const
 
ExceptionOr< float > pageScaleFactor () const
 
ExceptionOr< voidsetPageScaleFactor (float scaleFactor, int x, int y)
 
ExceptionOr< voidsetPageZoomFactor (float)
 
ExceptionOr< voidsetTextZoomFactor (float)
 
ExceptionOr< voidsetUseFixedLayout (bool)
 
ExceptionOr< voidsetFixedLayoutSize (int width, int height)
 
ExceptionOr< voidsetViewExposedRect (float left, float top, float width, float height)
 
void setHeaderHeight (float)
 
void setFooterHeight (float)
 
void setTopContentInset (float)
 
WEBCORE_TESTSUPPORT_EXPORT void setApplicationCacheOriginQuota (unsigned long long)
 
void registerURLSchemeAsBypassingContentSecurityPolicy (const String &scheme)
 
void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy (const String &scheme)
 
void registerDefaultPortForProtocol (unsigned short port, const String &protocol)
 
Ref< MallocStatisticsmallocStatistics () const
 
Ref< TypeConversionstypeConversions () const
 
Ref< MemoryInfomemoryInfo () const
 
Vector< StringgetReferencedFilePaths () const
 
ExceptionOr< voidstartTrackingRepaints ()
 
ExceptionOr< voidstopTrackingRepaints ()
 
ExceptionOr< voidstartTrackingLayerFlushes ()
 
ExceptionOr< unsigned > layerFlushCount ()
 
ExceptionOr< voidstartTrackingStyleRecalcs ()
 
ExceptionOr< unsigned > styleRecalcCount ()
 
unsigned lastStyleUpdateSize () const
 
ExceptionOr< voidstartTrackingCompositingUpdates ()
 
ExceptionOr< unsigned > compositingUpdateCount ()
 
ExceptionOr< voidupdateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks (Node *)
 
unsigned layoutCount () const
 
Ref< ArrayBufferserializeObject (const RefPtr< SerializedScriptValue > &) const
 
Ref< SerializedScriptValuedeserializeBuffer (ArrayBuffer &) const
 
bool isFromCurrentWorld (JSC::JSValue) const
 
void setUsesOverlayScrollbars (bool)
 
void setUsesMockScrollAnimator (bool)
 
ExceptionOr< StringgetCurrentCursorInfo ()
 
String markerTextForListItem (Element &)
 
String toolTipFromElement (Element &) const
 
void forceReload (bool endToEnd)
 
void enableAutoSizeMode (bool enabled, int minimumWidth, int minimumHeight, int maximumWidth, int maximumHeight)
 
String getImageSourceURL (Element &)
 
bool isSelectPopupVisible (HTMLSelectElement &)
 
ExceptionOr< StringcaptionsStyleSheetOverride ()
 
ExceptionOr< voidsetCaptionsStyleSheetOverride (const String &)
 
ExceptionOr< voidsetPrimaryAudioTrackLanguageOverride (const String &)
 
ExceptionOr< voidsetCaptionDisplayMode (const String &)
 
ExceptionOr< Ref< ClientRect > > selectionBounds ()
 
ExceptionOr< bool > isPluginUnavailabilityIndicatorObscured (Element &)
 
bool isPluginSnapshotted (Element &)
 
void simulateSystemSleep () const
 
void simulateSystemWake () const
 
ExceptionOr< Ref< MockPageOverlay > > installMockPageOverlay (PageOverlayType)
 
ExceptionOr< StringpageOverlayLayerTreeAsText (unsigned short flags) const
 
void setPageMuted (const String &)
 
String pageMediaState ()
 
void setPageDefersLoading (bool)
 
RefPtr< FilecreateFile (const String &)
 
void queueMicroTask (int)
 
bool testPreloaderSettingViewport ()
 
ExceptionOr< StringpathStringWithShrinkWrappedRects (const Vector< double > &rectComponents, double radius)
 
String getCurrentMediaControlsStatusForElement (HTMLMediaElement &)
 
String userVisibleString (const DOMURL &)
 
void setShowAllPlugins (bool)
 
String resourceLoadStatisticsForOrigin (const String &origin)
 
void setResourceLoadStatisticsEnabled (bool)
 
String composedTreeAsText (Node &)
 
bool isProcessingUserGesture ()
 
RefPtr< GCObservationobserveGC (JSC::JSValue)
 
void setUserInterfaceLayoutDirection (UserInterfaceLayoutDirection)
 
bool userPrefersReducedMotion () const
 
void reportBacktrace ()
 
void setBaseWritingDirection (BaseWritingDirection)
 
Vector< StringaccessKeyModifiers () const
 
void setAsRunningUserScripts (Document &)
 
- Public Member Functions inherited from WTF::RefCounted< Internals >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 

Static Public Member Functions

static Ref< Internalscreate (Document &)
 
static void resetToConsistentState (Page &)
 

Static Public Attributes

static const char * internalsId = "internals"
 

Additional Inherited Members

- Protected Member Functions inherited from WTF::RefCounted< Internals >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
LAYER_TREE_INCLUDES_VISIBLE_RECTS 
LAYER_TREE_INCLUDES_TILE_CACHES 
LAYER_TREE_INCLUDES_REPAINT_RECTS 
LAYER_TREE_INCLUDES_PAINTING_PHASES 
LAYER_TREE_INCLUDES_CONTENT_LAYERS 
LAYER_TREE_INCLUDES_ACCELERATES_DRAWING 

◆ anonymous enum

anonymous enum
Enumerator
DISPLAY_LIST_INCLUDES_PLATFORM_OPERATIONS 

◆ AutoFillButtonType

Enumerator
AutoFillButtonTypeNone 
AutoFillButtonTypeContacts 
AutoFillButtonTypeCredentials 

◆ BaseWritingDirection

Enumerator
Natural 
Ltr 
Rtl 

◆ CachePolicy

Enumerator
UseProtocolCachePolicy 
ReloadIgnoringCacheData 
ReturnCacheDataElseLoad 
ReturnCacheDataDontLoad 

◆ EventThrottlingBehavior

Enumerator
Responsive 
Unresponsive 

◆ PageOverlayType

Enumerator
View 
Document 

◆ ResourceLoadPriority

Enumerator
ResourceLoadPriorityVeryLow 
ResourceLoadPriorityLow 
ResourceLoadPriorityMedium 
ResourceLoadPriorityHigh 
ResourceLoadPriorityVeryHigh 

◆ UserInterfaceLayoutDirection

Enumerator
LTR 
RTL 

Constructor & Destructor Documentation

◆ ~Internals()

Internals::~Internals ( )
virtual

Member Function Documentation

◆ absoluteCaretBounds()

ExceptionOr< Ref< ClientRect > > Internals::absoluteCaretBounds ( )

◆ accessKeyModifiers()

Vector< String > Internals::accessKeyModifiers ( ) const

◆ address()

String Internals::address ( Node node)

◆ addTextMatchMarker()

void Internals::addTextMatchMarker ( const Range range,
bool  isActive 
)

◆ animationsAreSuspended()

ExceptionOr< bool > Internals::animationsAreSuspended ( ) const

◆ animationsInterval()

double Internals::animationsInterval ( ) const

◆ areSVGAnimationsPaused()

bool Internals::areSVGAnimationsPaused ( ) const

◆ areTimersThrottled()

bool Internals::areTimersThrottled ( ) const

◆ autofillFieldName()

ExceptionOr< String > Internals::autofillFieldName ( Element element)

◆ beginSimulatedMemoryPressure()

void Internals::beginSimulatedMemoryPressure ( )

◆ boundingBox()

Ref< ClientRect > Internals::boundingBox ( Element element)

◆ captionsStyleSheetOverride()

ExceptionOr< String > Internals::captionsStyleSheetOverride ( )

◆ clearMemoryCache()

void Internals::clearMemoryCache ( )

◆ clearPageCache()

void Internals::clearPageCache ( )

◆ closeDummyInspectorFrontend()

void Internals::closeDummyInspectorFrontend ( )

◆ composedTreeAsText()

String Internals::composedTreeAsText ( Node node)

◆ compositingUpdateCount()

ExceptionOr< unsigned > Internals::compositingUpdateCount ( )

◆ computedStyleIncludingVisitedInfo()

Ref< CSSComputedStyleDeclaration > Internals::computedStyleIncludingVisitedInfo ( Element element) const

◆ configurationForViewport()

ExceptionOr< String > Internals::configurationForViewport ( float  devicePixelRatio,
int  deviceWidth,
int  deviceHeight,
int  availableWidth,
int  availableHeight 
)

◆ counterValue()

String Internals::counterValue ( Element element)

◆ countFindMatches()

ExceptionOr< unsigned > Internals::countFindMatches ( const String text,
const Vector< String > &  findOptions 
)

◆ countMatchesForText()

ExceptionOr< unsigned > Internals::countMatchesForText ( const String text,
const Vector< String > &  findOptions,
const String markMatches 
)

◆ create()

Ref< Internals > Internals::create ( Document document)
static

◆ createFile()

RefPtr< File > Internals::createFile ( const String path)

◆ deferredGroupRulesCount()

unsigned Internals::deferredGroupRulesCount ( StyleSheet styleSheet)

◆ deferredKeyframesRulesCount()

unsigned Internals::deferredKeyframesRulesCount ( StyleSheet styleSheet)

◆ deferredStyleRulesCount()

unsigned Internals::deferredStyleRulesCount ( StyleSheet styleSheet)

◆ description()

String Internals::description ( JSC::JSValue  value)

◆ deserializeBuffer()

Ref< SerializedScriptValue > Internals::deserializeBuffer ( ArrayBuffer buffer) const

◆ disableTileSizeUpdateDelay()

void Internals::disableTileSizeUpdateDelay ( )

◆ displayListForElement()

ExceptionOr< String > Internals::displayListForElement ( Element element,
unsigned short  flags 
)

◆ dumpMarkerRects()

ExceptionOr< String > Internals::dumpMarkerRects ( const String markerType)

◆ elementRenderTreeAsText()

ExceptionOr< String > Internals::elementRenderTreeAsText ( Element element)

◆ elementShouldAutoComplete()

bool Internals::elementShouldAutoComplete ( HTMLInputElement element)

◆ enableAutoSizeMode()

void Internals::enableAutoSizeMode ( bool  enabled,
int  minimumWidth,
int  minimumHeight,
int  maximumWidth,
int  maximumHeight 
)

◆ endSimulatedMemoryPressure()

void Internals::endSimulatedMemoryPressure ( )

◆ ensureUserAgentShadowRoot()

Node * Internals::ensureUserAgentShadowRoot ( Element host)

◆ eventThrottlingBehaviorOverride()

std::optional< Internals::EventThrottlingBehavior > Internals::eventThrottlingBehaviorOverride ( ) const

◆ forceReload()

void Internals::forceReload ( bool  endToEnd)

◆ formControlStateOfPreviousHistoryItem()

ExceptionOr< Vector< String > > Internals::formControlStateOfPreviousHistoryItem ( )

◆ garbageCollectDocumentResources()

ExceptionOr< void > Internals::garbageCollectDocumentResources ( ) const

◆ getCurrentCursorInfo()

ExceptionOr< String > Internals::getCurrentCursorInfo ( )

◆ getCurrentMediaControlsStatusForElement()

String Internals::getCurrentMediaControlsStatusForElement ( HTMLMediaElement mediaElement)

◆ getImageSourceURL()

String Internals::getImageSourceURL ( Element element)

◆ getReferencedFilePaths()

Vector< String > Internals::getReferencedFilePaths ( ) const

◆ handleAcceptedCandidate()

void Internals::handleAcceptedCandidate ( const String candidate,
unsigned  location,
unsigned  length 
)

◆ hasAutocorrectedMarker()

bool Internals::hasAutocorrectedMarker ( int  from,
int  length 
)

◆ hasGrammarMarker()

bool Internals::hasGrammarMarker ( int  from,
int  length 
)

◆ hasPausedImageAnimations()

bool Internals::hasPausedImageAnimations ( Element element)

◆ hasSpellingMarker()

bool Internals::hasSpellingMarker ( int  from,
int  length 
)

◆ imageFrameIndex()

unsigned Internals::imageFrameIndex ( HTMLImageElement element)

◆ insertAuthorCSS()

ExceptionOr< void > Internals::insertAuthorCSS ( const String css) const

◆ insertUserCSS()

ExceptionOr< void > Internals::insertUserCSS ( const String css) const

◆ inspectorHighlightObject()

ExceptionOr< String > Internals::inspectorHighlightObject ( )

◆ inspectorHighlightRects()

ExceptionOr< Ref< ClientRectList > > Internals::inspectorHighlightRects ( )

◆ installMockPageOverlay()

ExceptionOr< Ref< MockPageOverlay > > Internals::installMockPageOverlay ( PageOverlayType  type)

◆ invalidateFontCache()

void Internals::invalidateFontCache ( )

◆ isFromCurrentWorld()

bool Internals::isFromCurrentWorld ( JSC::JSValue  value) const

◆ isLoadingFromMemoryCache()

bool Internals::isLoadingFromMemoryCache ( const String url)

◆ isOverwriteModeEnabled()

bool Internals::isOverwriteModeEnabled ( )

◆ isPageBoxVisible()

ExceptionOr< bool > Internals::isPageBoxVisible ( int  pageNumber)

◆ isPluginSnapshotted()

bool Internals::isPluginSnapshotted ( Element element)

◆ isPluginUnavailabilityIndicatorObscured()

ExceptionOr< bool > Internals::isPluginUnavailabilityIndicatorObscured ( Element element)

◆ isPreloaded()

bool Internals::isPreloaded ( const String url)

◆ isProcessingUserGesture()

bool Internals::isProcessingUserGesture ( )

◆ isRequestAnimationFrameThrottled()

bool Internals::isRequestAnimationFrameThrottled ( ) const

◆ isSelectPopupVisible()

bool Internals::isSelectPopupVisible ( HTMLSelectElement element)

◆ isSharingStyleSheetContents()

bool Internals::isSharingStyleSheetContents ( HTMLLinkElement a,
HTMLLinkElement b 
)

◆ isStyleSheetLoadingSubresources()

bool Internals::isStyleSheetLoadingSubresources ( HTMLLinkElement link)

◆ isTimerThrottled()

ExceptionOr< bool > Internals::isTimerThrottled ( int  timeoutId)

◆ isUnderMemoryPressure()

bool Internals::isUnderMemoryPressure ( )

◆ lastSpatialNavigationCandidateCount()

ExceptionOr< unsigned > Internals::lastSpatialNavigationCandidateCount ( ) const

◆ lastSpellCheckProcessedSequence()

ExceptionOr< int > Internals::lastSpellCheckProcessedSequence ( )

◆ lastSpellCheckRequestSequence()

ExceptionOr< int > Internals::lastSpellCheckRequestSequence ( )

◆ lastStyleUpdateSize()

unsigned Internals::lastStyleUpdateSize ( ) const

◆ layerFlushCount()

ExceptionOr< unsigned > Internals::layerFlushCount ( )

◆ layerTreeAsText()

ExceptionOr< String > Internals::layerTreeAsText ( Document document,
unsigned short  flags 
) const

◆ layoutCount()

unsigned Internals::layoutCount ( ) const

◆ layoutViewportRect()

ExceptionOr< Ref< ClientRect > > Internals::layoutViewportRect ( )

◆ lengthFromRange()

unsigned Internals::lengthFromRange ( Element scope,
const Range range 
)

◆ locationFromRange()

unsigned Internals::locationFromRange ( Element scope,
const Range range 
)

◆ mainThreadScrollingReasons()

ExceptionOr< String > Internals::mainThreadScrollingReasons ( ) const

◆ mallocStatistics()

Ref< MallocStatistics > Internals::mallocStatistics ( ) const

◆ markerCountForNode()

ExceptionOr< unsigned > Internals::markerCountForNode ( Node node,
const String markerType 
)

◆ markerDescriptionForNode()

ExceptionOr< String > Internals::markerDescriptionForNode ( Node node,
const String markerType,
unsigned  index 
)

◆ markerRangeForNode()

ExceptionOr< RefPtr< Range > > Internals::markerRangeForNode ( Node node,
const String markerType,
unsigned  index 
)

◆ markerTextForListItem()

String Internals::markerTextForListItem ( Element element)

◆ memoryCacheSize()

unsigned Internals::memoryCacheSize ( ) const

◆ memoryInfo()

Ref< MemoryInfo > Internals::memoryInfo ( ) const

◆ nodeNeedsStyleRecalc()

bool Internals::nodeNeedsStyleRecalc ( Node node)

◆ nodesFromRect()

ExceptionOr< RefPtr< NodeList > > Internals::nodesFromRect ( Document document,
int  x,
int  y,
unsigned  topPadding,
unsigned  rightPadding,
unsigned  bottomPadding,
unsigned  leftPadding,
bool  ignoreClipping,
bool  allowShadowContent,
bool  allowChildFrameContent 
) const

◆ nonFastScrollableRects()

ExceptionOr< RefPtr< ClientRectList > > Internals::nonFastScrollableRects ( ) const

◆ numberOfActiveAnimations()

unsigned Internals::numberOfActiveAnimations ( ) const

◆ numberOfLiveDocuments()

unsigned Internals::numberOfLiveDocuments ( ) const

◆ numberOfLiveNodes()

unsigned Internals::numberOfLiveNodes ( ) const

◆ numberOfPages()

int Internals::numberOfPages ( float  pageWidthInPixels = 800,
float  pageHeightInPixels = 600 
)

◆ numberOfScrollableAreas()

unsigned Internals::numberOfScrollableAreas ( )

◆ observeGC()

RefPtr< GCObservation > Internals::observeGC ( JSC::JSValue  value)

◆ openDummyInspectorFrontend()

RefPtr< DOMWindow > Internals::openDummyInspectorFrontend ( const String url)

◆ pageCacheSize()

unsigned Internals::pageCacheSize ( ) const

◆ pageMediaState()

String Internals::pageMediaState ( )

◆ pageNumber()

int Internals::pageNumber ( Element element,
float  pageWidth = 800,
float  pageHeight = 600 
)

◆ pageOverlayLayerTreeAsText()

ExceptionOr< String > Internals::pageOverlayLayerTreeAsText ( unsigned short  flags) const

◆ pageProperty()

ExceptionOr< String > Internals::pageProperty ( const String propertyName,
int  pageNumber 
) const

◆ pageScaleFactor()

ExceptionOr< float > Internals::pageScaleFactor ( ) const

◆ pageSizeAndMarginsInPixels()

ExceptionOr< String > Internals::pageSizeAndMarginsInPixels ( int  pageNumber,
int  width,
int  height,
int  marginTop,
int  marginRight,
int  marginBottom,
int  marginLeft 
) const

◆ paintControlTints()

ExceptionOr< void > Internals::paintControlTints ( )

◆ parentTreeScope()

Node * Internals::parentTreeScope ( Node node)

◆ parserMetaData()

String Internals::parserMetaData ( JSC::JSValue  code = JSC::JSValue::JSUndefined)

◆ pathStringWithShrinkWrappedRects()

ExceptionOr< String > Internals::pathStringWithShrinkWrappedRects ( const Vector< double > &  rectComponents,
double  radius 
)

◆ pauseAnimationAtTimeOnElement()

ExceptionOr< bool > Internals::pauseAnimationAtTimeOnElement ( const String animationName,
double  pauseTime,
Element element 
)

◆ pauseAnimationAtTimeOnPseudoElement()

ExceptionOr< bool > Internals::pauseAnimationAtTimeOnPseudoElement ( const String animationName,
double  pauseTime,
Element element,
const String pseudoId 
)

◆ pauseTransitionAtTimeOnElement()

ExceptionOr< bool > Internals::pauseTransitionAtTimeOnElement ( const String propertyName,
double  pauseTime,
Element element 
)

◆ pauseTransitionAtTimeOnPseudoElement()

ExceptionOr< bool > Internals::pauseTransitionAtTimeOnPseudoElement ( const String property,
double  pauseTime,
Element element,
const String pseudoId 
)

◆ pruneMemoryCacheToSize()

void Internals::pruneMemoryCacheToSize ( unsigned  size)

◆ queueMicroTask()

void Internals::queueMicroTask ( int  testNumber)

◆ rangeAsText()

String Internals::rangeAsText ( const Range range)

◆ rangeForDictionaryLookupAtLocation()

ExceptionOr< RefPtr< Range > > Internals::rangeForDictionaryLookupAtLocation ( int  x,
int  y 
)

◆ rangeFromLocationAndLength()

RefPtr< Range > Internals::rangeFromLocationAndLength ( Element scope,
int  rangeLocation,
int  rangeLength 
)

◆ rangeOfString()

ExceptionOr< RefPtr< Range > > Internals::rangeOfString ( const String text,
RefPtr< Range > &&  referenceRange,
const Vector< String > &  findOptions 
)

◆ rangeOfStringNearLocation()

RefPtr< Range > Internals::rangeOfStringNearLocation ( const Range searchRange,
const String text,
unsigned  targetOffset 
)

◆ registerDefaultPortForProtocol()

void Internals::registerDefaultPortForProtocol ( unsigned short  port,
const String protocol 
)

◆ registerURLSchemeAsBypassingContentSecurityPolicy()

void Internals::registerURLSchemeAsBypassingContentSecurityPolicy ( const String scheme)

◆ removeURLSchemeRegisteredAsBypassingContentSecurityPolicy()

void Internals::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy ( const String scheme)

◆ repaintRectsAsText()

ExceptionOr< String > Internals::repaintRectsAsText ( ) const

◆ replayDisplayListForElement()

ExceptionOr< String > Internals::replayDisplayListForElement ( Element element,
unsigned short  flags 
)

◆ reportBacktrace()

void Internals::reportBacktrace ( )

◆ requestAnimationFrameInterval()

double Internals::requestAnimationFrameInterval ( ) const

◆ resetImageAnimation()

void Internals::resetImageAnimation ( HTMLImageElement element)

◆ resetToConsistentState()

void Internals::resetToConsistentState ( Page page)
static

◆ resourceLoadStatisticsForOrigin()

String Internals::resourceLoadStatisticsForOrigin ( const String origin)

◆ resumeAnimations()

ExceptionOr< void > Internals::resumeAnimations ( ) const

◆ scrollElementToRect()

ExceptionOr< void > Internals::scrollElementToRect ( Element element,
int  x,
int  y,
int  w,
int  h 
)

◆ scrollingStateTreeAsText()

ExceptionOr< String > Internals::scrollingStateTreeAsText ( ) const

◆ selectColorInColorChooser()

void Internals::selectColorInColorChooser ( HTMLInputElement element,
const String colorValue 
)

◆ selectionBounds()

ExceptionOr< Ref< ClientRect > > Internals::selectionBounds ( )

◆ serializeObject()

Ref< ArrayBuffer > Internals::serializeObject ( const RefPtr< SerializedScriptValue > &  value) const

◆ setApplicationCacheOriginQuota()

void Internals::setApplicationCacheOriginQuota ( unsigned long long  quota)

◆ setAsRunningUserScripts()

void Internals::setAsRunningUserScripts ( Document document)

◆ setAutofilled()

void Internals::setAutofilled ( HTMLInputElement element,
bool  enabled 
)

◆ setAutomaticDashSubstitutionEnabled()

void Internals::setAutomaticDashSubstitutionEnabled ( bool  enabled)

◆ setAutomaticLinkDetectionEnabled()

void Internals::setAutomaticLinkDetectionEnabled ( bool  enabled)

◆ setAutomaticQuoteSubstitutionEnabled()

void Internals::setAutomaticQuoteSubstitutionEnabled ( bool  enabled)

◆ setAutomaticSpellingCorrectionEnabled()

void Internals::setAutomaticSpellingCorrectionEnabled ( bool  enabled)

◆ setAutomaticTextReplacementEnabled()

void Internals::setAutomaticTextReplacementEnabled ( bool  enabled)

◆ setBaseWritingDirection()

void Internals::setBaseWritingDirection ( BaseWritingDirection  direction)

◆ setCanShowModalDialogOverride()

ExceptionOr< void > Internals::setCanShowModalDialogOverride ( bool  allow)

◆ setCaptionDisplayMode()

ExceptionOr< void > Internals::setCaptionDisplayMode ( const String mode)

◆ setCaptionsStyleSheetOverride()

ExceptionOr< void > Internals::setCaptionsStyleSheetOverride ( const String override)

◆ setContinuousSpellCheckingEnabled()

void Internals::setContinuousSpellCheckingEnabled ( bool  enabled)

◆ setDelegatesScrolling()

ExceptionOr< void > Internals::setDelegatesScrolling ( bool  enabled)

◆ setDeviceProximity()

ExceptionOr< void > Internals::setDeviceProximity ( const String eventType,
double  value,
double  min,
double  max 
)

◆ setEditingValue()

void Internals::setEditingValue ( HTMLInputElement element,
const String value 
)

◆ setElementTracksDisplayListReplay()

ExceptionOr< void > Internals::setElementTracksDisplayListReplay ( Element element,
bool  isTrackingReplay 
)

◆ setElementUsesDisplayListDrawing()

ExceptionOr< void > Internals::setElementUsesDisplayListDrawing ( Element element,
bool  usesDisplayListDrawing 
)

◆ setEventThrottlingBehaviorOverride()

void Internals::setEventThrottlingBehaviorOverride ( std::optional< EventThrottlingBehavior value)

◆ setFixedLayoutSize()

ExceptionOr< void > Internals::setFixedLayoutSize ( int  width,
int  height 
)

◆ setFontSmoothingEnabled()

void Internals::setFontSmoothingEnabled ( bool  enabled)

◆ setFooterHeight()

void Internals::setFooterHeight ( float  height)

◆ setFormControlStateOfPreviousHistoryItem()

ExceptionOr< void > Internals::setFormControlStateOfPreviousHistoryItem ( const Vector< String > &  state)

◆ setHeaderHeight()

void Internals::setHeaderHeight ( float  height)

◆ setImageFrameDecodingDuration()

void Internals::setImageFrameDecodingDuration ( HTMLImageElement element,
float  duration 
)

◆ setInspectorIsUnderTest()

ExceptionOr< void > Internals::setInspectorIsUnderTest ( bool  isUnderTest)

◆ setLowPowerModeEnabled()

ExceptionOr< void > Internals::setLowPowerModeEnabled ( bool  isEnabled)

◆ setMarkedTextMatchesAreHighlighted()

ExceptionOr< void > Internals::setMarkedTextMatchesAreHighlighted ( bool  flag)

◆ setOverrideCachePolicy()

void Internals::setOverrideCachePolicy ( CachePolicy  policy)

◆ setOverrideResourceLoadPriority()

void Internals::setOverrideResourceLoadPriority ( ResourceLoadPriority  priority)

◆ setPageDefersLoading()

void Internals::setPageDefersLoading ( bool  defersLoading)

◆ setPageMuted()

void Internals::setPageMuted ( const String states)

◆ setPageScaleFactor()

ExceptionOr< void > Internals::setPageScaleFactor ( float  scaleFactor,
int  x,
int  y 
)

◆ setPageZoomFactor()

ExceptionOr< void > Internals::setPageZoomFactor ( float  zoomFactor)

◆ setPagination()

ExceptionOr< void > Internals::setPagination ( const String mode,
int  gap,
int  pageLength 
)

◆ setPaginationLineGridEnabled()

ExceptionOr< void > Internals::setPaginationLineGridEnabled ( bool  enabled)

◆ setPrimaryAudioTrackLanguageOverride()

ExceptionOr< void > Internals::setPrimaryAudioTrackLanguageOverride ( const String language)

◆ setResourceLoadStatisticsEnabled()

void Internals::setResourceLoadStatisticsEnabled ( bool  enable)

◆ setScrollViewPosition()

ExceptionOr< void > Internals::setScrollViewPosition ( int  x,
int  y 
)

◆ setShadowPseudoId()

void Internals::setShadowPseudoId ( Element element,
const String id 
)

◆ setShowAllPlugins()

void Internals::setShowAllPlugins ( bool  show)

◆ setShowAutoFillButton()

void Internals::setShowAutoFillButton ( HTMLInputElement element,
AutoFillButtonType  type 
)

◆ setStrictRawResourceValidationPolicyDisabled()

void Internals::setStrictRawResourceValidationPolicyDisabled ( bool  disabled)

◆ setTextZoomFactor()

ExceptionOr< void > Internals::setTextZoomFactor ( float  zoomFactor)

◆ settings()

InternalSettings * Internals::settings ( ) const

◆ setTopContentInset()

void Internals::setTopContentInset ( float  contentInset)

◆ setUseFixedLayout()

ExceptionOr< void > Internals::setUseFixedLayout ( bool  useFixedLayout)

◆ setUserInterfaceLayoutDirection()

void Internals::setUserInterfaceLayoutDirection ( UserInterfaceLayoutDirection  userInterfaceLayoutDirection)

◆ setUserPreferredAudioCharacteristic()

void Internals::setUserPreferredAudioCharacteristic ( const String characteristic)

◆ setUserPreferredLanguages()

void Internals::setUserPreferredLanguages ( const Vector< String > &  languages)

◆ setUsesMockScrollAnimator()

void Internals::setUsesMockScrollAnimator ( bool  enabled)

◆ setUsesOverlayScrollbars()

void Internals::setUsesOverlayScrollbars ( bool  enabled)

◆ setViewBaseBackgroundColor()

ExceptionOr< void > Internals::setViewBaseBackgroundColor ( const String colorValue)

◆ setViewExposedRect()

ExceptionOr< void > Internals::setViewExposedRect ( float  left,
float  top,
float  width,
float  height 
)

◆ shadowPseudoId()

String Internals::shadowPseudoId ( Element element)

◆ shadowRoot()

Node * Internals::shadowRoot ( Element host)

◆ shadowRootType()

ExceptionOr< String > Internals::shadowRootType ( const Node root) const

◆ shortcutIconURLs()

Vector< String > Internals::shortcutIconURLs ( ) const

◆ simulateSystemSleep()

void Internals::simulateSystemSleep ( ) const

◆ simulateSystemWake()

void Internals::simulateSystemWake ( ) const

◆ startTrackingCompositingUpdates()

ExceptionOr< void > Internals::startTrackingCompositingUpdates ( )

◆ startTrackingLayerFlushes()

ExceptionOr< void > Internals::startTrackingLayerFlushes ( )

◆ startTrackingRepaints()

ExceptionOr< void > Internals::startTrackingRepaints ( )

◆ startTrackingStyleRecalcs()

ExceptionOr< void > Internals::startTrackingStyleRecalcs ( )

◆ stopTrackingRepaints()

ExceptionOr< void > Internals::stopTrackingRepaints ( )

◆ styleChangeType()

String Internals::styleChangeType ( Node node)

◆ styleRecalcCount()

ExceptionOr< unsigned > Internals::styleRecalcCount ( )

◆ subrange()

Ref< Range > Internals::subrange ( Range range,
int  rangeLocation,
int  rangeLength 
)

◆ suspendAnimations()

ExceptionOr< void > Internals::suspendAnimations ( ) const

◆ svgAnimationsInterval()

ExceptionOr< double > Internals::svgAnimationsInterval ( SVGSVGElement element) const

◆ testPreloaderSettingViewport()

bool Internals::testPreloaderSettingViewport ( )

◆ toggleOverwriteModeEnabled()

void Internals::toggleOverwriteModeEnabled ( )

◆ toolTipFromElement()

String Internals::toolTipFromElement ( Element element) const

◆ touchEventHandlerCount()

ExceptionOr< unsigned > Internals::touchEventHandlerCount ( )

◆ treeScopeRootNode()

Node * Internals::treeScopeRootNode ( Node node)

◆ typeConversions()

Ref< TypeConversions > Internals::typeConversions ( ) const

◆ updateEditorUINowIfScheduled()

void Internals::updateEditorUINowIfScheduled ( )

◆ updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks()

ExceptionOr< void > Internals::updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks ( Node node)

◆ userPreferredAudioCharacteristics()

Vector< String > Internals::userPreferredAudioCharacteristics ( ) const

◆ userPreferredLanguages()

Vector< String > Internals::userPreferredLanguages ( ) const

◆ userPrefersReducedMotion()

bool Internals::userPrefersReducedMotion ( ) const

◆ userVisibleString()

String Internals::userVisibleString ( const DOMURL url)

◆ visiblePlaceholder()

String Internals::visiblePlaceholder ( Element element)

◆ visualViewportRect()

ExceptionOr< Ref< ClientRect > > Internals::visualViewportRect ( )

◆ wasLastChangeUserEdit()

ExceptionOr< bool > Internals::wasLastChangeUserEdit ( Element textField)

◆ wheelEventHandlerCount()

ExceptionOr< unsigned > Internals::wheelEventHandlerCount ( )

◆ workerThreadCount()

unsigned Internals::workerThreadCount ( ) const

◆ xhrResponseSource()

String Internals::xhrResponseSource ( XMLHttpRequest request)

Member Data Documentation

◆ internalsId

const char * Internals::internalsId = "internals"
static

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