Home
last modified time | relevance | path

Searched refs:endContainer (Results 1 – 25 of 45) sorted by relevance

12

/external/webkit/Source/WebCore/dom/
DDocumentMarkerController.cpp329 Node* endContainer = range->endContainer(); in markersInRange() local
330 ASSERT(endContainer); in markersInRange()
341 … if (node == endContainer && it->startOffset >= static_cast<unsigned>(range->endOffset())) in markersInRange()
576 Node* endContainer = range->endContainer(ec); in setMarkersActive() local
581 int endOffset = node == endContainer ? range->endOffset(ec) : INT_MAX; in setMarkersActive()
624 Node* endContainer = range->endContainer(); in hasMarkers() local
625 ASSERT(endContainer); in hasMarkers()
636 … if (node == endContainer && it->startOffset >= static_cast<unsigned>(range->endOffset())) in hasMarkers()
651 Node* endContainer = range->endContainer(); in clearDescriptionOnMarkersIntersectingRange() local
656 …unsigned endOffset = node == endContainer ? static_cast<unsigned>(range->endOffset()) : std::numer… in clearDescriptionOnMarkersIntersectingRange()
DRange.h45 …>, PassRefPtr<Node> startContainer, int startOffset, PassRefPtr<Node> endContainer, int endOffset);
52 Node* endContainer() const { return m_end.container(); } in endContainer() function
57 Node* endContainer(ExceptionCode&) const;
139 …>, PassRefPtr<Node> startContainer, int startOffset, PassRefPtr<Node> endContainer, int endOffset);
DRange.cpp71 …nt, PassRefPtr<Node> startContainer, int startOffset, PassRefPtr<Node> endContainer, int endOffset) in Range() argument
87 setEnd(endContainer, endOffset, ec); in Range()
91 …nt, PassRefPtr<Node> startContainer, int startOffset, PassRefPtr<Node> endContainer, int endOffset) in create() argument
93 return adoptRef(new Range(ownerDocument, startContainer, startOffset, endContainer, endOffset)); in create()
142 Node* Range::endContainer(ExceptionCode& ec) const in endContainer() function in WebCore::Range
1616 Node* endContainer = m_end.container(); in textRects() local
1618 if (!startContainer || !endContainer) in textRects()
1628 int endOffset = node == endContainer ? m_end.offset() : numeric_limits<int>::max(); in textRects()
1636 Node* endContainer = m_end.container(); in textQuads() local
1638 if (!startContainer || !endContainer) in textQuads()
[all …]
DRange.idl30 readonly attribute Node endContainer
/external/webkit/Source/WebKit/chromium/src/
DWebRange.cpp74 WebNode WebRange::endContainer(int& exceptionCode) const in endContainer() function in WebKit::WebRange
76 return PassRefPtr<Node>(m_private->endContainer(exceptionCode)); in endContainer()
DWebViewImpl.cpp1457 range = Range::create(selectedRange->endContainer()->document(), in selectionRange()
1458 selectedRange->endContainer(), in selectionRange()
1460 selectedRange->endContainer(), in selectionRange()
/external/webkit/Tools/DumpRenderTree/win/
DEditingDelegate.cpp112 COMPtr<IDOMNode> endContainer; in dump() local
113 if (FAILED(range->endContainer(&endContainer))) in dump()
117 … %ld of %s", startOffset, dumpPath(startContainer.get()), endOffset, dumpPath(endContainer.get())); in dump()
/external/webkit/Source/WebCore/editing/
DTextIterator.cpp289 Node* endContainer = r->endContainer(); in TextIterator() local
299 m_endContainer = endContainer; in TextIterator()
312 m_pastEndNode = nextInPreOrderCrossingShadowBoundaries(endContainer, endOffset); in TextIterator()
1053 Node* endNode = r->endContainer(); in SimplifiedBackwardsTextIterator()
1280 ASSERT(n == r->endContainer()); in range()
1360 end->endContainer(), end->endOffset()); in characterSubrange()
1388 ASSERT(n == r->endContainer()); in range()
1512 …m_range->setEnd(m_textIterator.range()->endContainer(), m_textIterator.range()->endOffset(), excep… in advance()
2348 … resultRange->setStart(textRunRange->endContainer(), textRunRange->endOffset(), exception); in rangeFromLocationAndLength()
2361 … resultRange->setEnd(textRunRange->endContainer(), textRunRange->endOffset(), exception); in rangeFromLocationAndLength()
[all …]
Dhtmlediting.cpp1097 Node* endContainer = range->endContainer(); in avoidIntersectionWithNode() local
1103 ASSERT(endContainer); in avoidIntersectionWithNode()
1110 if (endContainer == node || endContainer->isDescendantOf(node)) { in avoidIntersectionWithNode()
1112 endContainer = node->parentNode(); in avoidIntersectionWithNode()
1116 return Range::create(document, startContainer, startOffset, endContainer, endOffset); in avoidIntersectionWithNode()
DEditor.cpp259 Node* endContainer = range->endContainer(ec); in canDeleteRange() local
260 if (!startContainer || !endContainer) in canDeleteRange()
263 if (!startContainer->rendererIsEditable() || !endContainer->rendererIsEditable()) in canDeleteRange()
1738 Node* searchEndNodeAfterWrap = spellingSearchRange->endContainer(ec); in advanceToNextMisspelling()
2640 searchRange->setStartAfter(resultRange->endContainer(), ec); in firstVisibleRange()
2641 if (searchRange->startContainer() == searchRange->endContainer()) in firstVisibleRange()
2657 if (searchRange->startContainer() == searchRange->endContainer()) in lastVisibleRange()
2687 searchRange->setStartAfter(resultRange->endContainer(), ec); in nextVisibleRange()
2699 …if (searchRange->startContainer()->isDocumentNode() && searchRange->endContainer()->isDocumentNode… in nextVisibleRange()
2756 ASSERT(range->endContainer()); in firstRectForRange()
[all …]
DSelectionController.cpp1438 Node* endContainer = range->endContainer(ec); in setSelectedRange() local
1443 ASSERT(endContainer); in setSelectedRange()
1444 ASSERT(startContainer->document() == endContainer->document()); in setSelectedRange()
1464 …VisiblePosition visibleEnd(Position(endContainer, endOffset, Position::PositionIsOffsetInAnchor), … in setSelectedRange()
Dmarkup.cpp217 if (range && node == range->endContainer(ec)) in renderedText()
232 if (node == range->endContainer(ec)) in stringValueForRange()
DMarkupAccumulator.cpp193 if (node == range->endContainer(ec)) in appendNodeValue()
/external/webkit/LayoutTests/fast/dom/Selection/script-tests/
DgetRangeAt.js26 debug("endContainer: " + range.endContainer);
/external/webkit/Source/WebKit/chromium/public/
DWebRange.h68 WEBKIT_API WebNode endContainer(int& exceptionCode) const;
/external/webkit/Source/WebKit/win/Interfaces/
DDOMRange.idl80 - (DOMNode *)endContainer;
82 HRESULT endContainer([out, retval] IDOMNode** node);
/external/webkit/Source/WebCore/rendering/
DRenderTextControl.cpp340 Node* endContainer = it.range()->endContainer(ec); in visiblePositionForIndex() local
344 …return VisiblePosition(Position(endContainer, endOffset, Position::PositionIsOffsetInAnchor), UPST… in visiblePositionForIndex()
/external/webkit/Source/WebCore/page/
DDOMSelection.cpp478 …&& Range::compareBoundaryPoints(parentNode, nodeIndex + 1, selectedRange->endContainer(ec), select… in containsNode()
483 …= (Range::compareBoundaryPoints(parentNode, nodeIndex, selectedRange->endContainer(ec), selectedRa… in containsNode()
/external/webkit/Source/WebKit/mac/WebView/
DWebFrame.mm735 Node* endContainer = core([proposedRange endContainer]);
736 if (startContainer == nil || endContainer == nil)
739 ASSERT(startContainer->document() == endContainer->document());
744 Position end(endContainer, [proposedRange endOffset]);
1105 Node *endContainer = core([rangeToReplace endContainer]);
1108 Position endPos(endContainer, [rangeToReplace endOffset]);
1113 // this check also ensures startContainer, startPos, endContainer, and endPos are non-null
/external/webkit/Source/WebCore/inspector/front-end/
DTextPrompt.js221 fullWordRange.setEnd(selectionRange.endContainer, selectionRange.endOffset);
/external/webkit/Source/WebCore/accessibility/
DAccessibilityObject.cpp458 ASSERT(node == it.range()->endContainer(exception)); in stringForVisiblePositionRange()
485 ASSERT(node == it.range()->endContainer(exception)); in lengthForVisiblePositionRange()
/external/webkit/Tools/DumpRenderTree/mac/
DEditingDelegate.mm60 … startOffset], [[self startContainer] dumpPath], [self endOffset], [[self endContainer] dumpPath]];
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DEditorClientQt.cpp81 .arg(range->endOffset(code)).arg(dumpPath(range->endContainer(code))); in dumpRange()
/external/webkit/Source/WebCore/platform/mac/
DHTMLConverter.mm1379 if (text == [_domRange endContainer]) {
1464 if (node == [_domRange endContainer]) {
1523 if (node == [_domRange endContainer]) {
1673 Node* endContainer = currentTextRange->endContainer(ec);
1677 if (startContainer == endContainer && (startOffset == endOffset - 1)) {
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
DDumpRenderTreeSupportGtk.cpp592 testRange->setEnd(range->endContainer(), range->endOffset(), ec); in selectedRange()

12