Home
last modified time | relevance | path

Searched refs:firstPositionInOrBeforeNode (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
Dhtmlediting.cpp304 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()
DInsertLineBreakCommand.cpp153 …applyStyle(typingStyle.get(), firstPositionInOrBeforeNode(nodeToInsert.get()), lastPositionInOrAft… in doApply()
DBreakBlockquoteCommand.cpp128 …setEndingSelection(VisibleSelection(VisiblePosition(firstPositionInOrBeforeNode(startNode)), endin… in doApply()
DReplaceSelectionCommand.cpp696 && !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()
Dmarkup.cpp387 …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()
Dhtmlediting.h142 inline Position firstPositionInOrBeforeNode(Node* node) in firstPositionInOrBeforeNode() function
DApplyStyleCommand.cpp694 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()
DVisibleUnits.cpp87 …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()
DApplyBlockElementCommand.cpp234 start = firstPositionInOrBeforeNode(endContainer->previousSibling()); in rangeForParagraphSplittingTextNodesIfNeeded()
DDeleteSelectionCommand.cpp335 return next ? firstPositionInOrBeforeNode(next) : Position(); in firstEditablePositionInNode()
516 if (comparePositions(firstPositionInOrBeforeNode(node.get()), m_downstreamEnd) >= 0) { in handleGeneralDelete()
DCompositeEditCommand.cpp1488 VisiblePosition positionInNode(firstPositionInOrBeforeNode(node.get())); in splitTreeToNode()
DFrameSelection.cpp1819 setSelection(VisibleSelection(firstPositionInOrBeforeNode(body), DOWNSTREAM)); in setSelectionFromNone()
DEditingStyle.cpp1072 …e->removeStyleAddedByElement(toHTMLElement(enclosingNodeOfType(firstPositionInOrBeforeNode(context… in wrappingStyleForSerialization()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DLocalFrame.cpp375 visiblePos = VisiblePosition(firstPositionInOrBeforeNode(node)); in visiblePositionForPoint()
/external/chromium_org/third_party/WebKit/Source/core/page/
DFocusController.cpp468 Position position = firstPositionInOrBeforeNode(element); in advanceFocusInDocumentOrder()
DEventHandler.cpp517 visiblePos = VisiblePosition(firstPositionInOrBeforeNode(innerNode), DOWNSTREAM); in handleMousePressEventSingleClick()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DPosition.cpp342 return firstPositionInOrBeforeNode(child); in next()
DElement.cpp2072 … VisibleSelection newSelection = VisibleSelection(firstPositionInOrBeforeNode(this), DOWNSTREAM); in updateFocusAppearance()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderObject.cpp2993 return PositionWithAffinity(firstPositionInOrBeforeNode(node), DOWNSTREAM); in createPositionWithAffinity()
3006 return PositionWithAffinity(firstPositionInOrBeforeNode(node), DOWNSTREAM); in createPositionWithAffinity()
DRenderBox.cpp3751 …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/
DAXRenderObject.cpp1749 return VisiblePosition(firstPositionInOrBeforeNode(node), DOWNSTREAM); in visiblePositionForIndex()