DOWNSTREAM 1616 Source/core/accessibility/AXRenderObject.cpp Position(node, range.start + range.length, Position::PositionIsOffsetInAnchor), DOWNSTREAM)); DOWNSTREAM 1743 Source/core/accessibility/AXRenderObject.cpp return VisiblePosition(firstPositionInOrBeforeNode(node), DOWNSTREAM); DOWNSTREAM 2175 Source/core/dom/Element.cpp VisibleSelection newSelection = VisibleSelection(firstPositionInOrBeforeNode(this), DOWNSTREAM); DOWNSTREAM 1019 Source/core/dom/Position.cpp getInlineBoxAndOffset(DOWNSTREAM, b1, ignoredCaretOffset); DOWNSTREAM 1021 Source/core/dom/Position.cpp pos.getInlineBoxAndOffset(DOWNSTREAM, b2, ignoredCaretOffset); DOWNSTREAM 1197 Source/core/dom/Position.cpp if (((caretOffset == caretMaxOffset) ^ (affinity == DOWNSTREAM)) DOWNSTREAM 1204 Source/core/dom/Position.cpp if (candidate && candidate == textRenderer->lastTextBox() && affinity == DOWNSTREAM) { DOWNSTREAM 323 Source/core/dom/Position.h : m_affinity(DOWNSTREAM) DOWNSTREAM 327 Source/core/dom/Position.h PositionWithAffinity(const Position& position, EAffinity affinity = DOWNSTREAM) DOWNSTREAM 114 Source/core/editing/ApplyBlockElementCommand.cpp setEndingSelection(VisibleSelection(positionBeforeNode(placeholder.get()), DOWNSTREAM, endingSelection().isDirectional())); DOWNSTREAM 82 Source/core/editing/BreakBlockquoteCommand.cpp setEndingSelection(VisibleSelection(positionBeforeNode(breakNode.get()), DOWNSTREAM, endingSelection().isDirectional())); DOWNSTREAM 92 Source/core/editing/BreakBlockquoteCommand.cpp setEndingSelection(VisibleSelection(positionBeforeNode(breakNode.get()), DOWNSTREAM, endingSelection().isDirectional())); DOWNSTREAM 185 Source/core/editing/BreakBlockquoteCommand.cpp setEndingSelection(VisibleSelection(positionBeforeNode(breakNode.get()), DOWNSTREAM, endingSelection().isDirectional())); DOWNSTREAM 1101 Source/core/editing/CompositeEditCommand.cpp setEndingSelection(VisibleSelection(start, end, DOWNSTREAM)); DOWNSTREAM 1199 Source/core/editing/CompositeEditCommand.cpp setEndingSelection(VisibleSelection(start, end, DOWNSTREAM)); DOWNSTREAM 1250 Source/core/editing/CompositeEditCommand.cpp setEndingSelection(VisibleSelection(start->startPosition(), end->startPosition(), DOWNSTREAM, originalIsDirectional)); DOWNSTREAM 1313 Source/core/editing/CompositeEditCommand.cpp setEndingSelection(VisibleSelection(firstPositionInNode(newBlock.get()), DOWNSTREAM, endingSelection().isDirectional())); DOWNSTREAM 54 Source/core/editing/CreateLinkCommand.cpp setEndingSelection(VisibleSelection(positionInParentBeforeNode(*anchorElement), positionInParentAfterNode(*anchorElement), DOWNSTREAM, endingSelection().isDirectional())); DOWNSTREAM 121 Source/core/editing/Editor.cpp return VisibleSelection(range.get(), DOWNSTREAM, selection.isDirectional()); DOWNSTREAM 262 Source/core/editing/Editor.cpp VisiblePosition start(range->startPosition(), DOWNSTREAM); DOWNSTREAM 999 Source/core/editing/Editor.cpp VisibleSelection newSelection(range.get(), DOWNSTREAM); DOWNSTREAM 1055 Source/core/editing/Editor.cpp IntRect startCaretRect = RenderedPosition(VisiblePosition(range->startPosition()).deepEquivalent(), DOWNSTREAM).absoluteRect(&extraWidthToEndOfLine); DOWNSTREAM 1122 Source/core/editing/Editor.cpp m_frame.selection().setSelection(VisibleSelection(resultRange.get(), DOWNSTREAM)); DOWNSTREAM 384 Source/core/editing/EditorCommand.cpp bool selected = frame.selection().setSelectedRange(unionDOMRanges(mark.get(), frame.editor().selectedRange().get()).get(), DOWNSTREAM, FrameSelection::CloseTyping); DOWNSTREAM 1034 Source/core/editing/EditorCommand.cpp frame.selection().setSelectedRange(unionDOMRanges(mark.get(), selection.get()).get(), DOWNSTREAM, FrameSelection::CloseTyping); DOWNSTREAM 1064 Source/core/editing/FrameSelection.cpp m_selection.setAffinity(direction == DirectionUp ? UPSTREAM : DOWNSTREAM); DOWNSTREAM 1069 Source/core/editing/FrameSelection.cpp m_selection.setAffinity(DOWNSTREAM); DOWNSTREAM 1421 Source/core/editing/FrameSelection.cpp VisiblePosition visibleStart(range->startPosition(), collapsed ? affinity : DOWNSTREAM); DOWNSTREAM 1811 Source/core/editing/FrameSelection.cpp setSelection(VisibleSelection(firstPositionInOrBeforeNode(body), DOWNSTREAM)); DOWNSTREAM 210 Source/core/editing/IndentOutdentCommand.cpp setEndingSelection(VisibleSelection(originalSelectionEnd, DOWNSTREAM)); DOWNSTREAM 313 Source/core/editing/InputMethodController.cpp m_frame.selection().setSelectedRange(selectedRange.get(), DOWNSTREAM, static_cast<FrameSelection::SetSelectionOption>(0)); DOWNSTREAM 109 Source/core/editing/InsertLineBreakCommand.cpp setEndingSelection(VisibleSelection(positionInParentAfterNode(*nodeToInsert), DOWNSTREAM, endingSelection().isDirectional())); DOWNSTREAM 114 Source/core/editing/InsertLineBreakCommand.cpp setEndingSelection(VisibleSelection(positionInParentAfterNode(*nodeToInsert), DOWNSTREAM, endingSelection().isDirectional())); DOWNSTREAM 139 Source/core/editing/InsertLineBreakCommand.cpp setEndingSelection(VisibleSelection(endingPosition, DOWNSTREAM, endingSelection().isDirectional())); DOWNSTREAM 257 Source/core/editing/InsertParagraphSeparatorCommand.cpp setEndingSelection(VisibleSelection(firstPositionInNode(parent.get()), DOWNSTREAM, endingSelection().isDirectional())); DOWNSTREAM 302 Source/core/editing/InsertParagraphSeparatorCommand.cpp setEndingSelection(VisibleSelection(insertionPosition, DOWNSTREAM, endingSelection().isDirectional())); DOWNSTREAM 320 Source/core/editing/InsertParagraphSeparatorCommand.cpp setEndingSelection(VisibleSelection(insertionPosition, DOWNSTREAM, endingSelection().isDirectional())); DOWNSTREAM 424 Source/core/editing/InsertParagraphSeparatorCommand.cpp setEndingSelection(VisibleSelection(firstPositionInNode(blockToInsert.get()), DOWNSTREAM, endingSelection().isDirectional())); DOWNSTREAM 231 Source/core/editing/InsertTextCommand.cpp Position insertPos = VisiblePosition(pos, DOWNSTREAM).deepEquivalent(); DOWNSTREAM 993 Source/core/editing/ReplaceSelectionCommand.cpp originalVisPosBeforeEndBR = VisiblePosition(positionBeforeNode(endBR), DOWNSTREAM).previous(); DOWNSTREAM 198 Source/core/editing/SpellChecker.cpp VisiblePosition oneBeforeStart = startVisiblePosition(spellingSearchRange.get(), DOWNSTREAM).previous(); DOWNSTREAM 299 Source/core/editing/SpellChecker.cpp m_frame.selection().setSelection(VisibleSelection(misspellingRange.get(), DOWNSTREAM)); DOWNSTREAM 371 Source/core/editing/SpellChecker.cpp VisibleSelection newSelection(misspellingRange.get(), DOWNSTREAM); DOWNSTREAM 596 Source/core/editing/SpellChecker.cpp m_frame.selection().moveTo(selectionRange->endPosition(), DOWNSTREAM); DOWNSTREAM 1023 Source/core/editing/TextIterator.cpp VisiblePosition startPos = VisiblePosition(Position(m_startContainer, m_startOffset, Position::PositionIsOffsetInAnchor), DOWNSTREAM); DOWNSTREAM 1024 Source/core/editing/TextIterator.cpp VisiblePosition currPos = VisiblePosition(positionBeforeNode(m_node), DOWNSTREAM); DOWNSTREAM 399 Source/core/editing/TypingCommand.cpp setEndingSelection(VisibleSelection(firstPositionInNode(root), DOWNSTREAM, endingSelection().isDirectional())); DOWNSTREAM 462 Source/core/editing/TypingCommand.cpp setEndingSelection(VisibleSelection(positionBeforeNode(table), endingSelection().start(), DOWNSTREAM, endingSelection().isDirectional())); DOWNSTREAM 545 Source/core/editing/TypingCommand.cpp setEndingSelection(VisibleSelection(endingSelection().end(), positionAfterNode(downstreamEnd.containerNode()), DOWNSTREAM, endingSelection().isDirectional())); DOWNSTREAM 68 Source/core/editing/VisiblePosition.cpp if (m_affinity == UPSTREAM && (isNull() || inSameLine(VisiblePosition(position, DOWNSTREAM), *this))) DOWNSTREAM 69 Source/core/editing/VisiblePosition.cpp m_affinity = DOWNSTREAM; DOWNSTREAM 96 Source/core/editing/VisiblePosition.cpp VisiblePosition prev = VisiblePosition(pos, DOWNSTREAM); DOWNSTREAM 277 Source/core/editing/VisiblePosition.cpp VisiblePosition left = VisiblePosition(pos, DOWNSTREAM); DOWNSTREAM 445 Source/core/editing/VisiblePosition.cpp VisiblePosition right = VisiblePosition(pos, DOWNSTREAM); DOWNSTREAM 40 Source/core/editing/VisiblePosition.h #define VP_DEFAULT_AFFINITY DOWNSTREAM DOWNSTREAM 67 Source/core/editing/VisiblePosition.h EAffinity affinity() const { ASSERT(m_affinity == UPSTREAM || m_affinity == DOWNSTREAM); return m_affinity; } DOWNSTREAM 50 Source/core/editing/VisibleSelection.cpp : m_affinity(DOWNSTREAM) DOWNSTREAM 145 Source/core/editing/VisibleSelection.cpp return VisibleSelection(firstPositionInNode(node), lastPositionInNode(node), DOWNSTREAM); DOWNSTREAM 474 Source/core/editing/VisibleSelection.cpp m_affinity = DOWNSTREAM; DOWNSTREAM 514 Source/core/editing/VisibleSelection.cpp ASSERT(m_affinity == DOWNSTREAM); DOWNSTREAM 38 Source/core/editing/VisibleSelection.h const EAffinity SEL_DEFAULT_AFFINITY = DOWNSTREAM; DOWNSTREAM 75 Source/core/editing/VisibleSelection.h VisiblePosition visibleStart() const { return VisiblePosition(m_start, isRange() ? DOWNSTREAM : affinity()); } DOWNSTREAM 77 Source/core/editing/VisibleSelection.h VisiblePosition visibleBase() const { return VisiblePosition(m_base, isRange() ? (isBaseFirst() ? UPSTREAM : DOWNSTREAM) : affinity()); } DOWNSTREAM 78 Source/core/editing/VisibleSelection.h VisiblePosition visibleExtent() const { return VisiblePosition(m_extent, isRange() ? (isBaseFirst() ? DOWNSTREAM : UPSTREAM) : affinity()); } DOWNSTREAM 229 Source/core/editing/VisibleUnits.cpp RenderedPosition renderedPosition(position, DOWNSTREAM); DOWNSTREAM 270 Source/core/editing/VisibleUnits.cpp RenderedPosition renderedPosition(position, DOWNSTREAM); DOWNSTREAM 517 Source/core/editing/VisibleUnits.cpp return VisiblePosition(it.atEnd() ? it.range()->startPosition() : pos, DOWNSTREAM); DOWNSTREAM 522 Source/core/editing/VisibleUnits.cpp return VisiblePosition(createLegacyEditingPosition(node, next), DOWNSTREAM); DOWNSTREAM 528 Source/core/editing/VisibleUnits.cpp return VisiblePosition(charIt.range()->endPosition(), DOWNSTREAM); DOWNSTREAM 967 Source/core/editing/VisibleUnits.cpp return VisiblePosition(firstPositionInNode(rootElement), DOWNSTREAM); DOWNSTREAM 1025 Source/core/editing/VisibleUnits.cpp return VisiblePosition(lastPositionInNode(rootElement), DOWNSTREAM); DOWNSTREAM 1136 Source/core/editing/VisibleUnits.cpp return VisiblePosition(Position(toText(n), i + 1), DOWNSTREAM); DOWNSTREAM 1153 Source/core/editing/VisibleUnits.cpp return VisiblePosition(Position(node, offset, type), DOWNSTREAM); DOWNSTREAM 1156 Source/core/editing/VisibleUnits.cpp return VisiblePosition(Position(node, type), DOWNSTREAM); DOWNSTREAM 1214 Source/core/editing/VisibleUnits.cpp return VisiblePosition(Position(toText(n), i), DOWNSTREAM); DOWNSTREAM 1230 Source/core/editing/VisibleUnits.cpp return VisiblePosition(Position(node, offset, type), DOWNSTREAM); DOWNSTREAM 1232 Source/core/editing/VisibleUnits.cpp return VisiblePosition(Position(node, type), DOWNSTREAM); DOWNSTREAM 1328 Source/core/editing/VisibleUnits.cpp return VisiblePosition(firstPositionInNode(node->document().documentElement()), DOWNSTREAM); DOWNSTREAM 1342 Source/core/editing/VisibleUnits.cpp return VisiblePosition(lastPositionInNode(doc), DOWNSTREAM); DOWNSTREAM 436 Source/core/editing/htmlediting.cpp VisiblePosition vPos = VisiblePosition(pos, DOWNSTREAM); DOWNSTREAM 437 Source/core/editing/htmlediting.cpp VisiblePosition firstInElement = VisiblePosition(firstPositionInOrBeforeNode(n), DOWNSTREAM); DOWNSTREAM 451 Source/core/editing/htmlediting.cpp VisiblePosition vPos = VisiblePosition(pos, DOWNSTREAM); DOWNSTREAM 452 Source/core/editing/htmlediting.cpp VisiblePosition lastInElement = VisiblePosition(lastPositionInOrAfterNode(n), DOWNSTREAM); DOWNSTREAM 509 Source/core/editing/htmlediting.cpp return VisiblePosition(firstPositionInOrBeforeNode(&node), DOWNSTREAM); DOWNSTREAM 519 Source/core/editing/htmlediting.cpp return VisiblePosition(lastPositionInOrAfterNode(&node), DOWNSTREAM); DOWNSTREAM 314 Source/core/html/HTMLTextFormControlElement.cpp return VisiblePosition(firstPositionInNode(innerTextElement()), DOWNSTREAM); DOWNSTREAM 211 Source/core/page/DOMSelection.cpp m_frame->selection().moveTo(VisiblePosition(createLegacyEditingPosition(node, offset), DOWNSTREAM)); DOWNSTREAM 226 Source/core/page/DOMSelection.cpp m_frame->selection().moveTo(VisiblePosition(selection.end(), DOWNSTREAM)); DOWNSTREAM 241 Source/core/page/DOMSelection.cpp m_frame->selection().moveTo(VisiblePosition(selection.start(), DOWNSTREAM)); DOWNSTREAM 270 Source/core/page/DOMSelection.cpp VisiblePosition visibleBase = VisiblePosition(createLegacyEditingPosition(baseNode, baseOffset), DOWNSTREAM); DOWNSTREAM 271 Source/core/page/DOMSelection.cpp VisiblePosition visibleExtent = VisiblePosition(createLegacyEditingPosition(extentNode, extentOffset), DOWNSTREAM); DOWNSTREAM 349 Source/core/page/DOMSelection.cpp m_frame->selection().setExtent(VisiblePosition(createLegacyEditingPosition(node, offset), DOWNSTREAM)); DOWNSTREAM 719 Source/core/page/DragController.cpp source->selection().setSelection(VisibleSelection(range.get(), DOWNSTREAM)); DOWNSTREAM 574 Source/core/page/EventHandler.cpp visiblePos = VisiblePosition(firstPositionInOrBeforeNode(innerNode), DOWNSTREAM); DOWNSTREAM 417 Source/core/page/FocusController.cpp VisibleSelection newSelection(position, position, DOWNSTREAM); DOWNSTREAM 78 Source/core/rendering/RenderBR.cpp return createPositionWithAffinity(0, DOWNSTREAM); DOWNSTREAM 2983 Source/core/rendering/RenderBlock.cpp return ancestor->createPositionWithAffinity(childNode->nodeIndex(), DOWNSTREAM); DOWNSTREAM 2992 Source/core/rendering/RenderBlock.cpp return createPositionWithAffinity(0, DOWNSTREAM); DOWNSTREAM 3048 Source/core/rendering/RenderBlock.cpp return PositionWithAffinity(positionForBox(box, true), DOWNSTREAM); DOWNSTREAM 3066 Source/core/rendering/RenderBlock.cpp return PositionWithAffinity(positionForBox(logicallyLastBox, false), DOWNSTREAM); DOWNSTREAM 3072 Source/core/rendering/RenderBlock.cpp return createPositionWithAffinity(0, DOWNSTREAM); DOWNSTREAM 3091 Source/core/rendering/RenderBlock.cpp return createPositionWithAffinity(caretMinOffset(), DOWNSTREAM); DOWNSTREAM 3093 Source/core/rendering/RenderBlock.cpp return createPositionWithAffinity(caretMaxOffset(), DOWNSTREAM); DOWNSTREAM 3095 Source/core/rendering/RenderBlock.cpp return createPositionWithAffinity(caretMinOffset(), DOWNSTREAM); DOWNSTREAM 3097 Source/core/rendering/RenderBlock.cpp return createPositionWithAffinity(caretMaxOffset(), DOWNSTREAM); DOWNSTREAM 2779 Source/core/rendering/RenderObject.cpp return createPositionWithAffinity(caretMinOffset(), DOWNSTREAM); DOWNSTREAM 3232 Source/core/rendering/RenderObject.cpp return PositionWithAffinity(firstPositionInOrBeforeNode(node), DOWNSTREAM); DOWNSTREAM 3241 Source/core/rendering/RenderObject.cpp return PositionWithAffinity(lastPositionInOrAfterNode(node), DOWNSTREAM); DOWNSTREAM 3246 Source/core/rendering/RenderObject.cpp return PositionWithAffinity(firstPositionInOrBeforeNode(node), DOWNSTREAM); DOWNSTREAM 3262 Source/core/rendering/RenderObject.cpp return createPositionWithAffinity(0, DOWNSTREAM); DOWNSTREAM 544 Source/core/rendering/RenderReplaced.cpp return createPositionWithAffinity(caretMinOffset(), DOWNSTREAM); // coordinates are above DOWNSTREAM 547 Source/core/rendering/RenderReplaced.cpp return createPositionWithAffinity(caretMaxOffset(), DOWNSTREAM); // coordinates are below DOWNSTREAM 551 Source/core/rendering/RenderReplaced.cpp return createPositionWithAffinity(0, DOWNSTREAM); DOWNSTREAM 552 Source/core/rendering/RenderReplaced.cpp return createPositionWithAffinity(1, DOWNSTREAM); DOWNSTREAM 530 Source/core/rendering/RenderText.cpp affinity = DOWNSTREAM; DOWNSTREAM 536 Source/core/rendering/RenderText.cpp affinity = offset > box->caretMinOffset() ? VP_UPSTREAM_IF_POSSIBLE : DOWNSTREAM; DOWNSTREAM 619 Source/core/rendering/RenderText.cpp return createPositionWithAffinity(0, DOWNSTREAM); DOWNSTREAM 651 Source/core/rendering/RenderText.cpp return createPositionWithAffinity(0, DOWNSTREAM); DOWNSTREAM 160 Source/core/rendering/svg/RenderSVGInlineText.cpp return createPositionWithAffinity(0, DOWNSTREAM); DOWNSTREAM 204 Source/core/rendering/svg/RenderSVGInlineText.cpp return createPositionWithAffinity(0, DOWNSTREAM); DOWNSTREAM 207 Source/core/rendering/svg/RenderSVGInlineText.cpp return createPositionWithAffinity(offset + closestDistanceBox->start(), offset > 0 ? VP_UPSTREAM_IF_POSSIBLE : DOWNSTREAM); DOWNSTREAM 454 Source/core/rendering/svg/RenderSVGText.cpp return createPositionWithAffinity(0, DOWNSTREAM); DOWNSTREAM 461 Source/core/rendering/svg/RenderSVGText.cpp return createPositionWithAffinity(0, DOWNSTREAM); DOWNSTREAM 478 Source/web/AssertMatchingEnums.cpp COMPILE_ASSERT_MATCHING_ENUM(WebTextAffinityDownstream, DOWNSTREAM);