Home
last modified time | relevance | path

Searched refs:comparePositions (Results 1 – 14 of 14) sorted by relevance

/external/webkit/Source/WebCore/editing/
Dhtmlediting.h135 int comparePositions(const Position&, const Position&);
164 int comparePositions(const VisiblePosition&, const VisiblePosition&);
Dhtmlediting.cpp95 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()
DApplyStyleCommand.cpp179 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 …]
DDeleteSelectionCommand.cpp138 …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()
DVisibleSelection.cpp166 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()
DCompositeEditCommand.cpp604 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()
DInsertParagraphSeparatorCommand.cpp353 … if (comparePositions(VisiblePosition(insertionPosition), positionBeforeNode(n)) <= 0) in doApply()
DSelectionController.cpp1351 return comparePositions(start, p) <= 0 && comparePositions(p, end) <= 0; in contains()
/external/webkit/Source/WebCore/platform/mac/
DPasteboardMac.mm145 …if (enclosingAnchor && comparePositions(firstPositionInOrBeforeNode(selectedRange->startPosition()…
/external/webkit/Source/WebCore/
DChangeLog-2009-06-163546 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):
DChangeLog-2006-05-106695 (WebCore::comparePositions): Added. Takes shadow content into account.
6696 (WebCore::Selection::validate): Changed to call comparePositions instead of calling
DChangeLog-2007-10-1437816 comparePositions() expects non-null positions. It's
40152 (WebCore::SelectionController::contains): Use comparePositions
40153 instead of Range::comparePoint, because comparePositions can
DChangeLog-2006-12-3141867 (WebCore::comparePositions): Fixed the case of comparing a position inside a shadow
45194 (WebCore::comparePositions): Moved from Selection.cpp.
DChangeLog16899 (WebCore::comparePositions): Calls compareBoundaryPoints.