Searched refs:firstPositionInOrBeforeNode (Results 1 – 21 of 21) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | htmlediting.cpp | 304 editablePosition = firstPositionInOrBeforeNode(shadowAncestor); in lastEditablePositionBeforePositionInRoot() 333 Node* enclosingNode = enclosingNodeOfType(firstPositionInOrBeforeNode(node), isBlock, rule); in enclosingBlock() 459 …VisiblePosition firstInElement = VisiblePosition(firstPositionInOrBeforeNode(specialElement), DOWN… in firstInSpecialElement() 534 return VisiblePosition(firstPositionInOrBeforeNode(&node), DOWNSTREAM); in visiblePositionBeforeNode() 679 ContainerNode* root = highestEditableRoot(firstPositionInOrBeforeNode(node)); in enclosingList() 697 ContainerNode* root = highestEditableRoot(firstPositionInOrBeforeNode(node)); in enclosingListChild() 718 VisiblePosition firstInListChild(firstPositionInOrBeforeNode(listChildNode)); in enclosingEmptyListItem()
|
D | InsertLineBreakCommand.cpp | 153 …applyStyle(typingStyle.get(), firstPositionInOrBeforeNode(nodeToInsert.get()), lastPositionInOrAft… in doApply()
|
D | BreakBlockquoteCommand.cpp | 128 …setEndingSelection(VisibleSelection(VisiblePosition(firstPositionInOrBeforeNode(startNode)), endin… in doApply()
|
D | ReplaceSelectionCommand.cpp | 696 && !enclosingElementWithTag(firstPositionInOrBeforeNode(lastLeafInserted), selectTag) in removeUnrenderedTextNodesAtEnds() 697 && !enclosingElementWithTag(firstPositionInOrBeforeNode(lastLeafInserted), scriptTag)) { in removeUnrenderedTextNodesAtEnds() 748 …QuotationHTMLBlockQuoteElement(topNode) || enclosingNodeOfType(firstPositionInOrBeforeNode(topNode… in handleStyleSpansBeforeInsertion() 1156 …VisiblePosition startOfInsertedContent(firstPositionInOrBeforeNode(insertedNodes.firstNodeInserted… in doApply() 1181 m_startOfInsertedContent = firstPositionInOrBeforeNode(insertedNodes.firstNodeInserted()); in doApply() 1499 m_startOfInsertedContent = firstPositionInOrBeforeNode(node); in updateNodesInserted()
|
D | markup.cpp | 387 …if (!n->renderer() && !enclosingElementWithTag(firstPositionInOrBeforeNode(n), selectTag) && m_sho… in traverseNodesForSerialization() 473 …ement* commonAncestorBlock = toHTMLElement(enclosingNodeOfType(firstPositionInOrBeforeNode(commonA… in ancestorToRetainStructureAndAppearanceWithNoRenderer() 527 …if (Node* parentListNode = enclosingNodeOfType(firstPositionInOrBeforeNode(range->firstNode()), is… in highestAncestorToWrapMarkup() 537 …MailBlockquote = toHTMLQuoteElement(highestEnclosingNodeOfType(firstPositionInOrBeforeNode(range->… in highestAncestorToWrapMarkup()
|
D | htmlediting.h | 142 inline Position firstPositionInOrBeforeNode(Node* node) in firstPositionInOrBeforeNode() function
|
D | ApplyStyleCommand.cpp | 694 if (!startNode || comparePositions(end, firstPositionInOrBeforeNode(startNode)) < 0) in fixRangeAndApplyInlineStyle() 1005 Node* unsplittableElement = unsplittableElementForPosition(firstPositionInOrBeforeNode(node)); in highestAncestorWithConflictingInlineStyle() 1162 s = firstPositionInOrBeforeNode(next.get()); in removeInlineStyle() 1191 return comparePositions(firstPositionInOrBeforeNode(&element), start) >= 0 in elementFullySelected() 1430 return firstPositionInOrBeforeNode(startNode.get()); in positionToComputeInlineStyleChange()
|
D | VisibleUnits.cpp | 87 …de && (!previousNode->renderer() || inSameLine(VisiblePosition(firstPositionInOrBeforeNode(previou… in previousRootInlineBoxCandidatePosition() 91 … if (highestEditableRoot(firstPositionInOrBeforeNode(previousNode), editableType) != highestRoot) in previousRootInlineBoxCandidatePosition() 109 …xtNode && (!nextNode->renderer() || inSameLine(VisiblePosition(firstPositionInOrBeforeNode(nextNod… in nextRootInlineBoxCandidatePosition() 113 if (highestEditableRoot(firstPositionInOrBeforeNode(nextNode), editableType) != highestRoot) in nextRootInlineBoxCandidatePosition()
|
D | ApplyBlockElementCommand.cpp | 234 start = firstPositionInOrBeforeNode(endContainer->previousSibling()); in rangeForParagraphSplittingTextNodesIfNeeded()
|
D | DeleteSelectionCommand.cpp | 335 return next ? firstPositionInOrBeforeNode(next) : Position(); in firstEditablePositionInNode() 516 if (comparePositions(firstPositionInOrBeforeNode(node.get()), m_downstreamEnd) >= 0) { in handleGeneralDelete()
|
D | CompositeEditCommand.cpp | 1488 VisiblePosition positionInNode(firstPositionInOrBeforeNode(node.get())); in splitTreeToNode()
|
D | FrameSelection.cpp | 1819 setSelection(VisibleSelection(firstPositionInOrBeforeNode(body), DOWNSTREAM)); in setSelectionFromNone()
|
D | EditingStyle.cpp | 1072 …e->removeStyleAddedByElement(toHTMLElement(enclosingNodeOfType(firstPositionInOrBeforeNode(context… in wrappingStyleForSerialization()
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
D | LocalFrame.cpp | 375 visiblePos = VisiblePosition(firstPositionInOrBeforeNode(node)); in visiblePositionForPoint()
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | FocusController.cpp | 468 Position position = firstPositionInOrBeforeNode(element); in advanceFocusInDocumentOrder()
|
D | EventHandler.cpp | 517 visiblePos = VisiblePosition(firstPositionInOrBeforeNode(innerNode), DOWNSTREAM); in handleMousePressEventSingleClick()
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | Position.cpp | 342 return firstPositionInOrBeforeNode(child); in next()
|
D | Element.cpp | 2072 … VisibleSelection newSelection = VisibleSelection(firstPositionInOrBeforeNode(this), DOWNSTREAM); in updateFocusAppearance()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderObject.cpp | 2993 return PositionWithAffinity(firstPositionInOrBeforeNode(node), DOWNSTREAM); in createPositionWithAffinity() 3006 return PositionWithAffinity(firstPositionInOrBeforeNode(node), DOWNSTREAM); in createPositionWithAffinity()
|
D | RenderBox.cpp | 3751 …return createPositionWithAffinity(nonPseudoNode() ? firstPositionInOrBeforeNode(nonPseudoNode()) :… in positionForPoint() 3759 return createPositionWithAffinity(firstPositionInOrBeforeNode(nonPseudoNode())); in positionForPoint() 3827 return createPositionWithAffinity(firstPositionInOrBeforeNode(nonPseudoNode())); in positionForPoint()
|
/external/chromium_org/third_party/WebKit/Source/core/accessibility/ |
D | AXRenderObject.cpp | 1749 return VisiblePosition(firstPositionInOrBeforeNode(node), DOWNSTREAM); in visiblePositionForIndex()
|