Home
last modified time | relevance | path

Searched refs:positionBeforeNode (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
DBreakBlockquoteCommand.cpp82 …setEndingSelection(VisibleSelection(positionBeforeNode(breakNode.get()), DOWNSTREAM, endingSelecti… in doApply()
92 …setEndingSelection(VisibleSelection(positionBeforeNode(breakNode.get()), DOWNSTREAM, endingSelecti… in doApply()
185 …setEndingSelection(VisibleSelection(positionBeforeNode(breakNode.get()), DOWNSTREAM, endingSelecti… in doApply()
DInsertListCommand.cpp309 VisiblePosition insertionPoint = VisiblePosition(positionBeforeNode(placeholder.get())); in unlistifyParagraph()
352 insertNodeAt(listItemElement, positionBeforeNode(nextList)); in listifyParagraph()
363 start = positionBeforeNode(placeholder.get()); in listifyParagraph()
391 moveParagraph(start, end, positionBeforeNode(placeholder.get()), true); in listifyParagraph()
DInsertLineBreakCommand.cpp125 VisiblePosition endingPosition(positionBeforeNode(nodeToInsert.get())); in doApply()
131 if (!isStartOfParagraph(positionBeforeNode(nodeToInsert.get()))) in doApply()
DVisibleSelection.cpp479 return positionBeforeNode(ancestor); in adjustPositionForEnd()
496 return positionBeforeNode(ancestor); in adjustPositionForStart()
501 return positionBeforeNode(firstChild); in adjustPositionForStart()
604 p = positionBeforeNode(shadowAncestor); in adjustSelectionToAvoidCrossingEditingBoundaries()
610 p = positionBeforeNode(shadowAncestor); in adjustSelectionToAvoidCrossingEditingBoundaries()
DInsertParagraphSeparatorCommand.cpp391 …if (VisiblePosition(insertionPosition) != VisiblePosition(positionBeforeNode(blockToInsert.get()))… in doApply()
403 VisiblePosition beforeNodePosition = positionBeforeNode(n); in doApply()
Dhtmlediting.h138 return editingIgnoresContent(node) ? positionBeforeNode(node) : firstPositionInNode(node); in firstPositionInOrBeforeNode()
DIndentOutdentCommand.cpp190 …h(visibleStartOfParagraph), endOfParagraph(visibleEndOfParagraph), positionBeforeNode(placeholder.… in outdentParagraph()
DReplaceSelectionCommand.cpp825 destination = VisiblePosition(positionBeforeNode(placeholder.get())); in mergeEndIfNeeded()
994 … originalVisPosBeforeEndBR = VisiblePosition(positionBeforeNode(endBR), DOWNSTREAM).previous(); in doApply()
1237 VisiblePosition visiblePos(positionBeforeNode(endBR)); in shouldRemoveEndBR()
1493 …&& shouldRemoveEndBR(nodeAfterInsertionPos.get(), positionBeforeNode(nodeAfterInsertionPos.get()))) in performTrivialReplace()
DVisibleUnits.cpp92 Position pos = previousNode->hasTagName(brTag) ? positionBeforeNode(previousNode) : in previousRootInlineBoxCandidatePosition()
758 : positionBeforeNode(startNode); in startPositionForLine()
831 pos = positionBeforeNode(endNode); in endPositionForLine()
1103 return positionBeforeNode(startNode); in startOfParagraph()
DApplyBlockElementCommand.cpp114 …setEndingSelection(VisibleSelection(positionBeforeNode(placeholder.get()), DOWNSTREAM, endingSelec… in formatSelection()
DDeleteSelectionCommand.cpp118 start = positionBeforeNode(start.deprecatedNode()); in initializeStartEnd()
327 …if (upstreamStartIsBR && downstreamStartIsBR && !(isStartOfBlock(positionBeforeNode(nodeAfterUpstr… in handleSpecialCaseBRDelete()
DApplyStyleCommand.cpp839 …if (m_styledInlineElement && !enclosingNodeWithTag(positionBeforeNode(node), m_styledInlineElement… in shouldApplyInlineStyleToRun()
1222 updateStartEnd(positionBeforeNode(start.containerNode()), newEnd); in splitTextElementAtStart()
1413 insertNodeAt(dummyElement, positionBeforeNode(startNode.get())); in positionToComputeInlineStyleChange()
1414 return positionBeforeNode(dummyElement.get()); in positionToComputeInlineStyleChange()
DTypingCommand.cpp457 …setEndingSelection(VisibleSelection(positionBeforeNode(table), endingSelection().start(), DOWNSTRE… in deleteKeyPressed()
Dmarkup.cpp721 positionBeforeNode(nodeAfterContext.get()).parentAnchoredEquivalent()); in createFragmentFromMarkupWithContext()
DCompositeEditCommand.cpp1382 VisiblePosition atBR(positionBeforeNode(br.get())); in breakOutOfEmptyMailBlockquotedParagraph()
DFrameSelection.cpp601 …AfterNode(rootUserSelectAll).downstream(CanCrossEditingBoundary) : positionBeforeNode(rootUserSele… in adjustPositionForUserSelectAll()
DTextIterator.cpp985 VisiblePosition currPos = VisiblePosition(positionBeforeNode(m_node), DOWNSTREAM); in shouldRepresentNodeOffsetZero()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DPositionIterator.cpp44 return positionBeforeNode(m_anchorNode); in operator Position()
DPosition.h263 inline Position positionBeforeNode(Node* anchorNode) in positionBeforeNode() function
/external/chromium_org/third_party/WebKit/Source/core/page/
DEventHandler.cpp433 newSelection.setBase(positionBeforeNode(rootUserSelectAll).upstream(CanCrossEditingBoundary)); in expandSelectionToRespectUserSelectAll()
814 …newSelection.setBase(positionBeforeNode(rootUserSelectAllForMousePressNode).upstream(CanCrossEditi… in updateSelectionForMouseDrag()
823 …newSelection.setExtent(positionBeforeNode(rootUserSelectAllForTarget).upstream(CanCrossEditingBoun… in updateSelectionForMouseDrag()