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

#include <UIScriptController.h>

Inheritance diagram for WTR::UIScriptController:
WTR::JSWrappable WTF::RefCounted< JSWrappable > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Member Functions

void contextDestroyed ()
 
void checkForOutstandingCallbacks ()
 
void makeWindowObject (JSContextRef, JSObjectRef windowObject, JSValueRef *exception)
 
void doAsyncTask (JSValueRef callback)
 
void doAfterPresentationUpdate (JSValueRef callback)
 
void doAfterNextStablePresentationUpdate (JSValueRef callback)
 
void doAfterVisibleContentRectUpdate (JSValueRef callback)
 
void zoomToScale (double scale, JSValueRef callback)
 
void simulateAccessibilitySettingsChangeNotification (JSValueRef callback)
 
void touchDownAtPoint (long x, long y, long touchCount, JSValueRef callback)
 
void liftUpAtPoint (long x, long y, long touchCount, JSValueRef callback)
 
void singleTapAtPoint (long x, long y, JSValueRef callback)
 
void doubleTapAtPoint (long x, long y, JSValueRef callback)
 
void dragFromPointToPoint (long startX, long startY, long endX, long endY, double durationSeconds, JSValueRef callback)
 
void stylusDownAtPoint (long x, long y, float azimuthAngle, float altitudeAngle, float pressure, JSValueRef callback)
 
void stylusMoveToPoint (long x, long y, float azimuthAngle, float altitudeAngle, float pressure, JSValueRef callback)
 
void stylusUpAtPoint (long x, long y, JSValueRef callback)
 
void stylusTapAtPoint (long x, long y, float azimuthAngle, float altitudeAngle, float pressure, JSValueRef callback)
 
void longPressAtPoint (long x, long y, JSValueRef callback)
 
void sendEventStream (JSStringRef eventsJSON, JSValueRef callback)
 
void typeCharacterUsingHardwareKeyboard (JSStringRef character, JSValueRef callback)
 
void keyDownUsingHardwareKeyboard (JSStringRef character, JSValueRef callback)
 
void keyUpUsingHardwareKeyboard (JSStringRef character, JSValueRef callback)
 
void selectTextCandidateAtIndex (long index, JSValueRef callback)
 
void keyboardAccessoryBarNext ()
 
void keyboardAccessoryBarPrevious ()
 
void dismissFormAccessoryView ()
 
void selectFormAccessoryPickerRow (long)
 
JSObjectRef contentsOfUserInterfaceItem (JSStringRef) const
 
void overridePreference (JSStringRef preference, JSStringRef value)
 
void scrollToOffset (long x, long y)
 
void immediateScrollToOffset (long x, long y)
 
void immediateZoomToScale (double scale)
 
void setDidStartFormControlInteractionCallback (JSValueRef)
 
JSValueRef didStartFormControlInteractionCallback () const
 
void setDidEndFormControlInteractionCallback (JSValueRef)
 
JSValueRef didEndFormControlInteractionCallback () const
 
void setDidShowForcePressPreviewCallback (JSValueRef)
 
JSValueRef didShowForcePressPreviewCallback () const
 
void setDidDismissForcePressPreviewCallback (JSValueRef)
 
JSValueRef didDismissForcePressPreviewCallback () const
 
void setWillBeginZoomingCallback (JSValueRef)
 
JSValueRef willBeginZoomingCallback () const
 
void setDidEndZoomingCallback (JSValueRef)
 
JSValueRef didEndZoomingCallback () const
 
void setDidShowKeyboardCallback (JSValueRef)
 
JSValueRef didShowKeyboardCallback () const
 
void setDidHideKeyboardCallback (JSValueRef)
 
JSValueRef didHideKeyboardCallback () const
 
void setDidEndScrollingCallback (JSValueRef)
 
JSValueRef didEndScrollingCallback () const
 
double zoomScale () const
 
double minimumZoomScale () const
 
double maximumZoomScale () const
 
std::optional< bool > stableStateOverride () const
 
void setStableStateOverride (std::optional< bool >)
 
JSObjectRef contentVisibleRect () const
 
JSObjectRef selectionRangeViewRects () const
 
JSObjectRef textSelectionCaretRect () const
 
JSObjectRef inputViewBounds () const
 
void insertText (JSStringRef, int location, int length)
 
void removeAllDynamicDictionaries ()
 
JSRetainPtr< JSStringRefscrollingTreeAsText () const
 
void uiScriptComplete (JSStringRef result)
 
void retrieveSpeakSelectionContent (JSValueRef)
 
JSRetainPtr< JSStringRefaccessibilitySpeakSelectionContent () const
 
void removeViewFromWindow (JSValueRef)
 
void addViewToWindow (JSValueRef)
 
- Public Member Functions inherited from WTR::JSWrappable
virtual ~JSWrappable ()
 
- Public Member Functions inherited from WTF::RefCounted< JSWrappable >
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< UIScriptControllercreate (UIScriptContext &context)
 

Additional Inherited Members

- Protected Member Functions inherited from WTF::RefCounted< JSWrappable >
 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 Function Documentation

◆ accessibilitySpeakSelectionContent()

JSRetainPtr< JSStringRef > UIScriptController::accessibilitySpeakSelectionContent ( ) const

◆ addViewToWindow()

void UIScriptController::addViewToWindow ( JSValueRef  callback)

◆ checkForOutstandingCallbacks()

void UIScriptController::checkForOutstandingCallbacks ( )

◆ contentsOfUserInterfaceItem()

JSObjectRef UIScriptController::contentsOfUserInterfaceItem ( JSStringRef  interfaceItem) const

◆ contentVisibleRect()

JSObjectRef UIScriptController::contentVisibleRect ( ) const

◆ contextDestroyed()

void UIScriptController::contextDestroyed ( )

◆ create()

static Ref<UIScriptController> WTR::UIScriptController::create ( UIScriptContext context)
inlinestatic

◆ didDismissForcePressPreviewCallback()

JSValueRef UIScriptController::didDismissForcePressPreviewCallback ( ) const

◆ didEndFormControlInteractionCallback()

JSValueRef UIScriptController::didEndFormControlInteractionCallback ( ) const

◆ didEndScrollingCallback()

JSValueRef UIScriptController::didEndScrollingCallback ( ) const

◆ didEndZoomingCallback()

JSValueRef UIScriptController::didEndZoomingCallback ( ) const

◆ didHideKeyboardCallback()

JSValueRef UIScriptController::didHideKeyboardCallback ( ) const

◆ didShowForcePressPreviewCallback()

JSValueRef UIScriptController::didShowForcePressPreviewCallback ( ) const

◆ didShowKeyboardCallback()

JSValueRef UIScriptController::didShowKeyboardCallback ( ) const

◆ didStartFormControlInteractionCallback()

JSValueRef UIScriptController::didStartFormControlInteractionCallback ( ) const

◆ dismissFormAccessoryView()

void UIScriptController::dismissFormAccessoryView ( )

◆ doAfterNextStablePresentationUpdate()

void UIScriptController::doAfterNextStablePresentationUpdate ( JSValueRef  callback)

◆ doAfterPresentationUpdate()

void UIScriptController::doAfterPresentationUpdate ( JSValueRef  callback)

◆ doAfterVisibleContentRectUpdate()

void UIScriptController::doAfterVisibleContentRectUpdate ( JSValueRef  callback)

◆ doAsyncTask()

void UIScriptController::doAsyncTask ( JSValueRef  callback)

◆ doubleTapAtPoint()

void UIScriptController::doubleTapAtPoint ( long  x,
long  y,
JSValueRef  callback 
)

◆ dragFromPointToPoint()

void UIScriptController::dragFromPointToPoint ( long  startX,
long  startY,
long  endX,
long  endY,
double  durationSeconds,
JSValueRef  callback 
)

◆ immediateScrollToOffset()

void UIScriptController::immediateScrollToOffset ( long  x,
long  y 
)

◆ immediateZoomToScale()

void UIScriptController::immediateZoomToScale ( double  scale)

◆ inputViewBounds()

JSObjectRef UIScriptController::inputViewBounds ( ) const

◆ insertText()

void UIScriptController::insertText ( JSStringRef  text,
int  location,
int  length 
)

◆ keyboardAccessoryBarNext()

void UIScriptController::keyboardAccessoryBarNext ( )

◆ keyboardAccessoryBarPrevious()

void UIScriptController::keyboardAccessoryBarPrevious ( )

◆ keyDownUsingHardwareKeyboard()

void UIScriptController::keyDownUsingHardwareKeyboard ( JSStringRef  character,
JSValueRef  callback 
)

◆ keyUpUsingHardwareKeyboard()

void UIScriptController::keyUpUsingHardwareKeyboard ( JSStringRef  character,
JSValueRef  callback 
)

◆ liftUpAtPoint()

void UIScriptController::liftUpAtPoint ( long  x,
long  y,
long  touchCount,
JSValueRef  callback 
)

◆ longPressAtPoint()

void UIScriptController::longPressAtPoint ( long  x,
long  y,
JSValueRef  callback 
)

◆ makeWindowObject()

void UIScriptController::makeWindowObject ( JSContextRef  context,
JSObjectRef  windowObject,
JSValueRef exception 
)

◆ maximumZoomScale()

double UIScriptController::maximumZoomScale ( ) const

◆ minimumZoomScale()

double UIScriptController::minimumZoomScale ( ) const

◆ overridePreference()

void UIScriptController::overridePreference ( JSStringRef  preference,
JSStringRef  value 
)

◆ removeAllDynamicDictionaries()

void UIScriptController::removeAllDynamicDictionaries ( )

◆ removeViewFromWindow()

void UIScriptController::removeViewFromWindow ( JSValueRef  callback)

◆ retrieveSpeakSelectionContent()

void UIScriptController::retrieveSpeakSelectionContent ( JSValueRef  )

◆ scrollingTreeAsText()

JSRetainPtr< JSStringRef > UIScriptController::scrollingTreeAsText ( ) const

◆ scrollToOffset()

void UIScriptController::scrollToOffset ( long  x,
long  y 
)

◆ selectFormAccessoryPickerRow()

void UIScriptController::selectFormAccessoryPickerRow ( long  )

◆ selectionRangeViewRects()

JSObjectRef UIScriptController::selectionRangeViewRects ( ) const

◆ selectTextCandidateAtIndex()

void UIScriptController::selectTextCandidateAtIndex ( long  index,
JSValueRef  callback 
)

◆ sendEventStream()

void UIScriptController::sendEventStream ( JSStringRef  eventsJSON,
JSValueRef  callback 
)

◆ setDidDismissForcePressPreviewCallback()

void UIScriptController::setDidDismissForcePressPreviewCallback ( JSValueRef  callback)

◆ setDidEndFormControlInteractionCallback()

void UIScriptController::setDidEndFormControlInteractionCallback ( JSValueRef  callback)

◆ setDidEndScrollingCallback()

void UIScriptController::setDidEndScrollingCallback ( JSValueRef  callback)

◆ setDidEndZoomingCallback()

void UIScriptController::setDidEndZoomingCallback ( JSValueRef  callback)

◆ setDidHideKeyboardCallback()

void UIScriptController::setDidHideKeyboardCallback ( JSValueRef  callback)

◆ setDidShowForcePressPreviewCallback()

void UIScriptController::setDidShowForcePressPreviewCallback ( JSValueRef  callback)

◆ setDidShowKeyboardCallback()

void UIScriptController::setDidShowKeyboardCallback ( JSValueRef  callback)

◆ setDidStartFormControlInteractionCallback()

void UIScriptController::setDidStartFormControlInteractionCallback ( JSValueRef  callback)

◆ setStableStateOverride()

void UIScriptController::setStableStateOverride ( std::optional< bool >  )

◆ setWillBeginZoomingCallback()

void UIScriptController::setWillBeginZoomingCallback ( JSValueRef  callback)

◆ simulateAccessibilitySettingsChangeNotification()

void UIScriptController::simulateAccessibilitySettingsChangeNotification ( JSValueRef  callback)

◆ singleTapAtPoint()

void UIScriptController::singleTapAtPoint ( long  x,
long  y,
JSValueRef  callback 
)

◆ stableStateOverride()

std::optional< bool > UIScriptController::stableStateOverride ( ) const

◆ stylusDownAtPoint()

void UIScriptController::stylusDownAtPoint ( long  x,
long  y,
float  azimuthAngle,
float  altitudeAngle,
float  pressure,
JSValueRef  callback 
)

◆ stylusMoveToPoint()

void UIScriptController::stylusMoveToPoint ( long  x,
long  y,
float  azimuthAngle,
float  altitudeAngle,
float  pressure,
JSValueRef  callback 
)

◆ stylusTapAtPoint()

void UIScriptController::stylusTapAtPoint ( long  x,
long  y,
float  azimuthAngle,
float  altitudeAngle,
float  pressure,
JSValueRef  callback 
)

◆ stylusUpAtPoint()

void UIScriptController::stylusUpAtPoint ( long  x,
long  y,
JSValueRef  callback 
)

◆ textSelectionCaretRect()

JSObjectRef UIScriptController::textSelectionCaretRect ( ) const

◆ touchDownAtPoint()

void UIScriptController::touchDownAtPoint ( long  x,
long  y,
long  touchCount,
JSValueRef  callback 
)

◆ typeCharacterUsingHardwareKeyboard()

void UIScriptController::typeCharacterUsingHardwareKeyboard ( JSStringRef  character,
JSValueRef  callback 
)

◆ uiScriptComplete()

void UIScriptController::uiScriptComplete ( JSStringRef  result)

◆ willBeginZoomingCallback()

JSValueRef UIScriptController::willBeginZoomingCallback ( ) const

◆ zoomScale()

double UIScriptController::zoomScale ( ) const

◆ zoomToScale()

void UIScriptController::zoomToScale ( double  scale,
JSValueRef  callback 
)

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