Home
last modified time | relevance | path

Searched refs:firstPositionInNode (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
DInsertLineBreakCommand.cpp122 Position endingPosition = firstPositionInNode(textNode); in doApply()
137 endingPosition = firstPositionInNode(nbspNode.get()); in doApply()
DInsertListCommand.cpp234 …Node* firstChildInList = enclosingListChild(VisiblePosition(firstPositionInNode(listElement.get())… in doApplyForSingleParagraph()
237 …moveParagraphWithClones(VisiblePosition(firstPositionInNode(listElement.get())), VisiblePosition(l… in doApplyForSingleParagraph()
254 setEndingSelection(VisiblePosition(firstPositionInNode(newList.get()))); in doApplyForSingleParagraph()
274 start = VisiblePosition(firstPositionInNode(listChildNode)); in unlistifyParagraph()
DInsertParagraphSeparatorCommand.cpp260 …setEndingSelection(VisibleSelection(firstPositionInNode(parent.get()), DOWNSTREAM, endingSelection… in doApply()
364 positionAfterSplit = firstPositionInNode(textNode.get()); in doApply()
427 …setEndingSelection(VisibleSelection(firstPositionInNode(blockToInsert.get()), DOWNSTREAM, endingSe… in doApply()
DInsertTextCommand.cpp54 return firstPositionInNode(textNode.get()); in positionInsideTextNode()
62 return firstPositionInNode(textNode.get()); in positionInsideTextNode()
DReplaceSelectionCommand.cpp526 …toHTMLQuoteElement(enclosingNodeOfType(firstPositionInNode(context), isMailHTMLBlockquoteElement, … in removeRedundantStylesAndKeepStyleSpanInline()
546 …&& VisiblePosition(firstPositionInNode(element->parentNode())) == VisiblePosition(firstPositionInN… in removeRedundantStylesAndKeepStyleSpanInline()
802 …toHTMLQuoteElement(enclosingNodeOfType(firstPositionInNode(context), isMailHTMLBlockquoteElement, … in handleStyleSpans()
807 style->prepareToApplyAt(firstPositionInNode(context)); in handleStyleSpans()
1077 insertionPos = firstPositionInNode(insertionPos.containerNode()); in doApply()
1233 setEndingSelection(VisiblePosition(firstPositionInNode(newListItem.get()))); in doApply()
1353 m_startOfInsertedContent = firstPositionInNode(node.get()); in addSpacesForSmartReplace()
DSurroundingText.cpp85 …RefPtrWillBeRawPtr<Range> backwardsRange = Range::create(*document, firstPositionInNode(document->… in initialize()
DApplyBlockElementCommand.cpp204 start = firstPositionInNode(startText); in rangeForParagraphSplittingTextNodesIfNeeded()
255 …ine() || !position.offsetInContainerNode() || !isNewLineAtPosition(firstPositionInNode(text.get())… in endOfNextParagrahSplittingTextNodesIfNeeded()
DVisibleUnits.cpp756 return VisiblePosition(firstPositionInNode(editableRoot)); in startOfLine()
966 return VisiblePosition(firstPositionInNode(rootElement), DOWNSTREAM); in previousLinePosition()
1291 return startBlock ? VisiblePosition(firstPositionInNode(startBlock)) : VisiblePosition(); in startOfBlock()
1323 return VisiblePosition(firstPositionInNode(node->document().documentElement()), DOWNSTREAM); in startOfDocument()
1363 return VisiblePosition(firstPositionInNode(highestRoot)); in startOfEditableContent()
Dmarkup.cpp247 … const bool useRenderedText = !enclosingElementWithTag(firstPositionInNode(&text), selectTag); in appendText()
543 …ewSpecialCommonAncestor = toHTMLElement(highestEnclosingNodeOfType(firstPositionInNode(checkAncest… in highestAncestorToWrapMarkup()
557 …ent* enclosingAnchor = toHTMLAnchorElement(enclosingElementWithTag(firstPositionInNode(specialComm… in highestAncestorToWrapMarkup()
581 …HTMLBodyElement* body = toHTMLBodyElement(enclosingElementWithTag(firstPositionInNode(commonAncest… in createMarkupInternal()
Dhtmlediting.h146 return editingIgnoresContent(node) ? positionBeforeNode(node) : firstPositionInNode(node); in firstPositionInOrBeforeNode()
DCompositeEditCommand.cpp964 …moveParagraphs(visibleParagraphStart, visibleParagraphEnd, VisiblePosition(firstPositionInNode(new… in moveParagraphContentsToNewBlockIfNecessary()
1254 …destinationIndex = TextIterator::rangeLength(firstPositionInNode(document().documentElement()), de… in moveParagraphs()
1343 …setEndingSelection(VisibleSelection(firstPositionInNode(newBlock.get()), DOWNSTREAM, endingSelecti… in breakOutOfEmptyListItem()
1424 VisiblePosition firstInAnchor(firstPositionInNode(enclosingAnchor)); in positionAvoidingSpecialElementBoundary()
1487 VisiblePosition positionInParent(firstPositionInNode(parentElement)); in splitTreeToNode()
DTypingCommand.cpp404 …setEndingSelection(VisibleSelection(firstPositionInNode(root), DOWNSTREAM, endingSelection().isDir… in makeEditableRootEmpty()
455 …if (enclosingTableCell && visibleStart == VisiblePosition(firstPositionInNode(enclosingTableCell))) in deleteKeyPressed()
DIndentOutdentCommand.cpp154 … VisiblePosition positionInEnclosingBlock = VisiblePosition(firstPositionInNode(enclosingElement)); in outdentParagraph()
Dhtmlediting.cpp264 …if (comparePositions(position, firstPositionInNode(highestRoot)) == -1 && highestRoot->hasEditable… in firstEditableVisiblePositionAfterPositionInRoot()
265 return VisiblePosition(firstPositionInNode(highestRoot)); in firstEditableVisiblePositionAfterPositionInRoot()
1120 …RefPtrWillBeRawPtr<Range> range = Range::create(document, firstPositionInNode(scope.get()), p.pare… in indexForVisiblePosition()
DDeleteSelectionCommand.cpp53 return VisiblePosition(firstPositionInNode(cell)) == VisiblePosition(lastPositionInNode(cell)); in isTableCellEmpty()
387 … VisiblePosition previous = VisiblePosition(firstPositionInNode(m_startBlock.get())).previous(); in removeNode()
DSpellChecker.cpp137 … enclosingHTMLTextFormControlElement = enclosingTextFormControl(firstPositionInNode(element)); in didBeginEditing()
519 …RefPtrWillBeRawPtr<Range> rangeToCheck = Range::create(*frame().document(), firstPositionInNode(no… in chunkAndMarkAllMisspellingsAndBadGrammar()
DApplyStyleCommand.cpp263 …RefPtrWillBeRawPtr<Range> startRange = Range::create(document(), firstPositionInNode(&scope), visi… in applyBlockStyle()
264 …RefPtrWillBeRawPtr<Range> endRange = Range::create(document(), firstPositionInNode(&scope), visibl… in applyBlockStyle()
1207 updateStartEnd(firstPositionInNode(text.get()), newEnd); in splitTextAtStart()
DEditor.cpp1220 Position searchStart = firstPositionInNode(frame().document()); in rangeOfString()
1246 searchStart = firstPositionInNode(frame().document()); in rangeOfString()
DVisibleSelection.cpp147 return VisibleSelection(firstPositionInNode(node), lastPositionInNode(node), DOWNSTREAM); in selectionFromContentsOfNode()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DPosition.h274 inline Position firstPositionInNode(Node* anchorNode) in firstPositionInNode() function
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGTextContentElement.cpp184 VisiblePosition start(firstPositionInNode(const_cast<SVGTextContentElement*>(this))); in selectSubString()
/external/chromium_org/third_party/WebKit/Source/web/
DTextFinder.cpp235 Position searchStart = firstPositionInNode(m_ownerFrame.frame()->document()); in scopeStringMatches()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLTextFormControlElement.cpp392 return VisiblePosition(firstPositionInNode(innerEditorElement()), DOWNSTREAM); in visiblePositionForIndex()