Searched refs:comparePositions (Results 1 – 14 of 14) sorted by relevance
/external/webkit/Source/WebCore/editing/ |
D | htmlediting.h | 135 int comparePositions(const Position&, const Position&); 164 int comparePositions(const VisiblePosition&, const VisiblePosition&);
|
D | htmlediting.cpp | 95 int comparePositions(const Position& a, const Position& b) in comparePositions() function 130 int comparePositions(const VisiblePosition& a, const VisiblePosition& b) in comparePositions() function 132 return comparePositions(a.deepEquivalent(), b.deepEquivalent()); in comparePositions() 280 …if (comparePositions(position, firstPositionInNode(highestRoot)) == -1 && highestRoot->rendererIsE… in firstEditablePositionAfterPositionInRoot() 301 if (comparePositions(position, lastPositionInNode(highestRoot)) == 1) in lastEditablePositionBeforePositionInRoot() 1070 …if (startIsVisuallySame && comparePositions(positionInParentAfterNode(node), selectedRange->endPos… in isNodeVisiblyContainedWithin() 1074 …if (endIsVisuallySame && comparePositions(selectedRange->startPosition(), positionInParentBeforeNo… in isNodeVisiblyContainedWithin()
|
D | ApplyStyleCommand.cpp | 179 ASSERT(comparePositions(newEnd, newStart) >= 0); in updateStartEnd() 242 if (comparePositions(end, start) < 0) { in applyBlockStyle() 305 if (comparePositions(end, start) < 0) { in applyRelativeFontStyleChange() 543 if (comparePositions(end, start) < 0) { in applyInlineStyle() 603 if (comparePositions(embeddingRemoveStart, embeddingRemoveEnd) <= 0) in applyInlineStyle() 665 if (!startNode || comparePositions(end, firstPositionInOrBeforeNode(startNode)) < 0) in fixRangeAndApplyInlineStyle() 1031 ASSERT(comparePositions(start, end) <= 0); in removeInlineStyle() 1104 return comparePositions(firstPositionInOrBeforeNode(node), start) >= 0 in nodeFullySelected() 1105 && comparePositions(lastPositionInOrAfterNode(node).upstream(), end) <= 0; in nodeFullySelected() 1113 … bool isFullyBeforeStart = comparePositions(lastPositionInOrAfterNode(node).upstream(), start) < 0; in nodeFullyUnselected() [all …]
|
D | DeleteSelectionCommand.cpp | 138 …if (startSpecialContainer && !endSpecialContainer && comparePositions(positionInParentAfterNode(st… in initializeStartEnd() 142 …if (endSpecialContainer && !startSpecialContainer && comparePositions(start, positionInParentBefor… in initializeStartEnd() 493 if (comparePositions(firstPositionInOrBeforeNode(node.get()), m_downstreamEnd) >= 0) { in handleGeneralDelete() 590 if (comparePositions(m_upstreamStart, m_downstreamEnd) > 0) in mergeParagraphs()
|
D | VisibleSelection.cpp | 166 if (comparePositions(s, e) > 0) { in toNormalizedRange() 264 m_baseIsFirst = comparePositions(m_base, m_extent) <= 0; in setBaseAndExtentToDeepEquivalents() 443 m_baseIsFirst = comparePositions(base, extent) <= 0; in setWithoutValidation()
|
D | CompositeEditCommand.cpp | 604 if (comparePositions(start, end) >= 0) in deleteInsignificantText() 718 if (comparePositions(pos, upstreamStart) < 0) in moveParagraphContentsToNewBlockIfNecessary() 929 bool startAfterParagraph = comparePositions(visibleStart, endOfParagraphToMove) > 0; in moveParagraphs() 930 bool endBeforeParagraph = comparePositions(visibleEnd, startOfParagraphToMove) < 0; in moveParagraphs() 933 bool startInParagraph = comparePositions(visibleStart, startOfParagraphToMove) >= 0; in moveParagraphs() 934 bool endInParagraph = comparePositions(visibleEnd, endOfParagraphToMove) <= 0; in moveParagraphs()
|
D | InsertParagraphSeparatorCommand.cpp | 353 … if (comparePositions(VisiblePosition(insertionPosition), positionBeforeNode(n)) <= 0) in doApply()
|
D | SelectionController.cpp | 1351 return comparePositions(start, p) <= 0 && comparePositions(p, end) <= 0; in contains()
|
/external/webkit/Source/WebCore/platform/mac/ |
D | PasteboardMac.mm | 145 …if (enclosingAnchor && comparePositions(firstPositionInOrBeforeNode(selectedRange->startPosition()…
|
/external/webkit/Source/WebCore/ |
D | ChangeLog-2009-06-16 | 3546 Turns out that Position already has a comparePositions() function (which knows 3549 comparePositions() function. I've also added a comparePositions which takes 3576 (WebCore::comparePositions): 15073 (WebCore::comparePositions): 31397 (WebCore::comparePositions):
|
D | ChangeLog-2006-05-10 | 6695 (WebCore::comparePositions): Added. Takes shadow content into account. 6696 (WebCore::Selection::validate): Changed to call comparePositions instead of calling
|
D | ChangeLog-2007-10-14 | 37816 comparePositions() expects non-null positions. It's 40152 (WebCore::SelectionController::contains): Use comparePositions 40153 instead of Range::comparePoint, because comparePositions can
|
D | ChangeLog-2006-12-31 | 41867 (WebCore::comparePositions): Fixed the case of comparing a position inside a shadow 45194 (WebCore::comparePositions): Moved from Selection.cpp.
|
D | ChangeLog | 16899 (WebCore::comparePositions): Calls compareBoundaryPoints.
|