/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | DocumentMarkerController.h | 52 void addMarker(Range*, DocumentMarker::MarkerType); 53 void addMarker(Range*, DocumentMarker::MarkerType, const String& description); 54 void addMarker(Range*, DocumentMarker::MarkerType, const String& description, uint32_t hash); 55 void addMarkerToNode(Node*, unsigned startOffset, unsigned length, DocumentMarker::MarkerType); 56 …void addMarkerToNode(Node*, unsigned startOffset, unsigned length, DocumentMarker::MarkerType, Pas… 60 bool hasMarkers(Range*, DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); 67 …void removeMarkers(Range*, DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers(), RemoveParti… 68 …emoveMarkers(Node*, unsigned startOffset, int length, DocumentMarker::MarkerTypes = DocumentMarker… 70 void removeMarkers(DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); 71 void removeMarkers(Node*, DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); [all …]
|
D | DocumentMarkerController.cpp | 45 DocumentMarker::MarkerTypeIndex MarkerTypeToMarkerIndex(DocumentMarker::MarkerType type) in MarkerTypeToMarkerIndex() 48 case DocumentMarker::Spelling: in MarkerTypeToMarkerIndex() 49 return DocumentMarker::SpellingMarkerIndex; in MarkerTypeToMarkerIndex() 50 case DocumentMarker::Grammar: in MarkerTypeToMarkerIndex() 51 return DocumentMarker::GramarMarkerIndex; in MarkerTypeToMarkerIndex() 52 case DocumentMarker::TextMatch: in MarkerTypeToMarkerIndex() 53 return DocumentMarker::TextMatchMarkerIndex; in MarkerTypeToMarkerIndex() 54 case DocumentMarker::InvisibleSpellcheck: in MarkerTypeToMarkerIndex() 55 return DocumentMarker::InvisibleSpellcheckMarkerIndex; in MarkerTypeToMarkerIndex() 59 return DocumentMarker::SpellingMarkerIndex; in MarkerTypeToMarkerIndex() [all …]
|
D | DocumentMarker.cpp | 100 DocumentMarker::DocumentMarker() in DocumentMarker() function in WebCore::DocumentMarker 108 DocumentMarker::DocumentMarker(MarkerType type, unsigned startOffset, unsigned endOffset) in DocumentMarker() function in WebCore::DocumentMarker 116 DocumentMarker::DocumentMarker(MarkerType type, unsigned startOffset, unsigned endOffset, const Str… in DocumentMarker() function in WebCore::DocumentMarker 125 DocumentMarker::DocumentMarker(MarkerType type, unsigned startOffset, unsigned endOffset, const Str… in DocumentMarker() function in WebCore::DocumentMarker 134 DocumentMarker::DocumentMarker(unsigned startOffset, unsigned endOffset, bool activeMatch) in DocumentMarker() function in WebCore::DocumentMarker 135 : m_type(DocumentMarker::TextMatch) in DocumentMarker() 143 DocumentMarker::DocumentMarker(MarkerType type, unsigned startOffset, unsigned endOffset, PassRefPt… in DocumentMarker() function in WebCore::DocumentMarker 152 void DocumentMarker::shiftOffsets(int delta) in shiftOffsets() 158 void DocumentMarker::setActiveMatch(bool active) in setActiveMatch() 163 const String& DocumentMarker::description() const in description() [all …]
|
D | DocumentMarker.h | 39 class DocumentMarker { 96 DocumentMarker(); 97 DocumentMarker(MarkerType, unsigned startOffset, unsigned endOffset); 98 DocumentMarker(MarkerType, unsigned startOffset, unsigned endOffset, const String& description); 99 …DocumentMarker(MarkerType, unsigned startOffset, unsigned endOffset, const String& description, ui… 100 DocumentMarker(unsigned startOffset, unsigned endOffset, bool activeMatch); 101 …DocumentMarker(MarkerType, unsigned startOffset, unsigned endOffset, PassRefPtr<DocumentMarkerDeta… 121 bool operator==(const DocumentMarker& o) const 126 bool operator!=(const DocumentMarker& o) const 139 inline DocumentMarkerDetails* DocumentMarker::details() const in details()
|
D | RenderedDocumentMarker.h | 34 class RenderedDocumentMarker : public DocumentMarker { 37 explicit RenderedDocumentMarker(const DocumentMarker& marker) in RenderedDocumentMarker() 38 : DocumentMarker(marker), m_renderedRect(invalidMarkerRect()) in RenderedDocumentMarker() 65 inline RenderedDocumentMarker* toRenderedDocumentMarker(DocumentMarker* marker) in toRenderedDocumentMarker()
|
D | DocumentMarkerControllerTest.cpp | 83 markerController().addMarker(range.get(), DocumentMarker::Spelling); in markNodeContents()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
D | SVGInlineFlowBox.cpp | 93 Vector<DocumentMarker*> markers = document.markers()->markersFor(textRenderer->node()); in computeTextMatchMarkerRectForRenderer() 95 Vector<DocumentMarker*>::iterator markerEnd = markers.end(); in computeTextMatchMarkerRectForRenderer() 96 …for (Vector<DocumentMarker*>::iterator markerIt = markers.begin(); markerIt != markerEnd; ++marker… in computeTextMatchMarkerRectForRenderer() 97 DocumentMarker* marker = *markerIt; in computeTextMatchMarkerRectForRenderer() 100 if (marker->type() != DocumentMarker::TextMatch) in computeTextMatchMarkerRectForRenderer()
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | SpellCheckRequester.cpp | 71 …const Vector<DocumentMarker*>& markers = checkingRange->ownerDocument().markers()->markersInRange(… in create() 250 DocumentMarker::MarkerTypes markers = DocumentMarker::SpellCheckClientMarkers(); in didCheckSucceed() 252 markers.remove(DocumentMarker::Spelling); in didCheckSucceed() 254 markers.remove(DocumentMarker::Grammar); in didCheckSucceed()
|
D | SpellChecker.cpp | 147 m_frame.document()->markers()->removeMarkers(selectedRange.get(), DocumentMarker::Spelling); in ignoreSpelling() 293 …m_frame.document()->markers()->addMarker(badGrammarRange.get(), DocumentMarker::Grammar, grammarDe… in advanceToNextMisspelling() 303 m_frame.document()->markers()->addMarker(misspellingRange.get(), DocumentMarker::Spelling); in advanceToNextMisspelling() 352 …m_frame.document()->markers()->removeMarkers(selectedRange.get(), DocumentMarker::MisspellingMarke… in clearMisspellingsAndBadGrammar() 602 …Container()->document().markers()->addMarker(misspellingRange.get(), DocumentMarker::Spelling, res… in markAndReplaceFor() 610 …tContainer()->document().markers()->addMarker(badGrammarRange.get(), DocumentMarker::Grammar, deta… in markAndReplaceFor() 616 …r()->document().markers()->addMarker(invisibleSpellcheckRange.get(), DocumentMarker::InvisibleSpel… in markAndReplaceFor() 724 …document->markers()->removeMarkers(wordRange.get(), DocumentMarker::MisspellingMarkers(), Document… in updateMarkersForWordsAffectedByEditing() 734 DocumentMarker::MarkerTypes markerTypes(DocumentMarker::Spelling); in didEndEditingOnTextField() 736 markerTypes.add(DocumentMarker::Grammar); in didEndEditingOnTextField() [all …]
|
D | SpellChecker.h | 78 bool selectionStartHasMarkerFor(DocumentMarker::MarkerType, int from, int length) const;
|
D | TextCheckingHelper.cpp | 274 …tartContainer()->document().markers()->addMarker(misspellingRange.get(), DocumentMarker::Spelling); in findFirstMisspelling() 435 …tContainer()->document().markers()->addMarker(badGrammarRange.get(), DocumentMarker::Grammar, deta… in findFirstGrammarDetail()
|
D | CompositeEditCommand.cpp | 530 static void copyMarkers(const Vector<DocumentMarker*>& markerPointers, Vector<DocumentMarker>& mark… in copyMarkers() 542 Vector<DocumentMarker> markers; in replaceTextInNodePreservingMarkers() 543 …e(document(), node.get(), offset, node.get(), offset + count).get(), DocumentMarker::AllMarkers())… in replaceTextInNodePreservingMarkers()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | InlineTextBox.h | 35 class DocumentMarker; variable 186 …void paintDocumentMarker(GraphicsContext*, const FloatPoint& boxOrigin, DocumentMarker*, RenderSty… 187 …void paintTextMatchMarker(GraphicsContext*, const FloatPoint& boxOrigin, DocumentMarker*, RenderSt…
|
D | InlineTextBox.cpp | 1177 static GraphicsContext::DocumentMarkerLineStyle lineStyleForMarkerType(DocumentMarker::MarkerType m… in lineStyleForMarkerType() 1180 case DocumentMarker::Spelling: in lineStyleForMarkerType() 1182 case DocumentMarker::Grammar: in lineStyleForMarkerType() 1190 …aintDocumentMarker(GraphicsContext* pt, const FloatPoint& boxOrigin, DocumentMarker* marker, Rende… in paintDocumentMarker() 1258 …intTextMatchMarker(GraphicsContext* pt, const FloatPoint& boxOrigin, DocumentMarker* marker, Rende… in paintTextMatchMarker() 1291 …Vector<DocumentMarker*> markers = renderer()->document().markers()->markersFor(renderer()->node()); in paintDocumentMarkers() 1292 Vector<DocumentMarker*>::const_iterator markerIt = markers.begin(); in paintDocumentMarkers() 1297 DocumentMarker* marker = *markerIt; in paintDocumentMarkers() 1301 case DocumentMarker::Grammar: in paintDocumentMarkers() 1302 case DocumentMarker::Spelling: in paintDocumentMarkers() [all …]
|
D | HitTestResult.cpp | 224 …DocumentMarker* marker = m_innerNonSharedNode->document().markers()->markerContainingPoint(m_hitTe… in spellingToolTip() 371 makeRange(pos, pos).get(), DocumentMarker::MisspellingMarkers()).size() > 0; in isMisspelled()
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | ContextMenuClientImpl.cpp | 154 static String selectMisspellingAsync(Frame* selectedFrame, DocumentMarker& marker) in selectMisspellingAsync() 162 …Vector<DocumentMarker*> markers = selectedFrame->document()->markers()->markersInRange(selectionRa… in selectMisspellingAsync() 313 DocumentMarker marker; in showContextMenu()
|
D | SpellCheckerClientImpl.cpp | 98 frame->document()->markers()->removeMarkers(DocumentMarker::MisspellingMarkers()); in toggleContinuousSpellChecking()
|
D | WebFrameImpl.cpp | 1250 …Vector<DocumentMarker*> markers = frame()->document()->markers()->markersInRange(caretRange.get(),… in replaceMisspelledRange() 1262 frame()->document()->markers()->removeMarkers(DocumentMarker::MisspellingMarkers()); in removeSpellingMarkers() 1557 frame()->document()->markers()->removeMarkers(DocumentMarker::TextMatch); in stopFinding() 2059 … return frame()->spellChecker().selectionStartHasMarkerFor(DocumentMarker::Spelling, from, length); in selectionStartHasSpellingMarkerFor()
|
/external/chromium_org/third_party/WebKit/Source/core/testing/ |
D | Internals.cpp | 156 static bool markerTypesFrom(const String& markerType, DocumentMarker::MarkerTypes& result) in markerTypesFrom() 159 result = DocumentMarker::AllMarkers(); in markerTypesFrom() 161 result = DocumentMarker::Spelling; in markerTypesFrom() 163 result = DocumentMarker::Grammar; in markerTypesFrom() 165 result = DocumentMarker::TextMatch; in markerTypesFrom() 813 DocumentMarker::MarkerTypes markerTypes = 0; in markerCountForNode() 830 DocumentMarker::MarkerType markerType = DocumentMarker::TextMatch; in activeMarkerCountForNode() 831 Vector<DocumentMarker*> markers = node->document().markers()->markersFor(node, markerType); in activeMarkerCountForNode() 834 for (Vector<DocumentMarker*>::iterator iter = markers.begin(); iter != markers.end(); ++iter) { in activeMarkerCountForNode() 842 DocumentMarker* Internals::markerAt(Node* node, const String& markerType, unsigned index, Exception… in markerAt() [all …]
|
D | Internals.h | 49 class DocumentMarker; variable 317 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, ExceptionState&);
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | WebFrameTest.cpp | 94 using WebCore::DocumentMarker; 4105 …EXPECT_EQ(1U, document->markers()->markersInRange(selectionRange.get(), DocumentMarker::Spelling).… in TEST_F() 4137 …EXPECT_EQ(0U, document->markers()->markersInRange(selectionRange.get(), DocumentMarker::Spelling).… in TEST_F() 4287 …document->markers()->addMarker(rangeOfContents(element->toNode()).get(), DocumentMarker::Spelling); in TEST_F() 4288 … document->markers()->addMarker(rangeOfContents(element->toNode()).get(), DocumentMarker::Grammar); in TEST_F() 4289 …document->markers()->addMarker(rangeOfContents(element->toNode()).get(), DocumentMarker::Invisible… in TEST_F() 4319 ASSERT_NE(static_cast<DocumentMarker*>(0), document->markers()->markers()[0]); in TEST_F() 4320 EXPECT_EQ(DocumentMarker::Spelling, document->markers()->markers()[0]->type()); in TEST_F() 4326 ASSERT_NE(static_cast<DocumentMarker*>(0), document->markers()->markers()[0]); in TEST_F() 4327 EXPECT_EQ(DocumentMarker::Grammar, document->markers()->markers()[0]->type()); in TEST_F() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | Page.cpp | 323 frame->document()->markers()->removeMarkers(DocumentMarker::TextMatch); in unmarkAllTextMatches()
|
/external/chromium_org/third_party/WebKit/Source/core/ |
D | webcore_dom.target.linux-x86.mk | 55 third_party/WebKit/Source/core/dom/DocumentMarker.cpp \
|
D | webcore_dom.target.darwin-x86.mk | 55 third_party/WebKit/Source/core/dom/DocumentMarker.cpp \
|
D | webcore_dom.target.linux-mips.mk | 55 third_party/WebKit/Source/core/dom/DocumentMarker.cpp \
|