Searched refs:DocumentMarker (Results 1 - 25 of 38) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DDocumentMarkerController.h30 #include "core/dom/DocumentMarker.h"
50 bool operator()(const DocumentMarker&, const Text&) const;
64 void addMarker(Range*, DocumentMarker::MarkerType, const String& description = emptyString(), uint32_t hash = 0);
65 void addMarker(const Position& start, const Position& end, DocumentMarker::MarkerType, const String& description = emptyString(), uint32_t hash = 0);
69 bool hasMarkers(Range*, DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers());
76 void removeMarkers(Range*, DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers(), RemovePartiallyOverlappingMarkerOrNot = DoNotRemovePartiallyOverlappingMarker);
77 void removeMarkers(const Position& start, const Position& end, DocumentMarker::MarkerTypes = DocumentMarker
[all...]
H A DDocumentMarker.cpp32 #include "core/dom/DocumentMarker.h"
100 DocumentMarker::DocumentMarker() function in class:blink::DocumentMarker
108 DocumentMarker::DocumentMarker(MarkerType type, unsigned startOffset, unsigned endOffset, const String& description, uint32_t hash) function in class:blink::DocumentMarker
117 DocumentMarker::DocumentMarker(unsigned startOffset, unsigned endOffset, bool activeMatch) function in class:blink::DocumentMarker
118 : m_type(DocumentMarker::TextMatch)
126 DocumentMarker::DocumentMarker(MarkerTyp function in class:blink::DocumentMarker
135 DocumentMarker::DocumentMarker(const DocumentMarker& marker) function in class:blink::DocumentMarker
[all...]
H A DRenderedDocumentMarker.h30 #include "core/dom/DocumentMarker.h"
35 class RenderedDocumentMarker FINAL : public DocumentMarker {
37 static PassOwnPtrWillBeRawPtr<RenderedDocumentMarker> create(const DocumentMarker& marker)
50 explicit RenderedDocumentMarker(const DocumentMarker& marker)
51 : DocumentMarker(marker)
71 DEFINE_TYPE_CASTS(RenderedDocumentMarker, DocumentMarker, marker, true, true);
H A DDocumentMarker.h38 class DocumentMarker : public NoBaseWillBeGarbageCollected<DocumentMarker> { class in namespace:blink
95 DocumentMarker();
96 DocumentMarker(MarkerType, unsigned startOffset, unsigned endOffset, const String& description, uint32_t hash);
97 DocumentMarker(unsigned startOffset, unsigned endOffset, bool activeMatch);
98 DocumentMarker(MarkerType, unsigned startOffset, unsigned endOffset, PassRefPtrWillBeRawPtr<DocumentMarkerDetails>);
99 DocumentMarker(const DocumentMarker&);
119 bool operator==(const DocumentMarker& o) const
124 bool operator!=(const DocumentMarker
[all...]
H A DDocumentMarkerController.cpp49 bool MarkerRemoverPredicate::operator()(const DocumentMarker& documentMarker, const Text& textNode) const
60 DocumentMarker::MarkerTypeIndex MarkerTypeToMarkerIndex(DocumentMarker::MarkerType type)
63 case DocumentMarker::Spelling:
64 return DocumentMarker::SpellingMarkerIndex;
65 case DocumentMarker::Grammar:
66 return DocumentMarker::GramarMarkerIndex;
67 case DocumentMarker::TextMatch:
68 return DocumentMarker::TextMatchMarkerIndex;
69 case DocumentMarker
[all...]
H A DDocumentMarkerControllerTest.cpp83 markerController().addMarker(range.get(), DocumentMarker::Spelling);
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DSVGInlineTextBox.h74 virtual void paintDocumentMarker(GraphicsContext*, const FloatPoint&, DocumentMarker*, RenderStyle*, const Font&, bool) OVERRIDE FINAL;
75 virtual void paintTextMatchMarker(GraphicsContext*, const FloatPoint&, DocumentMarker*, RenderStyle*, const Font&) OVERRIDE FINAL;
H A DSVGInlineTextBox.cpp657 void SVGInlineTextBox::paintDocumentMarker(GraphicsContext*, const FloatPoint&, DocumentMarker*, RenderStyle*, const Font&, bool)
662 void SVGInlineTextBox::paintTextMatchMarker(GraphicsContext* context, const FloatPoint&, DocumentMarker* marker, RenderStyle* style, const Font& font)
665 if (marker->type() != DocumentMarker::TextMatch)
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DSpellCheckRequester.cpp80 const DocumentMarkerVector& markers = checkingRange->ownerDocument().markers().markersInRange(checkingRange.get(), DocumentMarker::SpellCheckClientMarkers());
263 DocumentMarker::MarkerTypes markers = DocumentMarker::SpellCheckClientMarkers();
265 markers.remove(DocumentMarker::Spelling);
267 markers.remove(DocumentMarker::Grammar);
H A DSpellChecker.cpp160 frame().document()->markers().removeMarkers(selectedRange.get(), DocumentMarker::Spelling);
312 frame().document()->markers().addMarker(badGrammarStart, badGrammarEnd, DocumentMarker::Grammar, grammarDetail.userDescription);
324 frame().document()->markers().addMarker(misspellingStart, misspellingEnd, DocumentMarker::Spelling);
343 frame().document()->markers().removeMarkers(selectedRange.get(), DocumentMarker::MisspellingMarkers());
617 misspellingRange->startContainer()->document().markers().addMarker(misspellingRange.get(), DocumentMarker::Spelling, result->replacement, result->hash);
625 badGrammarRange->startContainer()->document().markers().addMarker(badGrammarRange.get(), DocumentMarker::Grammar, detail->userDescription, result->hash);
631 invisibleSpellcheckRange->startContainer()->document().markers().addMarker(invisibleSpellcheckRange.get(), DocumentMarker::InvisibleSpellcheck, result->replacement, result->hash);
738 document->markers().removeMarkers(wordRange.get(), DocumentMarker::MisspellingMarkers(), DocumentMarkerController::RemovePartiallyOverlappingMarker);
748 DocumentMarker::MarkerTypes markerTypes(DocumentMarker
[all...]
H A DSpellChecker.h29 #include "core/dom/DocumentMarker.h"
82 bool selectionStartHasMarkerFor(DocumentMarker::MarkerType, int from, int length) const;
H A DTextCheckingHelper.cpp276 misspellingStart.containerNode()->document().markers().addMarker(misspellingStart, misspellingEnd, DocumentMarker::Spelling);
412 // Optionally add a DocumentMarker for each detail in the range.
433 badGrammarStart.containerNode()->document().markers().addMarker(badGrammarStart, badGrammarEnd, DocumentMarker::Grammar, detail->userDescription);
H A DCompositeEditCommand.cpp506 static void copyMarkerTypesAndDescriptions(const DocumentMarkerVector& markerPointers, Vector<DocumentMarker::MarkerType>& types, Vector<String>& descriptions)
521 Vector<DocumentMarker::MarkerType> types;
523 copyMarkerTypesAndDescriptions(markerController.markersInRange(Range::create(document(), node.get(), offset, node.get(), offset + count).get(), DocumentMarker::AllMarkers()), types, descriptions);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DInlineTextBox.h35 class DocumentMarker;
181 // These functions both paint markers and update the DocumentMarker's renderedRect.
182 virtual void paintDocumentMarker(GraphicsContext*, const FloatPoint& boxOrigin, DocumentMarker*, RenderStyle*, const Font&, bool grammar);
183 virtual void paintTextMatchMarker(GraphicsContext*, const FloatPoint& boxOrigin, DocumentMarker*, RenderStyle*, const Font&);
H A DInlineTextBox.cpp935 static GraphicsContext::DocumentMarkerLineStyle lineStyleForMarkerType(DocumentMarker::MarkerType markerType)
938 case DocumentMarker::Spelling:
940 case DocumentMarker::Grammar:
948 void InlineTextBox::paintDocumentMarker(GraphicsContext* pt, const FloatPoint& boxOrigin, DocumentMarker* marker, RenderStyle* style, const Font& font, bool grammar)
1016 void InlineTextBox::paintTextMatchMarker(GraphicsContext* pt, const FloatPoint& boxOrigin, DocumentMarker* marker, RenderStyle* style, const Font& font)
1073 DocumentMarker* marker = *markerIt;
1077 case DocumentMarker::Grammar:
1078 case DocumentMarker::Spelling:
1082 case DocumentMarker::TextMatch:
1101 case DocumentMarker
[all...]
H A DHitTestResult.cpp218 DocumentMarker* marker = m_innerNonSharedNode->document().markers().markerContainingPoint(m_hitTestLocation.point(), DocumentMarker::Grammar);
348 makeRange(pos, pos).get(), DocumentMarker::MisspellingMarkers()).size() > 0;
/external/chromium_org/third_party/WebKit/Source/web/
H A DSpellCheckerClientImpl.cpp100 toLocalFrame(frame)->document()->markers().removeMarkers(DocumentMarker::MisspellingMarkers());
H A DContextMenuClientImpl.cpp164 DocumentMarkerVector markers = selectedFrame->document()->markers().markersInRange(selectionRange.get(), DocumentMarker::MisspellingMarkers());
H A DTextFinder.cpp35 #include "core/dom/DocumentMarker.h"
185 m_ownerFrame.frame()->document()->markers().removeMarkers(DocumentMarker::TextMatch);
/external/chromium_org/third_party/WebKit/Source/core/testing/
H A DInternals.cpp48 #include "core/dom/DocumentMarker.h"
182 static bool markerTypesFrom(const String& markerType, DocumentMarker::MarkerTypes& result)
185 result = DocumentMarker::AllMarkers();
187 result = DocumentMarker::Spelling;
189 result = DocumentMarker::Grammar;
191 result = DocumentMarker::TextMatch;
710 DocumentMarker::MarkerTypes markerTypes = 0;
724 DocumentMarker::MarkerType markerType = DocumentMarker::TextMatch;
736 DocumentMarker* Internal
[all...]
H A DInternals.h53 class DocumentMarker;
335 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, ExceptionState&);
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DPage.cpp315 toLocalFrame(frame)->document()->markers().removeMarkers(DocumentMarker::TextMatch);
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DWebFrameTest.cpp4514 EXPECT_EQ(1U, document->markers().markersInRange(selectionRange.get(), DocumentMarker::Spelling).size());
4546 EXPECT_EQ(0U, document->markers().markersInRange(selectionRange.get(), DocumentMarker::Spelling).size());
4728 document->markers().addMarker(rangeOfContents(element->toNode()).get(), DocumentMarker::Spelling);
4729 document->markers().addMarker(rangeOfContents(element->toNode()).get(), DocumentMarker::Grammar);
4730 document->markers().addMarker(rangeOfContents(element->toNode()).get(), DocumentMarker::InvisibleSpellcheck);
4760 ASSERT_NE(static_cast<DocumentMarker*>(0), document->markers().markers()[0]);
4761 EXPECT_EQ(DocumentMarker::Spelling, document->markers().markers()[0]->type());
4767 ASSERT_NE(static_cast<DocumentMarker*>(0), document->markers().markers()[0]);
4768 EXPECT_EQ(DocumentMarker::Grammar, document->markers().markers()[0]->type());
4774 ASSERT_NE(static_cast<DocumentMarker*>(
[all...]
/external/chromium_org/third_party/WebKit/Source/core/
H A Dwebcore_dom.target.darwin-arm.mk70 third_party/WebKit/Source/core/dom/DocumentMarker.cpp \
H A Dwebcore_dom.target.darwin-arm64.mk70 third_party/WebKit/Source/core/dom/DocumentMarker.cpp \

Completed in 2477 milliseconds

12