Home
last modified time | relevance | path

Searched refs:activeMatch (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/web/tests/
DTextFinderTest.cpp79 Range* activeMatch = textFinder().activeMatch(); in TEST_F() local
80 ASSERT_TRUE(activeMatch); in TEST_F()
81 EXPECT_EQ(textNode, activeMatch->startContainer()); in TEST_F()
82 EXPECT_EQ(4, activeMatch->startOffset()); in TEST_F()
83 EXPECT_EQ(textNode, activeMatch->endContainer()); in TEST_F()
84 EXPECT_EQ(10, activeMatch->endOffset()); in TEST_F()
88 activeMatch = textFinder().activeMatch(); in TEST_F()
89 ASSERT_TRUE(activeMatch); in TEST_F()
90 EXPECT_EQ(textNode, activeMatch->startContainer()); in TEST_F()
91 EXPECT_EQ(14, activeMatch->startOffset()); in TEST_F()
[all …]
DWebFrameTest.cpp3283 Range* result = mainFrame->activeMatchFrame()->activeMatch(); in TEST_F()
3290 FloatRect activeMatch = mainFrame->activeFindMatchRect(); in TEST_F() local
3291 EXPECT_EQ(enclosingIntRect(activeMatch), enclosingIntRect(resultRect)); in TEST_F()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DDocumentMarker.cpp73 bool activeMatch() const { return m_match; } in activeMatch() function in WebCore::FINAL
134 DocumentMarker::DocumentMarker(unsigned startOffset, unsigned endOffset, bool activeMatch) in DocumentMarker() argument
138 , m_details(DocumentMarkerTextMatch::instanceFor(activeMatch)) in DocumentMarker()
170 bool DocumentMarker::activeMatch() const in activeMatch() function in WebCore::DocumentMarker
173 return details->activeMatch(); in activeMatch()
DDocumentMarker.h98 DocumentMarker(unsigned startOffset, unsigned endOffset, bool activeMatch);
107 bool activeMatch() const;
DDocumentMarkerController.h56 void addTextMatchMarker(const Range*, bool activeMatch);
DDocumentMarkerController.cpp110 void DocumentMarkerController::addTextMatchMarker(const Range* range, bool activeMatch) in addTextMatchMarker() argument
117 addMarker(textPiece->startContainer(), DocumentMarker(startOffset, endOffset, activeMatch)); in addTextMatchMarker()
719 … " %d:[%d:%d](%d)", marker.type(), marker.startOffset(), marker.endOffset(), marker.activeMatch()); in showMarkers()
/external/chromium_org/third_party/WebKit/Source/web/
DTextFinder.h81 WebCore::Range* activeMatch() const { return m_activeMatch.get(); } in activeMatch() function
147 void addMarker(WebCore::Range*, bool activeMatch);
DTextFinder.cpp433 …return activeMatchFrame && activeMatchFrame->activeMatch() && activeMatchFrame->frame()->tree().is… in isActiveMatchFrameValid()
481 return WebFloatRect(findInPageRectFromRange(m_currentActiveMatchFrame->activeMatch())); in activeFindMatchRect()
625 void TextFinder::addMarker(Range* range, bool activeMatch) in addMarker() argument
627 m_ownerFrame.frame()->document()->markers().addTextMatchMarker(range, activeMatch); in addMarker()
DWebLocalFrameImpl.cpp1723 if (Range* activeMatch = m_textFinder->activeMatch()) { in setFindEndstateFocusAndSelection() local
1732 Node* node = activeMatch->firstNode(); in setFindEndstateFocusAndSelection()
1746 frame()->selection().setSelection(VisibleSelection(activeMatch)); in setFindEndstateFocusAndSelection()
1755 node = activeMatch->firstNode(); in setFindEndstateFocusAndSelection()
1756 for (; node && node != activeMatch->pastLastNode(); node = NodeTraversal::next(*node)) { in setFindEndstateFocusAndSelection()
1771 frame()->selection().setSelection(VisibleSelection(activeMatch)); in setFindEndstateFocusAndSelection()
1872 WebCore::Range* WebLocalFrameImpl::activeMatch() const in activeMatch() function in blink::WebLocalFrameImpl
1875 return m_textFinder->activeMatch(); in activeMatch()
DWebLocalFrameImpl.h276 WebCore::Range* activeMatch() const;
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGInlineTextBox.cpp752 Color color = marker->activeMatch() ? in paintTextMatchMarker()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DInlineTextBox.cpp1301 Color color = marker->activeMatch() ? in paintTextMatchMarker()
/external/chromium_org/third_party/WebKit/Source/core/testing/
DInternals.cpp804 if ((*iter)->activeMatch()) in activeMarkerCountForNode()