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

#include <TextIndicator.h>

Inheritance diagram for WebCore::TextIndicator:
WTF::RefCounted< TextIndicator > WTF::RefCounted< TextIndicator > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Member Functions

WEBCORE_EXPORT ~TextIndicator ()
 
FloatRect selectionRectInRootViewCoordinates () const
 
FloatRect textBoundingRectInRootViewCoordinates () const
 
const Vector< FloatRect > & textRectsInBoundingRectCoordinates () const
 
float contentImageScaleFactor () const
 
ImagecontentImageWithHighlight () const
 
ImagecontentImage () const
 
TextIndicatorPresentationTransition presentationTransition () const
 
void setPresentationTransition (TextIndicatorPresentationTransition transition)
 
TextIndicatorData data () const
 
WEBCORE_EXPORT ~TextIndicator ()
 
FloatRect selectionRectInRootViewCoordinates () const
 
FloatRect textBoundingRectInRootViewCoordinates () const
 
const Vector< FloatRect > & textRectsInBoundingRectCoordinates () const
 
float contentImageScaleFactor () const
 
ImagecontentImageWithHighlight () const
 
ImagecontentImage () const
 
TextIndicatorPresentationTransition presentationTransition () const
 
void setPresentationTransition (TextIndicatorPresentationTransition transition)
 
TextIndicatorData data () const
 
- Public Member Functions inherited from WTF::RefCounted< TextIndicator >
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 WEBCORE_EXPORT Ref< TextIndicatorcreate (const TextIndicatorData &)
 
static WEBCORE_EXPORT RefPtr< TextIndicatorcreateWithSelectionInFrame (Frame &, TextIndicatorOptions, TextIndicatorPresentationTransition, FloatSize margin=FloatSize(defaultHorizontalMargin, defaultVerticalMargin))
 
static WEBCORE_EXPORT RefPtr< TextIndicatorcreateWithRange (const Range &, TextIndicatorOptions, TextIndicatorPresentationTransition, FloatSize margin=FloatSize(defaultHorizontalMargin, defaultVerticalMargin))
 
static WEBCORE_EXPORT Ref< TextIndicatorcreate (const TextIndicatorData &)
 
static WEBCORE_EXPORT RefPtr< TextIndicatorcreateWithSelectionInFrame (Frame &, TextIndicatorOptions, TextIndicatorPresentationTransition, FloatSize margin=FloatSize(defaultHorizontalMargin, defaultVerticalMargin))
 
static WEBCORE_EXPORT RefPtr< TextIndicatorcreateWithRange (const Range &, TextIndicatorOptions, TextIndicatorPresentationTransition, FloatSize margin=FloatSize(defaultHorizontalMargin, defaultVerticalMargin))
 

Static Public Attributes

static constexpr float defaultHorizontalMargin { 2 }
 
static constexpr float defaultVerticalMargin { 1 }
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ ~TextIndicator() [1/2]

WebCore::TextIndicator::~TextIndicator ( )

◆ ~TextIndicator() [2/2]

WEBCORE_EXPORT WebCore::TextIndicator::~TextIndicator ( )

Member Function Documentation

◆ contentImage() [1/2]

Image* WebCore::TextIndicator::contentImage ( ) const
inline

◆ contentImage() [2/2]

Image* WebCore::TextIndicator::contentImage ( ) const
inline

◆ contentImageScaleFactor() [1/2]

float WebCore::TextIndicator::contentImageScaleFactor ( ) const
inline

◆ contentImageScaleFactor() [2/2]

float WebCore::TextIndicator::contentImageScaleFactor ( ) const
inline

◆ contentImageWithHighlight() [1/2]

Image* WebCore::TextIndicator::contentImageWithHighlight ( ) const
inline

◆ contentImageWithHighlight() [2/2]

Image* WebCore::TextIndicator::contentImageWithHighlight ( ) const
inline

◆ create() [1/2]

Ref< TextIndicator > WebCore::TextIndicator::create ( const TextIndicatorData data)
static

◆ create() [2/2]

static WEBCORE_EXPORT Ref<TextIndicator> WebCore::TextIndicator::create ( const TextIndicatorData )
static

◆ createWithRange() [1/2]

RefPtr< TextIndicator > WebCore::TextIndicator::createWithRange ( const Range range,
TextIndicatorOptions  options,
TextIndicatorPresentationTransition  presentationTransition,
FloatSize  margin = FloatSize(defaultHorizontalMargindefaultVerticalMargin) 
)
static

◆ createWithRange() [2/2]

static WEBCORE_EXPORT RefPtr<TextIndicator> WebCore::TextIndicator::createWithRange ( const Range ,
TextIndicatorOptions  ,
TextIndicatorPresentationTransition  ,
FloatSize  margin = FloatSize(defaultHorizontalMargindefaultVerticalMargin) 
)
static

◆ createWithSelectionInFrame() [1/2]

RefPtr< TextIndicator > WebCore::TextIndicator::createWithSelectionInFrame ( Frame frame,
TextIndicatorOptions  options,
TextIndicatorPresentationTransition  presentationTransition,
FloatSize  margin = FloatSize(defaultHorizontalMargindefaultVerticalMargin) 
)
static

◆ createWithSelectionInFrame() [2/2]

static WEBCORE_EXPORT RefPtr<TextIndicator> WebCore::TextIndicator::createWithSelectionInFrame ( Frame ,
TextIndicatorOptions  ,
TextIndicatorPresentationTransition  ,
FloatSize  margin = FloatSize(defaultHorizontalMargindefaultVerticalMargin) 
)
static

◆ data() [1/2]

TextIndicatorData WebCore::TextIndicator::data ( ) const
inline

◆ data() [2/2]

TextIndicatorData WebCore::TextIndicator::data ( ) const
inline

◆ presentationTransition() [1/2]

TextIndicatorPresentationTransition WebCore::TextIndicator::presentationTransition ( ) const
inline

◆ presentationTransition() [2/2]

TextIndicatorPresentationTransition WebCore::TextIndicator::presentationTransition ( ) const
inline

◆ selectionRectInRootViewCoordinates() [1/2]

FloatRect WebCore::TextIndicator::selectionRectInRootViewCoordinates ( ) const
inline

◆ selectionRectInRootViewCoordinates() [2/2]

FloatRect WebCore::TextIndicator::selectionRectInRootViewCoordinates ( ) const
inline

◆ setPresentationTransition() [1/2]

void WebCore::TextIndicator::setPresentationTransition ( TextIndicatorPresentationTransition  transition)
inline

◆ setPresentationTransition() [2/2]

void WebCore::TextIndicator::setPresentationTransition ( TextIndicatorPresentationTransition  transition)
inline

◆ textBoundingRectInRootViewCoordinates() [1/2]

FloatRect WebCore::TextIndicator::textBoundingRectInRootViewCoordinates ( ) const
inline

◆ textBoundingRectInRootViewCoordinates() [2/2]

FloatRect WebCore::TextIndicator::textBoundingRectInRootViewCoordinates ( ) const
inline

◆ textRectsInBoundingRectCoordinates() [1/2]

const Vector<FloatRect>& WebCore::TextIndicator::textRectsInBoundingRectCoordinates ( ) const
inline

◆ textRectsInBoundingRectCoordinates() [2/2]

const Vector<FloatRect>& WebCore::TextIndicator::textRectsInBoundingRectCoordinates ( ) const
inline

Member Data Documentation

◆ defaultHorizontalMargin

static constexpr float WebCore::TextIndicator::defaultHorizontalMargin { 2 }
static

◆ defaultVerticalMargin

static constexpr float WebCore::TextIndicator::defaultVerticalMargin { 1 }
static

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