/external/webkit/Source/WebCore/editing/ |
D | ApplyBlockElementCommand.cpp | 151 if (position.anchorType() != Position::PositionIsOffsetInAnchor) in isNewLineAtPosition() 169 if (position.anchorType() != Position::PositionIsOffsetInAnchor in renderStyleOfEnclosingTextNode() 199 …d.deprecatedNode(), end.offsetInContainerNode() - startOffset, Position::PositionIsOffsetInAnchor); in rangeForParagraphSplittingTextNodesIfNeeded() 204 Position::PositionIsOffsetInAnchor); in rangeForParagraphSplittingTextNodesIfNeeded() 217 … end = Position(end.deprecatedNode(), endOffset + 1, Position::PositionIsOffsetInAnchor); in rangeForParagraphSplittingTextNodesIfNeeded() 233 Position::PositionIsOffsetInAnchor); in rangeForParagraphSplittingTextNodesIfNeeded() 250 … || !isNewLineAtPosition(Position(containerNode.get(), 0, Position::PositionIsOffsetInAnchor))) in endOfNextParagrahSplittingTextNodesIfNeeded() 258 …if (start.anchorType() == Position::PositionIsOffsetInAnchor && containerNode.get() == start.conta… in endOfNextParagrahSplittingTextNodesIfNeeded() 260 …ntainerNode->previousSibling(), start.offsetInContainerNode(), Position::PositionIsOffsetInAnchor); in endOfNextParagrahSplittingTextNodesIfNeeded() 262 …if (end.anchorType() == Position::PositionIsOffsetInAnchor && containerNode.get() == end.container… in endOfNextParagrahSplittingTextNodesIfNeeded() [all …]
|
D | MoveSelectionCommand.cpp | 50 …(pos.anchorType() == Position::PositionIsOffsetInAnchor && selectionEnd.anchorType() == Position::… in doApply() 55 …if (selectionStart.anchorType() == Position::PositionIsOffsetInAnchor && selectionStart.containerN… in doApply()
|
D | InsertTextCommand.cpp | 82 ASSERT(start.anchorType() == Position::PositionIsOffsetInAnchor); in performTrivialReplace() 83 ASSERT(end.anchorType() == Position::PositionIsOffsetInAnchor); in performTrivialReplace() 163 ASSERT(startPosition.anchorType() == Position::PositionIsOffsetInAnchor); in input() 172 … endPosition = Position(textNode, offset + text.length(), Position::PositionIsOffsetInAnchor); in input() 215 return Position(node, offset + 1, Position::PositionIsOffsetInAnchor); in insertTab()
|
D | ApplyStyleCommand.cpp | 1121 ASSERT(start.anchorType() == Position::PositionIsOffsetInAnchor); in splitTextAtStart() 1124 …if (end.anchorType() == Position::PositionIsOffsetInAnchor && start.containerNode() == end.contain… in splitTextAtStart() 1125 …, end.offsetInContainerNode() - start.offsetInContainerNode(), Position::PositionIsOffsetInAnchor); in splitTextAtStart() 1136 ASSERT(end.anchorType() == Position::PositionIsOffsetInAnchor); in splitTextAtEnd() 1138 …bool shouldUpdateStart = start.anchorType() == Position::PositionIsOffsetInAnchor && start.contain… in splitTextAtEnd() 1144 …rt ? Position(prevNode, start.offsetInContainerNode(), Position::PositionIsOffsetInAnchor) : start; in splitTextAtEnd() 1150 ASSERT(start.anchorType() == Position::PositionIsOffsetInAnchor); in splitTextElementAtStart() 1153 …if (end.anchorType() == Position::PositionIsOffsetInAnchor && start.containerNode() == end.contain… in splitTextElementAtStart() 1154 …, end.offsetInContainerNode() - start.offsetInContainerNode(), Position::PositionIsOffsetInAnchor); in splitTextElementAtStart() 1160 …)->parentNode(), start.deprecatedNode()->nodeIndex(), Position::PositionIsOffsetInAnchor), newEnd); in splitTextElementAtStart() [all …]
|
D | visible_units.cpp | 382 …ode, static_cast<InlineTextBox *>(startBox)->start(), Position::PositionIsOffsetInAnchor), DOWNSTR… in startPositionForLine() 437 pos = Position(endNode, endOffset, Position::PositionIsOffsetInAnchor); in endPositionForLine() 786 type = Position::PositionIsOffsetInAnchor; in startOfParagraph() 795 … return VisiblePosition(Position(n, i + 1, Position::PositionIsOffsetInAnchor), DOWNSTREAM); in startOfParagraph() 808 if (type == Position::PositionIsOffsetInAnchor) in startOfParagraph() 861 type = Position::PositionIsOffsetInAnchor; in endOfParagraph() 867 … return VisiblePosition(Position(n, i, Position::PositionIsOffsetInAnchor), DOWNSTREAM); in endOfParagraph() 880 if (type == Position::PositionIsOffsetInAnchor) in endOfParagraph() 1067 …(logicalStartNode, logicalStartBox->caretMinOffset(), Position::PositionIsOffsetInAnchor), DOWNSTR… in logicalStartPositionForLine() 1110 pos = Position(logicalEndNode, endOffset, Position::PositionIsOffsetInAnchor); in logicalEndPositionForLine() [all …]
|
D | VisiblePosition.cpp | 546 …e() == Position::PositionIsBeforeAnchor || pos.anchorType() == Position::PositionIsOffsetInAnchor); in characterAfter() 548 …unsigned offset = pos.anchorType() == Position::PositionIsOffsetInAnchor ? pos.offsetInContainerNo… in characterAfter() 641 …startContainer(exception), r->startOffset(exception), Position::PositionIsOffsetInAnchor), affinit… in startVisiblePosition() 647 …(r->endContainer(exception), r->endOffset(exception), Position::PositionIsOffsetInAnchor), affinit… in endVisiblePosition()
|
D | SelectionController.cpp | 284 …() || position.anchorNode() != node || position.anchorType() != Position::PositionIsOffsetInAnchor) in shouldRemovePositionAfterAdoptingTextReplacement() 1391 …Position(Position(ownerElementParent, ownerElementNodeIndex, Position::PositionIsOffsetInAnchor))); in selectFrameElementInParentIfFullySelected() 1392 …sition(ownerElementParent, ownerElementNodeIndex + 1, Position::PositionIsOffsetInAnchor), VP_UPST… in selectFrameElementInParentIfFullySelected() 1463 …on visibleStart(Position(startContainer, startOffset, Position::PositionIsOffsetInAnchor), collaps… in setSelectedRange() 1464 …VisiblePosition visibleEnd(Position(endContainer, endOffset, Position::PositionIsOffsetInAnchor), … in setSelectedRange() 1474 ASSERT(start().isNull() || start().anchorType() == Position::PositionIsOffsetInAnchor in isInPasswordField()
|
D | InsertParagraphSeparatorCommand.cpp | 369 if (insertionPosition.anchorType() == Position::PositionIsOffsetInAnchor) in doApply()
|
D | DeleteSelectionCommand.cpp | 321 case Position::PositionIsOffsetInAnchor: in updatePositionForNodeRemoval() 410 …if (position.anchorType() != Position::PositionIsOffsetInAnchor || position.containerNode() != nod… in updatePositionForTextRemoval()
|
D | ReplaceSelectionCommand.cpp | 1324 ASSERT(start.anchorType() == Position::PositionIsOffsetInAnchor); in performTrivialReplace() 1325 ASSERT(end.anchorType() == Position::PositionIsOffsetInAnchor); in performTrivialReplace() 1332 …ontainerNode(), start.offsetInContainerNode() + text.length(), Position::PositionIsOffsetInAnchor); in performTrivialReplace()
|
D | CompositeEditCommand.cpp | 416 if (position.anchorType() != Position::PositionIsOffsetInAnchor || !node || !node->isTextNode()) in canRebalance() 467 …siblePosition visibleUpstreamPos(Position(textNode, upstream, Position::PositionIsOffsetInAnchor)); in rebalanceWhitespaceOnTextSubstring() 468 …ePosition visibleDownstreamPos(Position(textNode, downstream, Position::PositionIsOffsetInAnchor)); in rebalanceWhitespaceOnTextSubstring()
|
D | SpellingCorrectionController.cpp | 383 if (position.anchorType() != Position::PositionIsOffsetInAnchor) in respondToChangedSelection()
|
D | TypingCommand.cpp | 621 …tedNode(), extent.deprecatedEditingOffset() + extraCharacters, Position::PositionIsOffsetInAnchor); in forwardDeleteKeyPressed()
|
D | htmlediting.cpp | 455 …nt = VisiblePosition(Position(n, n->childNodeCount(), Position::PositionIsOffsetInAnchor), DOWNSTR… in lastInSpecialElement()
|
D | TextIterator.cpp | 871 …blePosition(Position(m_startContainer, m_startOffset, Position::PositionIsOffsetInAnchor), DOWNSTR… in shouldRepresentNodeOffsetZero()
|
D | Editor.cpp | 267 …tart(Position(startContainer, range->startOffset(ec), Position::PositionIsOffsetInAnchor), DOWNSTR… in canDeleteRange()
|
/external/webkit/Source/WebCore/dom/ |
D | Position.h | 55 PositionIsOffsetInAnchor, enumerator 62 , m_anchorType(PositionIsOffsetInAnchor) in Position() 77 …void clear() { m_anchorNode.clear(); m_offset = 0; m_anchorType = PositionIsOffsetInAnchor; m_isLe… in clear() 88 ASSERT(anchorType() == PositionIsOffsetInAnchor); in offsetInContainerNode() 218 return Position(node->parentNode(), node->nodeIndex(), Position::PositionIsOffsetInAnchor); in positionInParentBeforeNode() 224 return Position(node->parentNode(), node->nodeIndex() + 1, Position::PositionIsOffsetInAnchor); in positionInParentAfterNode() 248 return Position(anchorNode, 0, Position::PositionIsOffsetInAnchor); in firstPositionInNode() 253 return Position(anchorNode, lastOffsetInNode(anchorNode), Position::PositionIsOffsetInAnchor); in lastPositionInNode()
|
D | Position.cpp | 88 ASSERT(anchorType != PositionIsOffsetInAnchor); in Position() 98 ASSERT(anchorType == PositionIsOffsetInAnchor); in Position() 104 ASSERT(anchorType() == PositionIsOffsetInAnchor || m_isLegacyEditingPosition); in moveToPosition() 112 ASSERT(anchorType() == PositionIsOffsetInAnchor || m_isLegacyEditingPosition); in moveToOffset() 124 case PositionIsOffsetInAnchor: in containerNode() 140 case PositionIsOffsetInAnchor: in computeOffsetInContainerNode() 176 return Position(containerNode(), computeOffsetInContainerNode(), PositionIsOffsetInAnchor); in parentAnchoredEquivalent() 185 case PositionIsOffsetInAnchor: in computeNodeBeforePosition() 202 case PositionIsOffsetInAnchor: in computeNodeAfterPosition() 220 return Position::PositionIsOffsetInAnchor; in anchorTypeForLegacyEditingPosition() [all …]
|
D | Range.cpp | 1567 …iblePosition = Position(m_start.container(), m_start.offset(), Position::PositionIsOffsetInAnchor); in editingStartPosition()
|
/external/webkit/Source/WebCore/rendering/ |
D | RenderTextControl.cpp | 333 …return VisiblePosition(Position(m_innerText.get(), 0, Position::PositionIsOffsetInAnchor), DOWNSTR… in visiblePositionForIndex() 344 …return VisiblePosition(Position(endContainer, endOffset, Position::PositionIsOffsetInAnchor), UPST… in visiblePositionForIndex()
|
/external/webkit/Source/WebKit/mac/WebView/ |
D | WebTextCompletionController.mm | 208 …[wholeWord startContainer]), [wholeWord startOffset], Position::PositionIsOffsetInAnchor) affinity…
|
/external/webkit/Source/WebCore/accessibility/ |
D | AccessibilityRenderObject.cpp | 2054 …n()->setSelection(VisibleSelection(Position(node, range.start, Position::PositionIsOffsetInAnchor), in setSelectedTextRange() 2055 … Position(node, range.start + range.length, Position::PositionIsOffsetInAnchor), DOWNSTREAM)); in setSelectedTextRange() 2487 …range()->endContainer(ec), it.range()->endOffset(ec), Position::PositionIsOffsetInAnchor), UPSTREA… in visiblePositionForIndex()
|
/external/webkit/Source/WebKit/chromium/src/ |
D | WebViewImpl.cpp | 1261 Position::PositionIsOffsetInAnchor); in setFocus()
|
/external/webkit/Source/WebCore/ |
D | ChangeLog-2011-02-16 | 5752 adding the PositionIsOffsetInAnchor symbol. If we must create VisiblePositions
|
D | ChangeLog | 56296 adding the PositionIsOffsetInAnchor symbol. If we must create VisiblePositions
|