Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/editing/
DVisiblePosition.cpp461 Node* highestRoot = highestEditableRoot(deepEquivalent()); in honorEditingBoundaryAtOrBefore() local
464 if (highestRoot && !pos.deepEquivalent().deprecatedNode()->isDescendantOf(highestRoot)) in honorEditingBoundaryAtOrBefore()
470 if (highestEditableRoot(pos.deepEquivalent()) == highestRoot) in honorEditingBoundaryAtOrBefore()
475 if (!highestRoot) in honorEditingBoundaryAtOrBefore()
479 return lastEditablePositionBeforePositionInRoot(pos.deepEquivalent(), highestRoot); in honorEditingBoundaryAtOrBefore()
487 Node* highestRoot = highestEditableRoot(deepEquivalent()); in honorEditingBoundaryAtOrAfter() local
490 if (highestRoot && !pos.deepEquivalent().deprecatedNode()->isDescendantOf(highestRoot)) in honorEditingBoundaryAtOrAfter()
496 if (highestEditableRoot(pos.deepEquivalent()) == highestRoot) in honorEditingBoundaryAtOrAfter()
501 if (!highestRoot) in honorEditingBoundaryAtOrAfter()
505 return firstEditablePositionAfterPositionInRoot(pos.deepEquivalent(), highestRoot); in honorEditingBoundaryAtOrAfter()
[all …]
Dhtmlediting.cpp120 Node* highestRoot = editableRootForPosition(position, editableType); in highestEditableRoot() local
121 if (!highestRoot) in highestEditableRoot()
124 if (highestRoot->hasTagName(bodyTag)) in highestEditableRoot()
125 return highestRoot; in highestEditableRoot()
127 node = highestRoot->parentNode(); in highestEditableRoot()
130 highestRoot = node; in highestEditableRoot()
136 return highestRoot; in highestEditableRoot()
259 …siblePosition firstEditablePositionAfterPositionInRoot(const Position& position, Node* highestRoot) in firstEditablePositionAfterPositionInRoot() argument
262 …if (comparePositions(position, firstPositionInNode(highestRoot)) == -1 && highestRoot->rendererIsE… in firstEditablePositionAfterPositionInRoot()
263 return firstPositionInNode(highestRoot); in firstEditablePositionAfterPositionInRoot()
[all …]
DVisibleUnits.cpp82 Node* highestRoot = highestEditableRoot(visiblePosition.deepEquivalent(), editableType); in previousRootInlineBoxCandidatePosition() local
89 … if (highestEditableRoot(firstPositionInOrBeforeNode(previousNode), editableType) != highestRoot) in previousRootInlineBoxCandidatePosition()
105 Node* highestRoot = highestEditableRoot(visiblePosition.deepEquivalent(), editableType); in nextRootInlineBoxCandidatePosition() local
111 if (highestEditableRoot(firstPositionInOrBeforeNode(nextNode), editableType) != highestRoot) in nextRootInlineBoxCandidatePosition()
1108 Node* highestRoot = highestEditableRoot(p); in startOfParagraph() local
1120 if (!n || !n->isDescendantOf(highestRoot)) in startOfParagraph()
1186 Node* highestRoot = highestEditableRoot(p); in endOfParagraph() local
1198 if (!n || !n->isDescendantOf(highestRoot)) in endOfParagraph()
1390 Node* highestRoot = highestEditableRoot(visiblePosition.deepEquivalent()); in startOfEditableContent() local
1391 if (!highestRoot) in startOfEditableContent()
[all …]