Searched refs:positionBeforeNode (Results 1 – 20 of 20) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | BreakBlockquoteCommand.cpp | 82 …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()
|
D | InsertListCommand.cpp | 309 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()
|
D | InsertLineBreakCommand.cpp | 125 VisiblePosition endingPosition(positionBeforeNode(nodeToInsert.get())); in doApply() 131 if (!isStartOfParagraph(positionBeforeNode(nodeToInsert.get()))) in doApply()
|
D | VisibleSelection.cpp | 479 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()
|
D | InsertParagraphSeparatorCommand.cpp | 391 …if (VisiblePosition(insertionPosition) != VisiblePosition(positionBeforeNode(blockToInsert.get()))… in doApply() 403 VisiblePosition beforeNodePosition = positionBeforeNode(n); in doApply()
|
D | htmlediting.h | 138 return editingIgnoresContent(node) ? positionBeforeNode(node) : firstPositionInNode(node); in firstPositionInOrBeforeNode()
|
D | IndentOutdentCommand.cpp | 190 …h(visibleStartOfParagraph), endOfParagraph(visibleEndOfParagraph), positionBeforeNode(placeholder.… in outdentParagraph()
|
D | ReplaceSelectionCommand.cpp | 825 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()
|
D | VisibleUnits.cpp | 92 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()
|
D | ApplyBlockElementCommand.cpp | 114 …setEndingSelection(VisibleSelection(positionBeforeNode(placeholder.get()), DOWNSTREAM, endingSelec… in formatSelection()
|
D | DeleteSelectionCommand.cpp | 118 start = positionBeforeNode(start.deprecatedNode()); in initializeStartEnd() 327 …if (upstreamStartIsBR && downstreamStartIsBR && !(isStartOfBlock(positionBeforeNode(nodeAfterUpstr… in handleSpecialCaseBRDelete()
|
D | ApplyStyleCommand.cpp | 839 …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()
|
D | TypingCommand.cpp | 457 …setEndingSelection(VisibleSelection(positionBeforeNode(table), endingSelection().start(), DOWNSTRE… in deleteKeyPressed()
|
D | markup.cpp | 721 positionBeforeNode(nodeAfterContext.get()).parentAnchoredEquivalent()); in createFragmentFromMarkupWithContext()
|
D | CompositeEditCommand.cpp | 1382 VisiblePosition atBR(positionBeforeNode(br.get())); in breakOutOfEmptyMailBlockquotedParagraph()
|
D | FrameSelection.cpp | 601 …AfterNode(rootUserSelectAll).downstream(CanCrossEditingBoundary) : positionBeforeNode(rootUserSele… in adjustPositionForUserSelectAll()
|
D | TextIterator.cpp | 985 VisiblePosition currPos = VisiblePosition(positionBeforeNode(m_node), DOWNSTREAM); in shouldRepresentNodeOffsetZero()
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | PositionIterator.cpp | 44 return positionBeforeNode(m_anchorNode); in operator Position()
|
D | Position.h | 263 inline Position positionBeforeNode(Node* anchorNode) in positionBeforeNode() function
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | EventHandler.cpp | 433 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()
|