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

#include <RenderedDocumentMarker.h>

Inheritance diagram for WebCore::RenderedDocumentMarker:
WebCore::DocumentMarker WebCore::DocumentMarker

Public Member Functions

 RenderedDocumentMarker (const DocumentMarker &marker)
 
bool contains (const FloatPoint &point) const
 
void setUnclippedAbsoluteRects (Vector< FloatRect > &rects)
 
const Vector< FloatRect, 1 > & unclippedAbsoluteRects () const
 
void invalidate ()
 
bool isValid () const
 
 RenderedDocumentMarker (const DocumentMarker &marker)
 
bool contains (const FloatPoint &point) const
 
void setUnclippedAbsoluteRects (Vector< FloatRect > &rects)
 
const Vector< FloatRect, 1 > & unclippedAbsoluteRects () const
 
void invalidate ()
 
bool isValid () const
 
- Public Member Functions inherited from WebCore::DocumentMarker
 DocumentMarker (unsigned startOffset, unsigned endOffset, bool isActiveMatch)
 
 DocumentMarker (MarkerType, unsigned startOffset, unsigned endOffset, const String &description=String())
 
 DocumentMarker (MarkerType, unsigned startOffset, unsigned endOffset, Data &&)
 
MarkerType type () const
 
unsigned startOffset () const
 
unsigned endOffset () const
 
const Stringdescription () const
 
bool isActiveMatch () const
 
void setActiveMatch (bool)
 
const Datadata () const
 
void clearData ()
 
void setStartOffset (unsigned offset)
 
void setEndOffset (unsigned offset)
 
void shiftOffsets (int delta)
 
 DocumentMarker (unsigned startOffset, unsigned endOffset, bool isActiveMatch)
 
 DocumentMarker (MarkerType, unsigned startOffset, unsigned endOffset, const String &description=String())
 
 DocumentMarker (MarkerType, unsigned startOffset, unsigned endOffset, Data &&)
 
MarkerType type () const
 
unsigned startOffset () const
 
unsigned endOffset () const
 
const Stringdescription () const
 
bool isActiveMatch () const
 
void setActiveMatch (bool)
 
const Datadata () const
 
void clearData ()
 
void setStartOffset (unsigned offset)
 
void setEndOffset (unsigned offset)
 
void shiftOffsets (int delta)
 

Additional Inherited Members

- Public Types inherited from WebCore::DocumentMarker
enum  MarkerType {
  Spelling = 1 << 0, Grammar = 1 << 1, TextMatch = 1 << 2, Replacement = 1 << 3,
  CorrectionIndicator = 1 << 4, RejectedCorrection = 1 << 5, Autocorrected = 1 << 6, SpellCheckingExemption = 1 << 7,
  DeletedAutocorrection = 1 << 8, DictationAlternatives = 1 << 9, AcceptedCandidate = 1 << 13, Spelling = 1 << 0,
  Grammar = 1 << 1, TextMatch = 1 << 2, Replacement = 1 << 3, CorrectionIndicator = 1 << 4,
  RejectedCorrection = 1 << 5, Autocorrected = 1 << 6, SpellCheckingExemption = 1 << 7, DeletedAutocorrection = 1 << 8,
  DictationAlternatives = 1 << 9, AcceptedCandidate = 1 << 13
}
 
enum  MarkerType {
  Spelling = 1 << 0, Grammar = 1 << 1, TextMatch = 1 << 2, Replacement = 1 << 3,
  CorrectionIndicator = 1 << 4, RejectedCorrection = 1 << 5, Autocorrected = 1 << 6, SpellCheckingExemption = 1 << 7,
  DeletedAutocorrection = 1 << 8, DictationAlternatives = 1 << 9, AcceptedCandidate = 1 << 13, Spelling = 1 << 0,
  Grammar = 1 << 1, TextMatch = 1 << 2, Replacement = 1 << 3, CorrectionIndicator = 1 << 4,
  RejectedCorrection = 1 << 5, Autocorrected = 1 << 6, SpellCheckingExemption = 1 << 7, DeletedAutocorrection = 1 << 8,
  DictationAlternatives = 1 << 9, AcceptedCandidate = 1 << 13
}
 
using IsActiveMatchData = bool
 
using DescriptionData = String
 
using Data = Variant< IsActiveMatchData, DescriptionData, DictationData, DictationAlternativesData >
 
using IsActiveMatchData = bool
 
using DescriptionData = String
 
using Data = Variant< IsActiveMatchData, DescriptionData, DictationData, DictationAlternativesData >
 

Constructor & Destructor Documentation

◆ RenderedDocumentMarker() [1/2]

WebCore::RenderedDocumentMarker::RenderedDocumentMarker ( const DocumentMarker marker)
inlineexplicit

◆ RenderedDocumentMarker() [2/2]

WebCore::RenderedDocumentMarker::RenderedDocumentMarker ( const DocumentMarker marker)
inlineexplicit

Member Function Documentation

◆ contains() [1/2]

bool WebCore::RenderedDocumentMarker::contains ( const FloatPoint point) const
inline

◆ contains() [2/2]

bool WebCore::RenderedDocumentMarker::contains ( const FloatPoint point) const
inline

◆ invalidate() [1/2]

void WebCore::RenderedDocumentMarker::invalidate ( )
inline

◆ invalidate() [2/2]

void WebCore::RenderedDocumentMarker::invalidate ( )
inline

◆ isValid() [1/2]

bool WebCore::RenderedDocumentMarker::isValid ( ) const
inline

◆ isValid() [2/2]

bool WebCore::RenderedDocumentMarker::isValid ( ) const
inline

◆ setUnclippedAbsoluteRects() [1/2]

void WebCore::RenderedDocumentMarker::setUnclippedAbsoluteRects ( Vector< FloatRect > &  rects)
inline

◆ setUnclippedAbsoluteRects() [2/2]

void WebCore::RenderedDocumentMarker::setUnclippedAbsoluteRects ( Vector< FloatRect > &  rects)
inline

◆ unclippedAbsoluteRects() [1/2]

const Vector<FloatRect, 1>& WebCore::RenderedDocumentMarker::unclippedAbsoluteRects ( ) const
inline

◆ unclippedAbsoluteRects() [2/2]

const Vector<FloatRect, 1>& WebCore::RenderedDocumentMarker::unclippedAbsoluteRects ( ) const
inline

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