Searched refs:startOffsetInContent (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | SurroundingTextTest.cpp | 62 EXPECT_EQ(0u, surroundingText.startOffsetInContent()); in TEST_F() 72 EXPECT_EQ(1u, surroundingText.startOffsetInContent()); in TEST_F() 81 EXPECT_EQ(1u, surroundingText.startOffsetInContent()); in TEST_F() 92 EXPECT_EQ(0u, surroundingText.startOffsetInContent()); in TEST_F() 101 EXPECT_EQ(1u, surroundingText.startOffsetInContent()); in TEST_F() 110 EXPECT_EQ(7u, surroundingText.startOffsetInContent()); in TEST_F() 124 EXPECT_EQ(0u, surroundingText.startOffsetInContent()); in TEST_F() 133 EXPECT_EQ(1u, surroundingText.startOffsetInContent()); in TEST_F() 142 EXPECT_EQ(1u, surroundingText.startOffsetInContent()); in TEST_F() 151 EXPECT_EQ(1u, surroundingText.startOffsetInContent()); in TEST_F() [all …]
|
D | SurroundingText.cpp | 96 …BeRawPtr<Range> SurroundingText::rangeFromContentOffsets(unsigned startOffsetInContent, unsigned e… in rangeFromContentOffsets() argument 98 if (startOffsetInContent >= endOffsetInContent || endOffsetInContent > content().length()) in rangeFromContentOffsets() 104 iterator.advance(startOffsetInContent); in rangeFromContentOffsets() 109 iterator.advance(endOffsetInContent - startOffsetInContent); in rangeFromContentOffsets() 124 unsigned SurroundingText::startOffsetInContent() const in startOffsetInContent() function in blink::SurroundingText
|
D | SurroundingText.h | 49 unsigned startOffsetInContent() const; 52 …PassRefPtrWillBeRawPtr<Range> rangeFromContentOffsets(unsigned startOffsetInContent, unsigned endO…
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | WebSurroundingText.cpp | 62 ASSERT(m_private->startOffsetInContent() == m_private->endOffsetInContent()); in hitOffsetInTextContent() 63 return m_private->startOffsetInContent(); in hitOffsetInTextContent() 68 return m_private->startOffsetInContent(); in startOffsetInTextContent() 76 WebRange WebSurroundingText::rangeFromContentOffsets(size_t startOffsetInContent, size_t endOffsetI… in rangeFromContentOffsets() argument 78 return m_private->rangeFromContentOffsets(startOffsetInContent, endOffsetInContent); in rangeFromContentOffsets()
|
/external/chromium_org/third_party/WebKit/public/web/ |
D | WebSurroundingText.h | 79 …BLINK_EXPORT WebRange rangeFromContentOffsets(size_t startOffsetInContent, size_t endOffsetInConte…
|