Searched defs:activeMatch (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DDocumentMarker.cpp73 bool activeMatch() const { return m_match; } function in class:blink::FINAL
117 DocumentMarker::DocumentMarker(unsigned startOffset, unsigned endOffset, bool activeMatch) argument
121 , m_details(DocumentMarkerTextMatch::instanceFor(activeMatch))
162 bool DocumentMarker::activeMatch() const function in class:blink::DocumentMarker
165 return details->activeMatch();
H A DDocumentMarkerController.cpp113 void DocumentMarkerController::addTextMatchMarker(const Range* range, bool activeMatch) argument
119 addMarker(markedText.startContainer(), DocumentMarker(startOffset, endOffset, activeMatch));
753 fprintf(stderr, " %d:[%d:%d](%d)", marker->type(), marker->startOffset(), marker->endOffset(), marker->activeMatch());
/external/chromium_org/third_party/WebKit/Source/web/
H A DTextFinder.h79 Range* activeMatch() const { return m_activeMatch.get(); } function in class:blink::TextFinder
145 void addMarker(Range*, bool activeMatch);
H A DTextFinder.cpp432 return activeMatchFrame && activeMatchFrame->activeMatch() && activeMatchFrame->frame()->tree().isDescendantOf(mainFrameImpl->frame());
480 return WebFloatRect(findInPageRectFromRange(m_currentActiveMatchFrame->activeMatch()));
624 void TextFinder::addMarker(Range* range, bool activeMatch) argument
626 m_ownerFrame.frame()->document()->markers().addTextMatchMarker(range, activeMatch);
H A DWebLocalFrameImpl.cpp1694 if (Range* activeMatch = m_textFinder->activeMatch()) {
1706 Node* node = activeMatch->firstNode();
1720 frame()->selection().setSelection(VisibleSelection(activeMatch));
1729 node = activeMatch->firstNode();
1730 for (; node && node != activeMatch->pastLastNode(); node = NodeTraversal::next(*node)) {
1745 frame()->selection().setSelection(VisibleSelection(activeMatch));
1751 // The WebLocalFrameImpl could get reused and the activeMatch could end up pointing
1899 Range* WebLocalFrameImpl::activeMatch() const function in class:WebLocalFrameImpl
1902 return m_textFinder->activeMatch();
[all...]
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DTextFinderTest.cpp79 Range* activeMatch = textFinder().activeMatch(); local
80 ASSERT_TRUE(activeMatch);
81 EXPECT_EQ(textNode, activeMatch->startContainer());
82 EXPECT_EQ(4, activeMatch->startOffset());
83 EXPECT_EQ(textNode, activeMatch->endContainer());
84 EXPECT_EQ(10, activeMatch->endOffset());
88 activeMatch = textFinder().activeMatch();
89 ASSERT_TRUE(activeMatch);
168 Range* activeMatch = textFinder().activeMatch(); local
[all...]
H A DWebFrameTest.cpp3209 Range* result = mainFrame->activeMatchFrame()->activeMatch();
3216 FloatRect activeMatch = mainFrame->activeFindMatchRect(); local
3217 EXPECT_EQ(enclosingIntRect(activeMatch), enclosingIntRect(resultRect));

Completed in 237 milliseconds