OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MarkerTypes
(Results
1 - 3
of
3
) sorted by null
/external/webkit/Source/WebCore/dom/
DocumentMarker.h
58
class
MarkerTypes
{
61
MarkerTypes
(unsigned mask) : m_mask(mask) { }
64
bool intersects(const
MarkerTypes
& types) const { return (m_mask & types.m_mask); }
65
bool operator==(const
MarkerTypes
& other) const { return m_mask == other.m_mask; }
67
void add(const
MarkerTypes
& types) { m_mask |= types.m_mask; }
68
void remove(const
MarkerTypes
& types) { m_mask &= ~types.m_mask; }
74
class AllMarkers : public
MarkerTypes
{
77
:
MarkerTypes
(Spelling | Grammar | TextMatch | Replacement | CorrectionIndicator | RejectedCorrection | Autocorrected | SpellCheckingExemption)
DocumentMarkerController.h
51
bool hasMarkers(Range*, DocumentMarker::
MarkerTypes
= DocumentMarker::AllMarkers());
57
void removeMarkers(Range*, DocumentMarker::
MarkerTypes
= DocumentMarker::AllMarkers(), RemovePartiallyOverlappingMarkerOrNot = DoNotRemovePartiallyOverlappingMarker);
58
void removeMarkers(Node*, unsigned startOffset, int length, DocumentMarker::
MarkerTypes
= DocumentMarker::AllMarkers(), RemovePartiallyOverlappingMarkerOrNot = DoNotRemovePartiallyOverlappingMarker);
60
void removeMarkers(DocumentMarker::
MarkerTypes
= DocumentMarker::AllMarkers());
61
void removeMarkers(Node*, DocumentMarker::
MarkerTypes
= DocumentMarker::AllMarkers());
62
void repaintMarkers(DocumentMarker::
MarkerTypes
= DocumentMarker::AllMarkers());
73
void clearDescriptionOnMarkersIntersectingRange(Range*, DocumentMarker::
MarkerTypes
);
82
bool possiblyHasMarkers(DocumentMarker::
MarkerTypes
);
83
void removeMarkersFromMarkerMapVectorPair(Node*, MarkerMapVectorPair*, DocumentMarker::
MarkerTypes
);
87
DocumentMarker::
MarkerTypes
m_possiblyExistingMarkerTypes
[
all
...]
DocumentMarkerController.cpp
41
inline bool DocumentMarkerController::possiblyHasMarkers(DocumentMarker::
MarkerTypes
types)
71
void DocumentMarkerController::removeMarkers(Range* range, DocumentMarker::
MarkerTypes
markerTypes
, RemovePartiallyOverlappingMarkerOrNot shouldRemovePartiallyOverlappingMarker)
74
if (!possiblyHasMarkers(
markerTypes
))
81
removeMarkers(textPiece->startContainer(), startOffset, endOffset - startOffset,
markerTypes
, shouldRemovePartiallyOverlappingMarker);
201
void DocumentMarkerController::removeMarkers(Node* node, unsigned startOffset, int length, DocumentMarker::
MarkerTypes
markerTypes
, RemovePartiallyOverlappingMarkerOrNot shouldRemovePartiallyOverlappingMarker)
206
if (!possiblyHasMarkers(
markerTypes
))
227
if (marker.endOffset <= startOffset || !
markerTypes
.contains(marker.type)) {
385
void DocumentMarkerController::removeMarkers(Node* node, DocumentMarker::
MarkerTypes
markerTypes
[
all
...]
Completed in 47 milliseconds