/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | Position.cpp | 297 Node* node = deprecatedNode(); in previous() 333 Node* node = deprecatedNode(); in next() 387 return !lastOffsetForEditing(deprecatedNode()); in atFirstEditingPositionForNode() 399 …r || m_anchorType == PositionIsAfterChildren || m_offset >= lastOffsetForEditing(deprecatedNode()); in atLastEditingPositionForNode() 412 …if (atFirstEditingPositionForNode() && nextPosition.isNotNull() && !nextPosition.deprecatedNode()-… in atEditingBoundary() 416 …if (atLastEditingPositionForNode() && prevPosition.isNotNull() && !prevPosition.deprecatedNode()->… in atEditingBoundary() 419 return nextPosition.isNotNull() && !nextPosition.deprecatedNode()->rendererIsEditable() in atEditingBoundary() 420 && prevPosition.isNotNull() && !prevPosition.deprecatedNode()->rendererIsEditable(); in atEditingBoundary() 444 return !deprecatedNode()->parentNode() && m_offset <= 0; in atStartOfTree() 451 return !deprecatedNode()->parentNode() && m_offset >= lastOffsetForEditing(deprecatedNode()); in atEndOfTree() [all …]
|
D | Position.h | 129 Node* deprecatedNode() const { return m_anchorNode.get(); } in deprecatedNode() function
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | DeleteSelectionCommand.cpp | 109 if (isHTMLHRElement(*start.deprecatedNode())) in initializeStartEnd() 110 start = positionBeforeNode(start.deprecatedNode()); in initializeStartEnd() 111 else if (isHTMLHRElement(*end.deprecatedNode())) in initializeStartEnd() 112 end = positionAfterNode(end.deprecatedNode()); in initializeStartEnd() 278 …if (m_upstreamStart.deprecatedNode() == m_downstreamEnd.deprecatedNode() && m_upstreamStart.deprec… in saveTypingStyleState() 447 Node* startNode = m_upstreamStart.deprecatedNode(); in handleGeneralDelete() 475 if (startNode == m_downstreamEnd.deprecatedNode()) { in handleGeneralDelete() 492 …NodeWasDescendantOfEndNode = m_upstreamStart.deprecatedNode()->isDescendantOf(m_downstreamEnd.depr… in handleGeneralDelete() 505 } else if (startNode == m_upstreamEnd.deprecatedNode() && startNode->isTextNode()) { in handleGeneralDelete() 506 Text* text = toText(m_upstreamEnd.deprecatedNode()); in handleGeneralDelete() [all …]
|
D | InsertLineBreakCommand.cpp | 62 …return p.deprecatedNode()->renderer() && !p.deprecatedNode()->renderer()->style()->preserveNewline… in shouldUseBreakElement() 93 …ol needExtraLineBreak = !isHTMLHRElement(*pos.deprecatedNode()) && !isHTMLTableElement(*pos.deprec… in doApply() 102 } else if (pos.deprecatedEditingOffset() <= caretMinOffset(pos.deprecatedNode())) { in doApply() 112 …if (pos.deprecatedEditingOffset() >= caretMaxOffset(pos.deprecatedNode()) || !pos.deprecatedNode()… in doApply() 115 } else if (pos.deprecatedNode()->isTextNode()) { in doApply() 117 Text* textNode = toText(pos.deprecatedNode()); in doApply()
|
D | htmlediting.cpp | 118 Node* node = position.deprecatedNode(); in highestEditableRoot() 172 Node* node = pos.deprecatedNode(); in isAtUnsplittableElement() 179 Node* node = p.deprecatedNode(); in isRichlyEditablePosition() 269 if (position.deprecatedNode()->treeScope() != highestRoot->treeScope()) { in firstEditableVisiblePositionAfterPositionInRoot() 270 …* shadowAncestor = highestRoot->treeScope().ancestorInThisScope(editablePosition.deprecatedNode()); in firstEditableVisiblePositionAfterPositionInRoot() 277 …while (editablePosition.deprecatedNode() && !isEditablePosition(editablePosition) && editablePosit… in firstEditableVisiblePositionAfterPositionInRoot() 278 …tion = isAtomicNode(editablePosition.deprecatedNode()) ? positionInParentAfterNode(*editablePositi… in firstEditableVisiblePositionAfterPositionInRoot() 280 …if (editablePosition.deprecatedNode() && editablePosition.deprecatedNode() != highestRoot && !edit… in firstEditableVisiblePositionAfterPositionInRoot() 299 if (position.deprecatedNode()->treeScope() != highestRoot->treeScope()) { in lastEditablePositionBeforePositionInRoot() 300 …* shadowAncestor = highestRoot->treeScope().ancestorInThisScope(editablePosition.deprecatedNode()); in lastEditablePositionBeforePositionInRoot() [all …]
|
D | ApplyStyleCommand.cpp | 259 Node& scope = visibleStart.deepEquivalent().deprecatedNode()->highestAncestorOrSelf(); in applyBlockStyle() 271 … RefPtrWillBeRawPtr<Node> block = enclosingBlock(paragraphStart.deepEquivalent().deprecatedNode()); in applyBlockStyle() 322 if (start.deprecatedNode()->isTextNode()) { in applyRelativeFontStyleChange() 323 joinChildTextNodes(start.deprecatedNode()->parentNode(), start, end); in applyRelativeFontStyleChange() 331 …if (end.deprecatedNode()->isTextNode() && start.deprecatedNode()->parentNode() != end.deprecatedNo… in applyRelativeFontStyleChange() 332 joinChildTextNodes(end.deprecatedNode()->parentNode(), start, end); in applyRelativeFontStyleChange() 357 ASSERT(start.deprecatedNode()); in applyRelativeFontStyleChange() 358 ASSERT(end.deprecatedNode()); in applyRelativeFontStyleChange() 359 if (start.deprecatedNode()->isDescendantOf(end.deprecatedNode())) in applyRelativeFontStyleChange() 360 beyondEnd = NodeTraversal::nextSkippingChildren(*end.deprecatedNode()); in applyRelativeFontStyleChange() [all …]
|
D | CompositeEditCommand.cpp | 332 Node* refChild = p.deprecatedNode(); in insertNodeAt() 671 Node* node = position.deprecatedNode(); in prepareWhitespaceAtPositionForSplit() 803 for (Node* node = start.deprecatedNode(); node; node = NodeTraversal::next(*node)) { in deleteInsignificantText() 806 if (node == end.deprecatedNode()) in deleteInsignificantText() 812 int startOffset = textNode == start.deprecatedNode() ? start.deprecatedEditingOffset() : 0; in deleteInsignificantText() 813 …int endOffset = textNode == end.deprecatedNode() ? end.deprecatedEditingOffset() : static_cast<int… in deleteInsignificantText() 845 ASSERT(pos.deprecatedNode()->renderer()); in insertBlockPlaceholder() 917 if (isBlock(upstreamStart.deprecatedNode())) { in moveParagraphContentsToNewBlockIfNecessary() 920 if (upstreamStart.deprecatedNode() == editableRootForPosition(upstreamStart)) { in moveParagraphContentsToNewBlockIfNecessary() 923 …Position::hasRenderedNonAnonymousDescendantsWithHeight(upstreamStart.deprecatedNode()->renderer())) in moveParagraphContentsToNewBlockIfNecessary() [all …]
|
D | Caret.cpp | 62 if (Node* node = m_position.deepEquivalent().deprecatedNode()) in setCaretPosition() 67 if (Node* node = m_position.deepEquivalent().deprecatedNode()) { in setCaretPosition() 143 ASSERT(caretPosition.deepEquivalent().deprecatedNode()->renderer()); in updateCaretRect() 151 RenderObject* caretPainter = caretRenderer(caretPosition.deepEquivalent().deprecatedNode()); in updateCaretRect() 173 return CaretBase::caretRenderer(m_position.deepEquivalent().deprecatedNode()); in caretRenderer() 267 if (m_position.deepEquivalent().deprecatedNode()->document().frame() == frame) in paintDragCaret() 268 paintCaret(m_position.deepEquivalent().deprecatedNode(), p, paintOffset, clipRect); in paintDragCaret()
|
D | InsertListCommand.cpp | 87 if (!enclosingList(start.deepEquivalent().deprecatedNode())) in selectionHasListOfType() 92 Element* listNode = enclosingList(start.deepEquivalent().deprecatedNode()); in selectionHasListOfType() 202 Node* selectionNode = endingSelection().start().deprecatedNode(); in doApplyForSingleParagraph() 228 …isiblePosition(firstPositionInNode(listNode.get())).deepEquivalent().deprecatedNode(), listNode.ge… in doApplyForSingleParagraph() 276 nextListChild = enclosingListChild(end.next().deepEquivalent().deprecatedNode(), listNode); in unlistifyParagraph() 278 …previousListChild = enclosingListChild(start.previous().deepEquivalent().deprecatedNode(), listNod… in unlistifyParagraph() 319 Element* listNode = outermostEnclosingList(adjacentPos.deepEquivalent().deprecatedNode()); in adjacentEnclosingList() 328 || listNode->contains(pos.deepEquivalent().deprecatedNode()) in adjacentEnclosingList() 330 || enclosingList(listNode) != enclosingList(pos.deepEquivalent().deprecatedNode())) in adjacentEnclosingList() 362 if (start == end && isBlock(start.deepEquivalent().deprecatedNode())) { in listifyParagraph() [all …]
|
D | InsertParagraphSeparatorCommand.cpp | 175 || (!canonicalPos.isNull() && isRenderedTable(canonicalPos.deprecatedNode())) in doApply() 176 || (!canonicalPos.isNull() && isHTMLHRElement(*canonicalPos.deprecatedNode()))) { in doApply() 252 …getAncestorsInsideBlock(positionOutsideTabSpan(insertionPosition).deprecatedNode(), startBlock.get… in doApply() 282 else if (insertionPosition.deprecatedNode() == startBlock && nestNewBlock) { in doApply() 286 refNode = insertionPosition.deprecatedNode(); in doApply() 297 …ingSpecialElementBoundary(positionOutsideTabSpan(insertionPosition)).deprecatedNode(), startBlock.… in doApply() 336 if (editingIgnoresContent(insertionPosition.deprecatedNode())) { in doApply() 348 if (leadingWhitespace.isNotNull() && leadingWhitespace.deprecatedNode()->isTextNode()) { in doApply() 349 Text* textNode = toText(leadingWhitespace.deprecatedNode()); in doApply() 419 if (positionAfterSplit.deprecatedNode()->isTextNode()) in doApply()
|
D | ReplaceSelectionCommand.cpp | 119 if (editingIgnoresContent(pos.deprecatedNode())) in positionAvoidingPrecedingNodes() 409 && !isHTMLBRElement(*startOfInsertedContent.deepEquivalent().deprecatedNode()) in shouldMergeStart() 422 && !isHTMLBRElement(*endOfInsertedContent.deepEquivalent().deprecatedNode()) in shouldMergeEnd() 457 Node* sourceNode = source.deepEquivalent().deprecatedNode(); in shouldMerge() 458 Node* destinationNode = destination.deepEquivalent().deprecatedNode(); in shouldMerge() 834 insertNodeBefore(placeholder, startOfParagraphToMove.deepEquivalent().deprecatedNode()); in mergeEndIfNeeded() 905 ASSERT(selection.start().deprecatedNode()); in doApply() 906 if (!selection.isNonOrphanedCaretOrRange() || !selection.start().deprecatedNode()) in doApply() 917 …if ((selection.start().deprecatedNode()->renderer() && selection.start().deprecatedNode()->rendere… in doApply() 918 …&& (selection.end().deprecatedNode()->renderer() && selection.end().deprecatedNode()->renderer()->… in doApply() [all …]
|
D | FormatBlockCommand.cpp | 70 Node* nodeToSplitTo = enclosingBlockToSplitTreeTo(start.deprecatedNode()); in formatRange() 71 …<Node> outerBlock = (start.deprecatedNode() == nodeToSplitTo) ? start.deprecatedNode() : splitTree… in formatRange()
|
D | VisiblePosition.cpp | 463 if (highestRoot && !pos.deepEquivalent().deprecatedNode()->isDescendantOf(highestRoot)) in honorEditingBoundaryAtOrBefore() 489 if (highestRoot && !pos.deepEquivalent().deprecatedNode()->isDescendantOf(highestRoot)) in honorEditingBoundaryAtOrAfter() 589 Node* nextNode = next.deprecatedNode(); in canonicalPosition() 590 Node* prevNode = prev.deprecatedNode(); in canonicalPosition() 601 if (isHTMLHtmlElement(editingRoot) || position.deprecatedNode()->isDocumentNode()) in canonicalPosition() 706 …fprintf(stderr, "Position [%s]: %s, ", msg, m_deepPosition.deprecatedNode()->nodeName().utf8().dat… in debugPosition() 766 return visiblePosition.deepEquivalent().deprecatedNode()->enclosingBlockFlowElement(); in enclosingBlockFlowElement() 778 return previous.isNull() || !previous.deepEquivalent().deprecatedNode()->isDescendantOf(node); in isFirstVisiblePositionInNode() 790 return next.isNull() || !next.deepEquivalent().deprecatedNode()->isDescendantOf(node); in isLastVisiblePositionInNode()
|
D | VisibleUnits.cpp | 469 … forwardsScanRange->setStart(end.deprecatedNode(), end.deprecatedEditingOffset(), exceptionState); in previousBoundary() 483 searchRange->setStart(start.deprecatedNode(), start.deprecatedEditingOffset(), exceptionState); in previousBoundary() 484 searchRange->setEnd(end.deprecatedNode(), end.deprecatedEditingOffset(), exceptionState); in previousBoundary() 547 …backwardsScanRange->setEnd(start.deprecatedNode(), start.deprecatedEditingOffset(), IGNORE_EXCEPTI… in nextBoundary() 563 … searchRange->setStart(start.deprecatedNode(), start.deprecatedEditingOffset(), IGNORE_EXCEPTION); in nextBoundary() 722 …if (p.deprecatedNode()->renderer() && p.deprecatedNode()->renderer()->isRenderBlock() && !p.deprec… in startPositionForLine() 790 …if (p.deprecatedNode()->renderer() && p.deprecatedNode()->renderer()->isRenderBlock() && !p.deprec… in endPositionForLine() 918 Node* node = p.deprecatedNode(); in previousLinePosition() 973 Node* node = p.deprecatedNode(); in nextLinePosition() 1085 Node* startNode = p.deprecatedNode(); in startOfParagraph() [all …]
|
D | IndentOutdentCommand.cpp | 56 RefPtrWillBeRawPtr<Node> lastNodeInSelectedParagraph = start.deprecatedNode(); in tryIndentingAsListItem() 180 …* enclosingBlockFlow = enclosingBlock(visibleStartOfParagraph.deepEquivalent().deprecatedNode())) { in outdentParagraph() 186 …ighestInlineNode) ? highestInlineNode : visibleStartOfParagraph.deepEquivalent().deprecatedNode()); in outdentParagraph()
|
D | FrameSelection.cpp | 1215 return CaretBase::caretRenderer(m_selection.start().deprecatedNode()); in caretRenderer() 1255 …m_absCaretBounds = absoluteBoundsForLocalRect(m_selection.start().deprecatedNode(), localCaretRect… in recomputeCaretRect() 1264 Node* node = m_selection.start().deprecatedNode(); in recomputeCaretRect() 1278 CaretBase::invalidateCaretRect(m_selection.start().deprecatedNode(), recomputeCaretRect()); in invalidateCaretRect() 1284 CaretBase::paintCaret(m_selection.start().deprecatedNode(), context, paintOffset, clipRect); in paintCaret() 1586 RenderObject* startRenderer = startPos.deprecatedNode()->renderer(); in updateAppearance() 1587 RenderObject* endRenderer = endPos.deprecatedNode()->renderer(); in updateAppearance() 1756 start = this->start().deprecatedNode(); in currentForm() 1786 ASSERT(start.deprecatedNode()); in revealSelection() 1787 if (start.deprecatedNode() && start.deprecatedNode()->renderer()) { in revealSelection() [all …]
|
D | SpellChecker.cpp | 163 if (selection.start().deprecatedNode()) { in advanceToNextMisspelling() 188 …spellingSearchRange->setStart(rangeCompliantPosition.deprecatedNode(), rangeCompliantPosition.depr… in advanceToNextMisspelling() 433 return isSpellCheckingEnabledFor(m_frame.selection().start().deprecatedNode()); in isSpellCheckingEnabledInFocusedNode() 797 …enderer())->textFormControlElement()->visiblePositionForIndex(1).deepEquivalent().deprecatedNode(); in findFirstMarkable() 809 Node* node = findFirstMarkable(m_frame.selection().start().deprecatedNode()); in selectionStartHasMarkerFor()
|
D | VisiblePosition.h | 88 …Element() const { return m_deepPosition.isNotNull() ? m_deepPosition.deprecatedNode()->rootEditabl… in rootEditableElement()
|
D | VisibleSelection.cpp | 269 Node* n = pos.deprecatedNode(); in makeSearchRange() 372 if (isEndOfParagraph(originalEnd) && !isEmptyTableCell(m_start.deprecatedNode())) { in setStartAndEndFromBaseAndExtentRespectingGranularity() 736 return start().deprecatedNode() ? start().deprecatedNode()->nonBoundaryShadowTreeRootNode() : 0; in nonBoundaryShadowTreeRootNode()
|
D | ApplyBlockElementCommand.cpp | 218 …OfEnclosingTextNode(m_endOfLastParagraph) && end.deprecatedNode() == m_endOfLastParagraph.deprecat… in rangeForParagraphSplittingTextNodesIfNeeded()
|
D | InputMethodController.cpp | 292 Node* baseNode = base.deprecatedNode(); in setComposition() 294 Node* extentNode = extent.deprecatedNode(); in setComposition()
|
D | EditingStyle.cpp | 361 init(position.deprecatedNode(), propertiesToInclude); in EditingStyle() 709 for (Node* node = selection.start().deprecatedNode(); node; node = NodeTraversal::next(*node)) { in triStateOfStyle() 723 if (node == selection.end().deprecatedNode()) in triStateOfStyle() 1295 Node* node = position.deprecatedNode(); in textDirectionForSelection() 1326 node = selection.visibleStart().deepEquivalent().deprecatedNode(); in textDirectionForSelection() 1363 if (selection.isRange() && !end.deprecatedNode()->isDescendantOf(node)) in textDirectionForSelection() 1415 if (isTabSpanTextNode(position.deprecatedNode()) || isTabSpanNode((position.deprecatedNode()))) in StyleChange()
|
D | BreakBlockquoteCommand.cpp | 107 Node* startNode = pos.deprecatedNode(); in doApply()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderTreeAsText.cpp | 686 …on.start().deprecatedEditingOffset() << " of " << nodePosition(selection.start().deprecatedNode()); in writeSelection() 691 …t().deprecatedEditingOffset() << " of " << nodePosition(selection.start().deprecatedNode()) << "\n" in writeSelection() 692 …nd().deprecatedEditingOffset() << " of " << nodePosition(selection.end().deprecatedNode()) << "\n"; in writeSelection()
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
D | HTMLTextFormControlElement.cpp | 302 ASSERT(startPosition.deepEquivalent().deprecatedNode()->shadowHost() == this in setSelectionRange() 303 && endPosition.deepEquivalent().deprecatedNode()->shadowHost() == this); in setSelectionRange()
|