/external/webkit/Source/WebCore/editing/ |
VisibleSelection.cpp | 67 : m_base(pos.deepEquivalent()) 68 , m_extent(pos.deepEquivalent()) 75 : m_base(base.deepEquivalent()) 76 , m_extent(extent.deepEquivalent()) 104 m_base = visiblePosition.deepEquivalent(); 116 m_extent = visiblePosition.deepEquivalent(); 247 m_base = VisiblePosition(m_base, m_affinity).deepEquivalent(); 252 m_extent = VisiblePosition(m_extent, m_affinity).deepEquivalent(); 292 m_start = startOfWord(start, side).deepEquivalent(); 319 m_end = end.deepEquivalent(); [all...] |
InsertListCommand.cpp | 87 if (!enclosingList(start.deepEquivalent().deprecatedNode())) 92 Element* listNode = enclosingList(start.deepEquivalent().deprecatedNode()); 146 if (!startOfLastParagraph.deepEquivalent().anchorNode()->inDocument()) 220 Node* firstChildInList = enclosingListChild(VisiblePosition(firstPositionInNode(listNode.get())).deepEquivalent().deprecatedNode(), listNode.get()); 268 nextListChild = enclosingListChild(end.next().deepEquivalent().deprecatedNode(), listNode); 270 previousListChild = enclosingListChild(start.previous().deepEquivalent().deprecatedNode(), listNode); 311 Element* listNode = outermostEnclosingList(adjacentPos.deepEquivalent().deprecatedNode()); 316 Node* previousCell = enclosingTableCell(pos.deepEquivalent()); 317 Node* currentCell = enclosingTableCell(adjacentPos.deepEquivalent()); 320 || listNode->contains(pos.deepEquivalent().deprecatedNode() [all...] |
IndentOutdentCommand.cpp | 122 Node* enclosingNode = enclosingNodeOfType(visibleStartOfParagraph.deepEquivalent(), &isListOrIndentBlockquote); 160 visibleStartOfParagraph = VisiblePosition(visibleStartOfParagraph.deepEquivalent()); 161 visibleEndOfParagraph = VisiblePosition(visibleEndOfParagraph.deepEquivalent()); 163 insertNodeAt(createBreakElement(document()), visibleStartOfParagraph.deepEquivalent()); 165 insertNodeAt(createBreakElement(document()), visibleEndOfParagraph.deepEquivalent()); 169 Node* enclosingBlockFlow = enclosingBlock(visibleStartOfParagraph.deepEquivalent().deprecatedNode()); 175 splitElement(static_cast<Element*>(enclosingNode), visibleStartOfParagraph.deepEquivalent().deprecatedNode()); 208 if (endAfterSelection.isNotNull() && !endAfterSelection.deepEquivalent().anchorNode()->inDocument()) 211 if (endOfNextParagraph.isNotNull() && !endOfNextParagraph.deepEquivalent().anchorNode()->inDocument()) {
|
ApplyBlockElementCommand.cpp | 99 Position start = startOfSelection.deepEquivalent().downstream(); 112 m_endOfLastParagraph = endOfParagraph(endOfSelection).deepEquivalent(); 117 if (endOfCurrentParagraph.deepEquivalent() == m_endOfLastParagraph) 131 if (enclosingCell && enclosingCell != enclosingNodeOfType(endOfNextParagraph.deepEquivalent(), &isTableCell)) 137 if (endAfterSelection.isNotNull() && !endAfterSelection.deepEquivalent().anchorNode()->inDocument()) 139 // Sanity check: Make sure our moveParagraph calls didn't remove endOfNextParagraph.deepEquivalent().deprecatedNode() 141 if (endOfNextParagraph.isNotNull() && !endOfNextParagraph.deepEquivalent().anchorNode()->inDocument()) { 179 start = startOfParagraph(endOfCurrentParagraph).deepEquivalent(); 180 end = endOfCurrentParagraph.deepEquivalent(); 190 start = startOfParagraph(end.previous()).deepEquivalent(); [all...] |
VisiblePosition.h | 64 Position deepEquivalent() const { return m_deepPosition; } 122 return a.deepEquivalent() == b.deepEquivalent();
|
VisiblePosition.cpp | 413 Node* highestRoot = highestEditableRoot(deepEquivalent()); 416 if (highestRoot && !pos.deepEquivalent().deprecatedNode()->isDescendantOf(highestRoot)) 422 if (highestEditableRoot(pos.deepEquivalent()) == highestRoot) 431 return lastEditablePositionBeforePositionInRoot(pos.deepEquivalent(), highestRoot); 439 Node* highestRoot = highestEditableRoot(deepEquivalent()); 442 if (highestRoot && !pos.deepEquivalent().deprecatedNode()->isDescendantOf(highestRoot)) 448 if (highestEditableRoot(pos.deepEquivalent()) == highestRoot) 457 return firstEditablePositionAfterPositionInRoot(pos.deepEquivalent(), highestRoot); 633 Position s = start.deepEquivalent().parentAnchoredEquivalent(); 634 Position e = end.deepEquivalent().parentAnchoredEquivalent() [all...] |
CompositeEditCommand.cpp | 501 Position previous(previousVisiblePos.deepEquivalent()); 623 Position end = VisiblePosition(pos, VP_DEFAULT_AFFINITY).next().deepEquivalent().downstream(); 713 Position upstreamStart = visibleParagraphStart.deepEquivalent().upstream(); 714 Position upstreamEnd = visibleEnd.deepEquivalent().upstream(); 749 bool endWasBr = visibleParagraphEnd.deepEquivalent().deprecatedNode()->hasTagName(brTag); 838 Position position = caretAfterDelete.deepEquivalent().downstream(); [all...] |
ReplaceSelectionCommand.cpp | 359 Position existing = endOfExistingContent.deepEquivalent(); 360 Position inserted = endOfInsertedContent.deepEquivalent(); 386 && !startOfInsertedContent.deepEquivalent().deprecatedNode()->hasTagName(brTag) 399 && !endOfInsertedContent.deepEquivalent().deprecatedNode()->hasTagName(brTag) 457 Node* sourceNode = source.deepEquivalent().deprecatedNode(); 458 Node* destinationNode = destination.deepEquivalent().deprecatedNode(); 461 return !enclosingNodeOfType(source.deepEquivalent(), &isMailPasteAsQuotationNode) && 464 enclosingTableCell(source.deepEquivalent()) == enclosingTableCell(destination.deepEquivalent()) && 744 insertNodeBefore(placeholder, startOfParagraphToMove.deepEquivalent().deprecatedNode()) [all...] |
DeleteSelectionCommand.cpp | 228 Position pos = VisiblePosition(m_upstreamStart, m_selectionToDelete.affinity()).deepEquivalent(); 237 pos = visiblePos.deepEquivalent(); 252 pos = VisiblePosition(m_downstreamEnd, VP_DEFAULT_AFFINITY).next().deepEquivalent(); 603 if (!startOfParagraphToMove.deepEquivalent().deprecatedNode() || !endBlock->contains(startOfParagraphToMove.deepEquivalent().deprecatedNode())) { 609 if (!mergeDestination.deepEquivalent().deprecatedNode() || !mergeDestination.deepEquivalent().deprecatedNode()->isDescendantOf(enclosingBlock(m_upstreamStart.containerNode())) || m_startsAtEmptyLine) { 625 if (mergeDestination.deepEquivalent().downstream().deprecatedNode()->hasTagName(brTag)) { 626 removeNodeAndPruneAncestors(mergeDestination.deepEquivalent().downstream().deprecatedNode()); 627 m_endingPosition = startOfParagraphToMove.deepEquivalent(); [all...] |
visible_units.cpp | 55 Position pos = c.deepEquivalent(); 136 Position pos = c.deepEquivalent(); 320 Position p = c.deepEquivalent(); 340 if (isLastPositionBeforeTable(previous) && isEditablePosition(previous.deepEquivalent())) 355 Position p = c.deepEquivalent(); 403 Position p = c.deepEquivalent(); 502 Position p = visiblePosition.deepEquivalent(); 613 Position p = visiblePosition.deepEquivalent(); 745 Position p = c.deepEquivalent(); 819 Position p = c.deepEquivalent(); [all...] |
htmlediting.cpp | 132 return comparePositions(a.deepEquivalent(), b.deepEquivalent()); 511 Position upstream(visiblePosition.deepEquivalent().upstream()); 520 Position downstream(visiblePosition.deepEquivalent().downstream()); 554 selectedRange->setStart(start.deepEquivalent().containerNode(), start.deepEquivalent().computeOffsetInContainerNode(), ec); 556 selectedRange->setEnd(end.deepEquivalent().containerNode(), end.deepEquivalent().computeOffsetInContainerNode(), ec); 734 Node* listChildNode = enclosingListChild(visiblePos.deepEquivalent().deprecatedNode()); [all...] |
SelectionController.cpp | 97 setSelection(VisibleSelection(pos.deepEquivalent(), pos.deepEquivalent(), pos.affinity()), options, align); 105 setSelection(VisibleSelection(base.deepEquivalent(), extent.deepEquivalent(), base.affinity()), options); 490 if (isEditablePosition(pos.deepEquivalent())) 574 if (isEditablePosition(pos.deepEquivalent())) 662 if (isEditablePosition(pos.deepEquivalent())) 739 if (isEditablePosition(pos.deepEquivalent())) [all...] |
InsertLineBreakCommand.cpp | 101 Position pos(caret.deepEquivalent());
|
InsertParagraphSeparatorCommand.cpp | 166 Position canonicalPos = VisiblePosition(insertionPosition).deepEquivalent(); 305 insertionPosition = positionOutsideTabSpan(VisiblePosition(insertionPosition).deepEquivalent());
|
InsertTextCommand.cpp | 207 Position insertPos = VisiblePosition(pos, DOWNSTREAM).deepEquivalent();
|
ApplyStyleCommand.cpp | 257 Node* scope = highestAncestor(visibleStart.deepEquivalent().deprecatedNode()); 258 RefPtr<Range> startRange = Range::create(document(), firstPositionInNode(scope), visibleStart.deepEquivalent().parentAnchoredEquivalent()); 259 RefPtr<Range> endRange = Range::create(document(), firstPositionInNode(scope), visibleEnd.deepEquivalent().parentAnchoredEquivalent()); 267 StyleChange styleChange(style, paragraphStart.deepEquivalent()); 269 RefPtr<Node> block = enclosingBlock(paragraphStart.deepEquivalent().deprecatedNode()); 271 RefPtr<Node> newBlock = moveParagraphContentsToNewBlockIfNecessary(paragraphStart.deepEquivalent()); [all...] |
TypingCommand.cpp | 509 if (isEmptyTableCell(visibleStart.deepEquivalent().deprecatedNode())) 593 downstreamEnd = visibleEnd.next(CannotCrossEditingBoundary).deepEquivalent().downstream();
|
markup.cpp | 440 Node* upstreamNode = next.deepEquivalent().upstream().deprecatedNode(); 441 Node* downstreamNode = v.deepEquivalent().downstream().deprecatedNode(); 572 startNode = visibleStart.next().deepEquivalent().deprecatedNode(); [all...] |
Editor.cpp | 270 if (previous.isNull() || previous.deepEquivalent().deprecatedNode()->rootEditableElement() != startContainer->rootEditableElement()) 605 node = m_frame->selection()->selection().visibleStart().deepEquivalent().deprecatedNode(); 663 startNode = m_frame->selection()->selection().visibleStart().deepEquivalent().deprecatedNode(); [all...] |
SpellingCorrectionController.cpp | 382 Position position = endPositionOfWord.deepEquivalent();
|
/external/webkit/Source/WebCore/rendering/ |
RenderTextControl.cpp | 261 ASSERT(startPosition.deepEquivalent().deprecatedNode()->shadowAncestorNode() == node && endPosition.deepEquivalent().deprecatedNode()->shadowAncestorNode() == node); 349 Position indexPosition = pos.deepEquivalent();
|
/external/webkit/Source/WebCore/editing/mac/ |
EditorMac.mm | 160 Position pos = m_frame->selection()->selection().visibleStart().deepEquivalent();
|
/external/webkit/Source/WebCore/accessibility/ |
AccessibilityObject.cpp | 226 p = tempPosition.deepEquivalent(); 323 RenderObject* renderer = visiblePos.deepEquivalent().deprecatedNode()->renderer(); 346 RenderObject* renderer = visiblePos.deepEquivalent().deprecatedNode()->renderer(); 649 RenderObject* obj = visiblePos.deepEquivalent().deprecatedNode()->renderer(); [all...] |
AXObjectCache.cpp | 585 Position deepPos = visiblePos.deepEquivalent(); 612 Position deepPos = visiblePos.deepEquivalent();
|
/external/webkit/Source/WebCore/dom/ |
Range.cpp | [all...] |