Home
last modified time | relevance | path

Searched refs:highestRoot (Results 1 – 4 of 4) sorted by relevance

/external/webkit/Source/WebCore/editing/
Dhtmlediting.cpp141 Node* highestRoot = editableRootForPosition(position); in highestEditableRoot() local
142 if (!highestRoot) in highestEditableRoot()
145 node = highestRoot; in highestEditableRoot()
148 highestRoot = node; in highestEditableRoot()
154 return highestRoot; in highestEditableRoot()
277 …siblePosition firstEditablePositionAfterPositionInRoot(const Position& position, Node* highestRoot) in firstEditablePositionAfterPositionInRoot() argument
280 …if (comparePositions(position, firstPositionInNode(highestRoot)) == -1 && highestRoot->rendererIsE… in firstEditablePositionAfterPositionInRoot()
281 return firstPositionInNode(highestRoot); in firstEditablePositionAfterPositionInRoot()
289 …e (p.deprecatedNode() && !isEditablePosition(p) && p.deprecatedNode()->isDescendantOf(highestRoot)) in firstEditablePositionAfterPositionInRoot()
292 …(p.deprecatedNode() && p.deprecatedNode() != highestRoot && !p.deprecatedNode()->isDescendantOf(hi… in firstEditablePositionAfterPositionInRoot()
[all …]
DVisiblePosition.cpp413 Node* highestRoot = highestEditableRoot(deepEquivalent()); in honorEditableBoundaryAtOrBefore() local
416 if (highestRoot && !pos.deepEquivalent().deprecatedNode()->isDescendantOf(highestRoot)) in honorEditableBoundaryAtOrBefore()
422 if (highestEditableRoot(pos.deepEquivalent()) == highestRoot) in honorEditableBoundaryAtOrBefore()
427 if (!highestRoot) in honorEditableBoundaryAtOrBefore()
431 return lastEditablePositionBeforePositionInRoot(pos.deepEquivalent(), highestRoot); in honorEditableBoundaryAtOrBefore()
439 Node* highestRoot = highestEditableRoot(deepEquivalent()); in honorEditableBoundaryAtOrAfter() local
442 if (highestRoot && !pos.deepEquivalent().deprecatedNode()->isDescendantOf(highestRoot)) in honorEditableBoundaryAtOrAfter()
448 if (highestEditableRoot(pos.deepEquivalent()) == highestRoot) in honorEditableBoundaryAtOrAfter()
453 if (!highestRoot) in honorEditableBoundaryAtOrAfter()
457 return firstEditablePositionAfterPositionInRoot(pos.deepEquivalent(), highestRoot); in honorEditableBoundaryAtOrAfter()
Dvisible_units.cpp504 Node* highestRoot = highestEditableRoot(p); in previousLinePosition() local
538 if (highestEditableRoot(firstPositionInOrBeforeNode(n)) != highestRoot) in previousLinePosition()
615 Node* highestRoot = highestEditableRoot(p); in nextLinePosition() local
649 if (highestEditableRoot(firstPositionInOrBeforeNode(n)) != highestRoot) in nextLinePosition()
757 Node* highestRoot = highestEditableRoot(p); in startOfParagraph() local
768 if (!n || !n->isDescendantOf(highestRoot)) in startOfParagraph()
829 Node* highestRoot = highestEditableRoot(p); in endOfParagraph() local
840 if (!n || !n->isDescendantOf(highestRoot)) in endOfParagraph()
1029 Node* highestRoot = highestEditableRoot(visiblePosition.deepEquivalent()); in startOfEditableContent() local
1030 if (!highestRoot) in startOfEditableContent()
[all …]
/external/webkit/Source/WebCore/
DChangeLog-2008-08-1027374 this function moves out of highestRoot. Re-wrote so as to not duplicate code inside