VisiblePosition 844 Source/core/accessibility/AXObject.cpp int AXObject::lineForPosition(const VisiblePosition& visiblePos) const VisiblePosition 855 Source/core/accessibility/AXObject.cpp VisiblePosition currentVisiblePos = visiblePos; VisiblePosition 856 Source/core/accessibility/AXObject.cpp VisiblePosition savedVisiblePos; VisiblePosition 863 Source/core/accessibility/AXObject.cpp VisiblePosition prevVisiblePos = previousLinePosition(currentVisiblePos, 0, HasEditableAXRole); VisiblePosition 549 Source/core/accessibility/AXObject.h virtual VisiblePosition visiblePositionForIndex(int) const { return VisiblePosition(); } VisiblePosition 550 Source/core/accessibility/AXObject.h int lineForPosition(const VisiblePosition&) const; VisiblePosition 551 Source/core/accessibility/AXObject.h virtual int index(const VisiblePosition&) const { return -1; } VisiblePosition 912 Source/core/accessibility/AXObjectCache.cpp VisiblePosition AXObjectCache::visiblePositionForTextMarkerData(TextMarkerData& textMarkerData) VisiblePosition 915 Source/core/accessibility/AXObjectCache.cpp return VisiblePosition(); VisiblePosition 918 Source/core/accessibility/AXObjectCache.cpp VisiblePosition visiblePos = VisiblePosition(createLegacyEditingPosition(textMarkerData.node, textMarkerData.offset), textMarkerData.affinity); VisiblePosition 921 Source/core/accessibility/AXObjectCache.cpp return VisiblePosition(); VisiblePosition 925 Source/core/accessibility/AXObjectCache.cpp return VisiblePosition(); VisiblePosition 929 Source/core/accessibility/AXObjectCache.cpp return VisiblePosition(); VisiblePosition 932 Source/core/accessibility/AXObjectCache.cpp return VisiblePosition(); VisiblePosition 937 Source/core/accessibility/AXObjectCache.cpp void AXObjectCache::textMarkerDataForVisiblePosition(TextMarkerData& textMarkerData, const VisiblePosition& visiblePos) VisiblePosition 46 Source/core/accessibility/AXObjectCache.h class VisiblePosition; VisiblePosition 162 Source/core/accessibility/AXObjectCache.h void textMarkerDataForVisiblePosition(TextMarkerData&, const VisiblePosition&); VisiblePosition 163 Source/core/accessibility/AXObjectCache.h VisiblePosition visiblePositionForTextMarkerData(TextMarkerData&); VisiblePosition 1716 Source/core/accessibility/AXRenderObject.cpp int AXRenderObject::index(const VisiblePosition& position) const VisiblePosition 1727 Source/core/accessibility/AXRenderObject.cpp VisiblePosition AXRenderObject::visiblePositionForIndex(int index) const VisiblePosition 1730 Source/core/accessibility/AXRenderObject.cpp return VisiblePosition(); VisiblePosition 1736 Source/core/accessibility/AXRenderObject.cpp return VisiblePosition(); VisiblePosition 1740 Source/core/accessibility/AXRenderObject.cpp return VisiblePosition(); VisiblePosition 1743 Source/core/accessibility/AXRenderObject.cpp return VisiblePosition(firstPositionInOrBeforeNode(node), DOWNSTREAM); VisiblePosition 1749 Source/core/accessibility/AXRenderObject.cpp return VisiblePosition(Position(it.range()->endContainer(), it.range()->endOffset(), Position::PositionIsOffsetInAnch\ VisiblePosition 1753 Source/core/accessibility/AXRenderObject.cpp int AXRenderObject::indexForVisiblePosition(const VisiblePosition& pos) const VisiblePosition 1806 Source/core/accessibility/AXRenderObject.cpp VisiblePosition visiblePos = visiblePositionForIndex(0); VisiblePosition 1807 Source/core/accessibility/AXRenderObject.cpp VisiblePosition savedVisiblePos = visiblePos; VisiblePosition 201 Source/core/accessibility/AXRenderObject.h virtual int index(const VisiblePosition&) const OVERRIDE; VisiblePosition 202 Source/core/accessibility/AXRenderObject.h virtual VisiblePosition visiblePositionForIndex(int) const OVERRIDE; VisiblePosition 234 Source/core/accessibility/AXRenderObject.h int indexForVisiblePosition(const VisiblePosition&) const; VisiblePosition 487 Source/core/dom/Position.cpp bool atStartOfLine = isStartOfLine(VisiblePosition(*this, affinity)); VisiblePosition 515 Source/core/dom/Position.cpp bool atEndOfLine = isEndOfLine(VisiblePosition(*this, affinity)); VisiblePosition 1081 Source/core/dom/Position.cpp VisiblePosition v(*this); VisiblePosition 1791 Source/core/dom/Range.cpp VisiblePosition start(startPosition()); VisiblePosition 1792 Source/core/dom/Range.cpp VisiblePosition end(endPosition()); VisiblePosition 63 Source/core/editing/ApplyBlockElementCommand.cpp VisiblePosition visibleEnd = endingSelection().visibleEnd(); VisiblePosition 64 Source/core/editing/ApplyBlockElementCommand.cpp VisiblePosition visibleStart = endingSelection().visibleStart(); VisiblePosition 80 Source/core/editing/ApplyBlockElementCommand.cpp VisiblePosition startOfSelection = selection.visibleStart(); VisiblePosition 81 Source/core/editing/ApplyBlockElementCommand.cpp VisiblePosition endOfSelection = selection.visibleEnd(); VisiblePosition 97 Source/core/editing/ApplyBlockElementCommand.cpp VisiblePosition start(visiblePositionForIndex(startIndex, startScope.get())); VisiblePosition 98 Source/core/editing/ApplyBlockElementCommand.cpp VisiblePosition end(visiblePositionForIndex(endIndex, endScope.get())); VisiblePosition 104 Source/core/editing/ApplyBlockElementCommand.cpp void ApplyBlockElementCommand::formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) VisiblePosition 119 Source/core/editing/ApplyBlockElementCommand.cpp VisiblePosition endOfCurrentParagraph = endOfParagraph(startOfSelection); VisiblePosition 120 Source/core/editing/ApplyBlockElementCommand.cpp VisiblePosition endOfLastParagraph = endOfParagraph(endOfSelection); VisiblePosition 121 Source/core/editing/ApplyBlockElementCommand.cpp VisiblePosition endAfterSelection = endOfParagraph(endOfLastParagraph.next()); VisiblePosition 131 Source/core/editing/ApplyBlockElementCommand.cpp endOfCurrentParagraph = VisiblePosition(end); VisiblePosition 134 Source/core/editing/ApplyBlockElementCommand.cpp VisiblePosition endOfNextParagraph = endOfNextParagrahSplittingTextNodesIfNeeded(endOfCurrentParagraph, start, end); VisiblePosition 178 Source/core/editing/ApplyBlockElementCommand.cpp void ApplyBlockElementCommand::rangeForParagraphSplittingTextNodesIfNeeded(const VisiblePosition& endOfCurrentParagraph, Position& start, Position& end) VisiblePosition 192 Source/core/editing/ApplyBlockElementCommand.cpp start = startOfParagraph(VisiblePosition(end.previous())).deepEquivalent(); VisiblePosition 241 Source/core/editing/ApplyBlockElementCommand.cpp VisiblePosition ApplyBlockElementCommand::endOfNextParagrahSplittingTextNodesIfNeeded(VisiblePosition& endOfCurrentParagraph, Position& start, Position& end) VisiblePosition 243 Source/core/editing/ApplyBlockElementCommand.cpp VisiblePosition endOfNextParagraph = endOfParagraph(endOfCurrentParagraph.next()); VisiblePosition 276 Source/core/editing/ApplyBlockElementCommand.cpp return VisiblePosition(Position(text.get(), position.offsetInContainerNode() - 1)); VisiblePosition 44 Source/core/editing/ApplyBlockElementCommand.h virtual void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection); VisiblePosition 51 Source/core/editing/ApplyBlockElementCommand.h void rangeForParagraphSplittingTextNodesIfNeeded(const VisiblePosition&, Position&, Position&); VisiblePosition 52 Source/core/editing/ApplyBlockElementCommand.h VisiblePosition endOfNextParagrahSplittingTextNodesIfNeeded(VisiblePosition&, Position&, Position&); VisiblePosition 248 Source/core/editing/ApplyStyleCommand.cpp VisiblePosition visibleStart(start); VisiblePosition 249 Source/core/editing/ApplyStyleCommand.cpp VisiblePosition visibleEnd(end); VisiblePosition 263 Source/core/editing/ApplyStyleCommand.cpp VisiblePosition paragraphStart(startOfParagraph(visibleStart)); VisiblePosition 264 Source/core/editing/ApplyStyleCommand.cpp VisiblePosition nextParagraphStart(endOfParagraph(paragraphStart).next()); VisiblePosition 265 Source/core/editing/ApplyStyleCommand.cpp VisiblePosition beyondEnd(endOfParagraph(visibleEnd).next()); VisiblePosition 63 Source/core/editing/BreakBlockquoteCommand.cpp VisiblePosition visiblePos = endingSelection().visibleStart(); VisiblePosition 103 Source/core/editing/BreakBlockquoteCommand.cpp while (isFirstVisiblePositionInNode(VisiblePosition(pos), enclosingNodeOfType(pos, isMailBlockquote))) VisiblePosition 126 Source/core/editing/BreakBlockquoteCommand.cpp setEndingSelection(VisibleSelection(VisiblePosition(firstPositionInOrBeforeNode(startNode)), endingSelection().isDirectional())); VisiblePosition 59 Source/core/editing/Caret.cpp void DragCaretController::setCaretPosition(const VisiblePosition& position) VisiblePosition 127 Source/core/editing/Caret.cpp bool CaretBase::updateCaretRect(Document* document, const VisiblePosition& caretPosition) VisiblePosition 50 Source/core/editing/Caret.h bool updateCaretRect(Document*, const VisiblePosition& caretPosition); VisiblePosition 87 Source/core/editing/Caret.h const VisiblePosition& caretPosition() { return m_position; } VisiblePosition 88 Source/core/editing/Caret.h void setCaretPosition(const VisiblePosition&); VisiblePosition 89 Source/core/editing/Caret.h void clear() { setCaretPosition(VisiblePosition()); } VisiblePosition 96 Source/core/editing/Caret.h VisiblePosition m_position; VisiblePosition 645 Source/core/editing/CompositeEditCommand.cpp VisiblePosition visibleUpstreamPos(Position(textNode, upstream)); VisiblePosition 646 Source/core/editing/CompositeEditCommand.cpp VisiblePosition visibleDownstreamPos(Position(textNode, downstream)); VisiblePosition 677 Source/core/editing/CompositeEditCommand.cpp VisiblePosition visiblePos(position); VisiblePosition 678 Source/core/editing/CompositeEditCommand.cpp VisiblePosition previousVisiblePos(visiblePos.previous()); VisiblePosition 683 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::replaceCollapsibleWhitespaceWithNonBreakingSpaceIfNeeded(const VisiblePosition& visiblePosition) VisiblePosition 810 Source/core/editing/CompositeEditCommand.cpp Position end = VisiblePosition(pos, VP_DEFAULT_AFFINITY).next().deepEquivalent().downstream(); VisiblePosition 895 Source/core/editing/CompositeEditCommand.cpp VisiblePosition visiblePos(pos, VP_DEFAULT_AFFINITY); VisiblePosition 896 Source/core/editing/CompositeEditCommand.cpp VisiblePosition visibleParagraphStart(startOfParagraph(visiblePos)); VisiblePosition 897 Source/core/editing/CompositeEditCommand.cpp VisiblePosition visibleParagraphEnd = endOfParagraph(visiblePos); VisiblePosition 898 Source/core/editing/CompositeEditCommand.cpp VisiblePosition next = visibleParagraphEnd.next(); VisiblePosition 899 Source/core/editing/CompositeEditCommand.cpp VisiblePosition visibleEnd = next.isNotNull() ? next : visibleParagraphEnd; VisiblePosition 939 Source/core/editing/CompositeEditCommand.cpp moveParagraphs(visibleParagraphStart, visibleParagraphEnd, VisiblePosition(firstPositionInNode(newBlock.get()))); VisiblePosition 1038 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::cleanupAfterDeletion(VisiblePosition destination) VisiblePosition 1040 Source/core/editing/CompositeEditCommand.cpp VisiblePosition caretAfterDelete = endingSelection().visibleStart(); VisiblePosition 1086 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::moveParagraphWithClones(const VisiblePosition& startOfParagraphToMove, const VisiblePosition& endOfParagraphToMove, Element* blockElement, Node* outerNode) VisiblePosition 1091 Source/core/editing/CompositeEditCommand.cpp VisiblePosition beforeParagraph = startOfParagraphToMove.previous(); VisiblePosition 1092 Source/core/editing/CompositeEditCommand.cpp VisiblePosition afterParagraph(endOfParagraphToMove.next()); VisiblePosition 1117 Source/core/editing/CompositeEditCommand.cpp beforeParagraph = VisiblePosition(beforeParagraph.deepEquivalent()); VisiblePosition 1118 Source/core/editing/CompositeEditCommand.cpp afterParagraph = VisiblePosition(afterParagraph.deepEquivalent()); VisiblePosition 1127 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::moveParagraph(const VisiblePosition& startOfParagraphToMove, const VisiblePosition& endOfParagraphToMove, const VisiblePosition& destination, bool preserveSelection, bool preserveStyle, Node* constrainingAncestor) VisiblePosition 1134 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::moveParagraphs(const VisiblePosition& startOfParagraphToMove, const VisiblePosition& endOfParagraphToMove, const VisiblePosition& destination, bool preserveSelection, bool preserveStyle, Node* constrainingAncestor) VisiblePosition 1144 Source/core/editing/CompositeEditCommand.cpp VisiblePosition visibleStart = endingSelection().visibleStart(); VisiblePosition 1145 Source/core/editing/CompositeEditCommand.cpp VisiblePosition visibleEnd = endingSelection().visibleEnd(); VisiblePosition 1168 Source/core/editing/CompositeEditCommand.cpp VisiblePosition beforeParagraph = startOfParagraphToMove.previous(CannotCrossEditingBoundary); VisiblePosition 1169 Source/core/editing/CompositeEditCommand.cpp VisiblePosition afterParagraph(endOfParagraphToMove.next(CannotCrossEditingBoundary)); VisiblePosition 1214 Source/core/editing/CompositeEditCommand.cpp beforeParagraph = VisiblePosition(beforeParagraph.deepEquivalent()); VisiblePosition 1215 Source/core/editing/CompositeEditCommand.cpp afterParagraph = VisiblePosition(afterParagraph.deepEquivalent()); VisiblePosition 1329 Source/core/editing/CompositeEditCommand.cpp VisiblePosition caret(endingSelection().visibleStart()); VisiblePosition 1337 Source/core/editing/CompositeEditCommand.cpp VisiblePosition previous(caret.previous(CannotCrossEditingBoundary)); VisiblePosition 1346 Source/core/editing/CompositeEditCommand.cpp VisiblePosition atBR(positionBeforeNode(br.get())); VisiblePosition 1385 Source/core/editing/CompositeEditCommand.cpp VisiblePosition visiblePos(original); VisiblePosition 1394 Source/core/editing/CompositeEditCommand.cpp VisiblePosition firstInAnchor(firstPositionInNode(enclosingAnchor)); VisiblePosition 1395 Source/core/editing/CompositeEditCommand.cpp VisiblePosition lastInAnchor(lastPositionInNode(enclosingAnchor)); VisiblePosition 1454 Source/core/editing/CompositeEditCommand.cpp VisiblePosition positionInParent(firstPositionInNode(node->parentNode())); VisiblePosition 1455 Source/core/editing/CompositeEditCommand.cpp VisiblePosition positionInNode(firstPositionInOrBeforeNode(node.get())); VisiblePosition 113 Source/core/editing/CompositeEditCommand.h void replaceCollapsibleWhitespaceWithNonBreakingSpaceIfNeeded(const VisiblePosition&); VisiblePosition 152 Source/core/editing/CompositeEditCommand.h void moveParagraph(const VisiblePosition&, const VisiblePosition&, const VisiblePosition&, bool preserveSelection = false, bool preserveStyle = true, Node* constrainingAncestor = 0); VisiblePosition 153 Source/core/editing/CompositeEditCommand.h void moveParagraphs(const VisiblePosition&, const VisiblePosition&, const VisiblePosition&, bool preserveSelection = false, bool preserveStyle = true, Node* constrainingAncestor = 0); VisiblePosition 154 Source/core/editing/CompositeEditCommand.h void moveParagraphWithClones(const VisiblePosition& startOfParagraphToMove, const VisiblePosition& endOfParagraphToMove, Element* blockElement, Node* outerNode); VisiblePosition 156 Source/core/editing/CompositeEditCommand.h void cleanupAfterDeletion(VisiblePosition destination = VisiblePosition()); VisiblePosition 49 Source/core/editing/DeleteSelectionCommand.cpp return VisiblePosition(firstPositionInNode(cell)) == VisiblePosition(lastPositionInNode(cell)); VisiblePosition 128 Source/core/editing/DeleteSelectionCommand.cpp if (VisiblePosition(start) != m_selectionToDelete.visibleStart() || VisiblePosition(end) != m_selectionToDelete.visibleEnd()) VisiblePosition 157 Source/core/editing/DeleteSelectionCommand.cpp VisiblePosition newBase(isBaseFirst ? start : end); VisiblePosition 158 Source/core/editing/DeleteSelectionCommand.cpp VisiblePosition newExtent(isBaseFirst ? end : start); VisiblePosition 190 Source/core/editing/DeleteSelectionCommand.cpp VisiblePosition visibleEnd(m_downstreamEnd); VisiblePosition 203 Source/core/editing/DeleteSelectionCommand.cpp && isStartOfParagraph(visibleEnd) && isStartOfParagraph(VisiblePosition(start)) VisiblePosition 216 Source/core/editing/DeleteSelectionCommand.cpp Position pos = VisiblePosition(m_upstreamStart, m_selectionToDelete.affinity()).deepEquivalent(); VisiblePosition 224 Source/core/editing/DeleteSelectionCommand.cpp VisiblePosition visiblePos = VisiblePosition(m_upstreamStart, VP_DEFAULT_AFFINITY).previous(); VisiblePosition 240 Source/core/editing/DeleteSelectionCommand.cpp pos = VisiblePosition(m_downstreamEnd, VP_DEFAULT_AFFINITY).next().deepEquivalent(); VisiblePosition 313 Source/core/editing/DeleteSelectionCommand.cpp if (upstreamStartIsBR && downstreamStartIsBR && !(isStartOfBlock(VisiblePosition(positionBeforeNode(nodeAfterUpstreamStart))) && isEndOfBlock(VisiblePosition(positionAfterNode(nodeAfterUpstreamStart))))) { VisiblePosition 379 Source/core/editing/DeleteSelectionCommand.cpp VisiblePosition previous = VisiblePosition(firstPositionInNode(m_startBlock.get())).previous(); VisiblePosition 384 Source/core/editing/DeleteSelectionCommand.cpp VisiblePosition next = VisiblePosition(lastPositionInNode(m_endBlock.get())).next(); VisiblePosition 609 Source/core/editing/DeleteSelectionCommand.cpp VisiblePosition startOfParagraphToMove(m_downstreamEnd); VisiblePosition 610 Source/core/editing/DeleteSelectionCommand.cpp VisiblePosition mergeDestination(m_upstreamStart); VisiblePosition 623 Source/core/editing/DeleteSelectionCommand.cpp mergeDestination = VisiblePosition(m_upstreamStart); VisiblePosition 629 Source/core/editing/DeleteSelectionCommand.cpp VisiblePosition endOfParagraphToMove = endOfParagraph(startOfParagraphToMove, CanSkipOverEditingBoundary); VisiblePosition 802 Source/core/editing/DeleteSelectionCommand.cpp bool lineBreakBeforeStart = lineBreakExistsAtVisiblePosition(VisiblePosition(m_upstreamStart).previous()); VisiblePosition 828 Source/core/editing/DeleteSelectionCommand.cpp VisiblePosition visualEnding(m_endingPosition); VisiblePosition 86 Source/core/editing/EditCommand.cpp void EditCommand::setStartingSelection(const VisiblePosition& position) VisiblePosition 102 Source/core/editing/EditCommand.cpp void EditCommand::setEndingSelection(const VisiblePosition& position) VisiblePosition 66 Source/core/editing/EditCommand.h void setStartingSelection(const VisiblePosition&); VisiblePosition 68 Source/core/editing/EditCommand.h void setEndingSelection(const VisiblePosition&); VisiblePosition 262 Source/core/editing/Editor.cpp VisiblePosition start(range->startPosition(), DOWNSTREAM); VisiblePosition 263 Source/core/editing/Editor.cpp VisiblePosition previous = start.previous(); VisiblePosition 820 Source/core/editing/Editor.cpp VisiblePosition caret = m_frame.selection().selection().visibleStart(); VisiblePosition 837 Source/core/editing/Editor.cpp VisiblePosition caret = m_frame.selection().selection().visibleStart(); VisiblePosition 988 Source/core/editing/Editor.cpp VisiblePosition caret = selection.visibleStart(); VisiblePosition 989 Source/core/editing/Editor.cpp VisiblePosition next = isEndOfParagraph(caret) ? caret : caret.next(); VisiblePosition 990 Source/core/editing/Editor.cpp VisiblePosition previous = next.previous(); VisiblePosition 1055 Source/core/editing/Editor.cpp IntRect startCaretRect = RenderedPosition(VisiblePosition(range->startPosition()).deepEquivalent(), DOWNSTREAM).absoluteRect(&extraWidthToEndOfLine); VisiblePosition 1059 Source/core/editing/Editor.cpp IntRect endCaretRect = RenderedPosition(VisiblePosition(range->endPosition()).deepEquivalent(), UPSTREAM).absoluteRect(); VisiblePosition 54 Source/core/editing/FormatBlockCommand.cpp void FormatBlockCommand::formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) VisiblePosition 64 Source/core/editing/FormatBlockCommand.cpp Element* refNode = enclosingBlockFlowElement(VisiblePosition(end)); VisiblePosition 75 Source/core/editing/FormatBlockCommand.cpp if (isElementForFormatBlock(refNode->tagQName()) && VisiblePosition(start) == startOfBlock(VisiblePosition(start)) VisiblePosition 76 Source/core/editing/FormatBlockCommand.cpp && (VisiblePosition(end) == endOfBlock(VisiblePosition(end)) || isNodeVisiblyContainedWithin(*refNode, *range)) VisiblePosition 92 Source/core/editing/FormatBlockCommand.cpp bool wasEndOfParagraph = isEndOfParagraph(VisiblePosition(lastParagraphInBlockNode)); VisiblePosition 94 Source/core/editing/FormatBlockCommand.cpp moveParagraphWithClones(VisiblePosition(start), VisiblePosition(end), blockNode.get(), outerBlock.get()); VisiblePosition 100 Source/core/editing/FormatBlockCommand.cpp if (wasEndOfParagraph && !isEndOfParagraph(VisiblePosition(lastParagraphInBlockNode)) && !isStartOfParagraph(VisiblePosition(lastParagraphInBlockNode))) VisiblePosition 39 Source/core/editing/FormatBlockCommand.h class VisiblePosition; VisiblePosition 56 Source/core/editing/FormatBlockCommand.h virtual void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) OVERRIDE; VisiblePosition 129 Source/core/editing/FrameSelection.cpp void FrameSelection::moveTo(const VisiblePosition &pos, EUserTriggered userTriggered, CursorAlignOnScroll align) VisiblePosition 135 Source/core/editing/FrameSelection.cpp void FrameSelection::moveTo(const VisiblePosition &base, const VisiblePosition &extent, EUserTriggered userTriggered) VisiblePosition 148 Source/core/editing/FrameSelection.cpp static void adjustEndpointsAtBidiBoundary(VisiblePosition& visibleBase, VisiblePosition& visibleExtent) VisiblePosition 159 Source/core/editing/FrameSelection.cpp visibleBase = VisiblePosition(base.positionAtLeftBoundaryOfBiDiRun()); VisiblePosition 168 Source/core/editing/FrameSelection.cpp visibleBase = VisiblePosition(base.positionAtRightBoundaryOfBiDiRun()); VisiblePosition 175 Source/core/editing/FrameSelection.cpp visibleExtent = VisiblePosition(extent.positionAtLeftBoundaryOfBiDiRun()); VisiblePosition 180 Source/core/editing/FrameSelection.cpp visibleExtent = VisiblePosition(extent.positionAtRightBoundaryOfBiDiRun()); VisiblePosition 191 Source/core/editing/FrameSelection.cpp VisiblePosition base = m_originalBase.isNotNull() ? m_originalBase : newSelection.visibleBase(); VisiblePosition 192 Source/core/editing/FrameSelection.cpp VisiblePosition newBase = base; VisiblePosition 193 Source/core/editing/FrameSelection.cpp VisiblePosition extent = newSelection.visibleExtent(); VisiblePosition 194 Source/core/editing/FrameSelection.cpp VisiblePosition newExtent = extent; VisiblePosition 486 Source/core/editing/FrameSelection.cpp VisiblePosition startPosition = m_selection.visibleStart(); VisiblePosition 487 Source/core/editing/FrameSelection.cpp VisiblePosition endPosition = m_selection.visibleEnd(); VisiblePosition 554 Source/core/editing/FrameSelection.cpp VisiblePosition FrameSelection::positionForPlatform(bool isGetStart) const VisiblePosition 567 Source/core/editing/FrameSelection.cpp VisiblePosition FrameSelection::startForPlatform() const VisiblePosition 572 Source/core/editing/FrameSelection.cpp VisiblePosition FrameSelection::endForPlatform() const VisiblePosition 577 Source/core/editing/FrameSelection.cpp VisiblePosition FrameSelection::nextWordPositionForPlatform(const VisiblePosition &originalPosition) VisiblePosition 579 Source/core/editing/FrameSelection.cpp VisiblePosition positionAfterCurrentWord = nextWordPosition(originalPosition); VisiblePosition 586 Source/core/editing/FrameSelection.cpp VisiblePosition positionAfterSpacingAndFollowingWord = nextWordPosition(positionAfterCurrentWord); VisiblePosition 597 Source/core/editing/FrameSelection.cpp static void adjustPositionForUserSelectAll(VisiblePosition& pos, bool isForward) VisiblePosition 600 Source/core/editing/FrameSelection.cpp pos = VisiblePosition(isForward ? positionAfterNode(rootUserSelectAll).downstream(CanCrossEditingBoundary) : positionBeforeNode(rootUserSelectAll).upstream(CanCrossEditingBoundary)); VisiblePosition 603 Source/core/editing/FrameSelection.cpp VisiblePosition FrameSelection::modifyExtendingRight(TextGranularity granularity) VisiblePosition 605 Source/core/editing/FrameSelection.cpp VisiblePosition pos(m_selection.extent(), m_selection.affinity()); VisiblePosition 645 Source/core/editing/FrameSelection.cpp VisiblePosition FrameSelection::modifyExtendingForward(TextGranularity granularity) VisiblePosition 647 Source/core/editing/FrameSelection.cpp VisiblePosition pos(m_selection.extent(), m_selection.affinity()); VisiblePosition 685 Source/core/editing/FrameSelection.cpp VisiblePosition FrameSelection::modifyMovingRight(TextGranularity granularity) VisiblePosition 687 Source/core/editing/FrameSelection.cpp VisiblePosition pos; VisiblePosition 692 Source/core/editing/FrameSelection.cpp pos = VisiblePosition(m_selection.end(), m_selection.affinity()); VisiblePosition 694 Source/core/editing/FrameSelection.cpp pos = VisiblePosition(m_selection.start(), m_selection.affinity()); VisiblePosition 696 Source/core/editing/FrameSelection.cpp pos = VisiblePosition(m_selection.extent(), m_selection.affinity()).right(true); VisiblePosition 700 Source/core/editing/FrameSelection.cpp pos = rightWordPosition(VisiblePosition(m_selection.extent(), m_selection.affinity()), skipsSpaceWhenMovingRight); VisiblePosition 719 Source/core/editing/FrameSelection.cpp VisiblePosition FrameSelection::modifyMovingForward(TextGranularity granularity) VisiblePosition 721 Source/core/editing/FrameSelection.cpp VisiblePosition pos; VisiblePosition 726 Source/core/editing/FrameSelection.cpp pos = VisiblePosition(m_selection.end(), m_selection.affinity()); VisiblePosition 728 Source/core/editing/FrameSelection.cpp pos = VisiblePosition(m_selection.extent(), m_selection.affinity()).next(CanSkipOverEditingBoundary); VisiblePosition 731 Source/core/editing/FrameSelection.cpp pos = nextWordPositionForPlatform(VisiblePosition(m_selection.extent(), m_selection.affinity())); VisiblePosition 734 Source/core/editing/FrameSelection.cpp pos = nextSentencePosition(VisiblePosition(m_selection.extent(), m_selection.affinity())); VisiblePosition 767 Source/core/editing/FrameSelection.cpp VisiblePosition FrameSelection::modifyExtendingLeft(TextGranularity granularity) VisiblePosition 769 Source/core/editing/FrameSelection.cpp VisiblePosition pos(m_selection.extent(), m_selection.affinity()); VisiblePosition 808 Source/core/editing/FrameSelection.cpp VisiblePosition FrameSelection::modifyExtendingBackward(TextGranularity granularity) VisiblePosition 810 Source/core/editing/FrameSelection.cpp VisiblePosition pos(m_selection.extent(), m_selection.affinity()); VisiblePosition 853 Source/core/editing/FrameSelection.cpp VisiblePosition FrameSelection::modifyMovingLeft(TextGranularity granularity) VisiblePosition 855 Source/core/editing/FrameSelection.cpp VisiblePosition pos; VisiblePosition 860 Source/core/editing/FrameSelection.cpp pos = VisiblePosition(m_selection.start(), m_selection.affinity()); VisiblePosition 862 Source/core/editing/FrameSelection.cpp pos = VisiblePosition(m_selection.end(), m_selection.affinity()); VisiblePosition 864 Source/core/editing/FrameSelection.cpp pos = VisiblePosition(m_selection.extent(), m_selection.affinity()).left(true); VisiblePosition 868 Source/core/editing/FrameSelection.cpp pos = leftWordPosition(VisiblePosition(m_selection.extent(), m_selection.affinity()), skipsSpaceWhenMovingRight); VisiblePosition 887 Source/core/editing/FrameSelection.cpp VisiblePosition FrameSelection::modifyMovingBackward(TextGranularity granularity) VisiblePosition 889 Source/core/editing/FrameSelection.cpp VisiblePosition pos; VisiblePosition 893 Source/core/editing/FrameSelection.cpp pos = VisiblePosition(m_selection.start(), m_selection.affinity()); VisiblePosition 895 Source/core/editing/FrameSelection.cpp pos = VisiblePosition(m_selection.extent(), m_selection.affinity()).previous(CanSkipOverEditingBoundary); VisiblePosition 898 Source/core/editing/FrameSelection.cpp pos = previousWordPosition(VisiblePosition(m_selection.extent(), m_selection.affinity())); VisiblePosition 901 Source/core/editing/FrameSelection.cpp pos = previousSentencePosition(VisiblePosition(m_selection.extent(), m_selection.affinity())); VisiblePosition 948 Source/core/editing/FrameSelection.cpp VisiblePosition originalStartPosition = m_selection.visibleStart(); VisiblePosition 949 Source/core/editing/FrameSelection.cpp VisiblePosition position; VisiblePosition 1036 Source/core/editing/FrameSelection.cpp static bool absoluteCaretY(const VisiblePosition &c, int &y) VisiblePosition 1058 Source/core/editing/FrameSelection.cpp VisiblePosition pos; VisiblePosition 1062 Source/core/editing/FrameSelection.cpp pos = VisiblePosition(direction == DirectionUp ? m_selection.start() : m_selection.end(), m_selection.affinity()); VisiblePosition 1067 Source/core/editing/FrameSelection.cpp pos = VisiblePosition(m_selection.extent(), m_selection.affinity()); VisiblePosition 1080 Source/core/editing/FrameSelection.cpp VisiblePosition result; VisiblePosition 1081 Source/core/editing/FrameSelection.cpp VisiblePosition next; VisiblePosition 1082 Source/core/editing/FrameSelection.cpp for (VisiblePosition p = pos; ; p = next) { VisiblePosition 1151 Source/core/editing/FrameSelection.cpp VisiblePosition visiblePosition(pos, m_selection.affinity()); VisiblePosition 1182 Source/core/editing/FrameSelection.cpp void FrameSelection::setStart(const VisiblePosition &pos, EUserTriggered trigger) VisiblePosition 1190 Source/core/editing/FrameSelection.cpp void FrameSelection::setEnd(const VisiblePosition &pos, EUserTriggered trigger) VisiblePosition 1198 Source/core/editing/FrameSelection.cpp void FrameSelection::setBase(const VisiblePosition &pos, EUserTriggered userTriggered) VisiblePosition 1204 Source/core/editing/FrameSelection.cpp void FrameSelection::setExtent(const VisiblePosition &pos, EUserTriggered userTriggered) VisiblePosition 1225 Source/core/editing/FrameSelection.cpp else if (updateCaretRect(m_frame->document(), VisiblePosition(m_selection.start(), m_selection.affinity()))) VisiblePosition 1301 Source/core/editing/FrameSelection.cpp VisiblePosition visiblePos(innerNode->renderer()->positionForPoint(result.localPoint())); VisiblePosition 1352 Source/core/editing/FrameSelection.cpp VisiblePosition beforeOwnerElement(VisiblePosition(Position(ownerElementParent, ownerElementNodeIndex, Position::PositionIsOffsetInAnchor))); VisiblePosition 1353 Source/core/editing/FrameSelection.cpp VisiblePosition afterOwnerElement(VisiblePosition(Position(ownerElementParent, ownerElementNodeIndex + 1, Position::PositionIsOffsetInAnchor), VP_UPSTREAM_IF_POSSIBLE)); VisiblePosition 1421 Source/core/editing/FrameSelection.cpp VisiblePosition visibleStart(range->startPosition(), collapsed ? affinity : DOWNSTREAM); VisiblePosition 1422 Source/core/editing/FrameSelection.cpp VisiblePosition visibleEnd(range->endPosition(), SEL_DEFAULT_AFFINITY); VisiblePosition 1527 Source/core/editing/FrameSelection.cpp VisiblePosition forwardPosition; VisiblePosition 1781 Source/core/editing/FrameSelection.cpp rect = revealExtentOption == RevealExtent ? VisiblePosition(extent()).absoluteCaretBounds() : enclosingIntRect(bounds(false)); VisiblePosition 50 Source/core/editing/FrameSelection.h class VisiblePosition; VisiblePosition 91 Source/core/editing/FrameSelection.h void moveTo(const VisiblePosition&, EUserTriggered = NotUserTriggered, CursorAlignOnScroll = AlignCursorOnScrollIfNeeded); VisiblePosition 92 Source/core/editing/FrameSelection.h void moveTo(const VisiblePosition&, const VisiblePosition&, EUserTriggered = NotUserTriggered); VisiblePosition 118 Source/core/editing/FrameSelection.h void setStart(const VisiblePosition &, EUserTriggered = NotUserTriggered); VisiblePosition 119 Source/core/editing/FrameSelection.h void setEnd(const VisiblePosition &, EUserTriggered = NotUserTriggered); VisiblePosition 121 Source/core/editing/FrameSelection.h void setBase(const VisiblePosition&, EUserTriggered = NotUserTriggered); VisiblePosition 122 Source/core/editing/FrameSelection.h void setExtent(const VisiblePosition&, EUserTriggered = NotUserTriggered); VisiblePosition 215 Source/core/editing/FrameSelection.h VisiblePosition positionForPlatform(bool isGetStart) const; VisiblePosition 216 Source/core/editing/FrameSelection.h VisiblePosition startForPlatform() const; VisiblePosition 217 Source/core/editing/FrameSelection.h VisiblePosition endForPlatform() const; VisiblePosition 218 Source/core/editing/FrameSelection.h VisiblePosition nextWordPositionForPlatform(const VisiblePosition&); VisiblePosition 220 Source/core/editing/FrameSelection.h VisiblePosition modifyExtendingRight(TextGranularity); VisiblePosition 221 Source/core/editing/FrameSelection.h VisiblePosition modifyExtendingForward(TextGranularity); VisiblePosition 222 Source/core/editing/FrameSelection.h VisiblePosition modifyMovingRight(TextGranularity); VisiblePosition 223 Source/core/editing/FrameSelection.h VisiblePosition modifyMovingForward(TextGranularity); VisiblePosition 224 Source/core/editing/FrameSelection.h VisiblePosition modifyExtendingLeft(TextGranularity); VisiblePosition 225 Source/core/editing/FrameSelection.h VisiblePosition modifyExtendingBackward(TextGranularity); VisiblePosition 226 Source/core/editing/FrameSelection.h VisiblePosition modifyMovingLeft(TextGranularity); VisiblePosition 227 Source/core/editing/FrameSelection.h VisiblePosition modifyMovingBackward(TextGranularity); VisiblePosition 255 Source/core/editing/FrameSelection.h VisiblePosition m_originalBase; // Used to store base before the adjustment at bidi boundary VisiblePosition 82 Source/core/editing/IndentOutdentCommand.cpp moveParagraphWithClones(VisiblePosition(start), VisiblePosition(end), newList.get(), selectedListItem.get()); VisiblePosition 84 Source/core/editing/IndentOutdentCommand.cpp moveParagraphWithClones(VisiblePosition(start), VisiblePosition(positionAfterNode(selectedListItem->lastChild())), newList.get(), selectedListItem.get()); VisiblePosition 112 Source/core/editing/IndentOutdentCommand.cpp VisiblePosition startOfContents(start); VisiblePosition 121 Source/core/editing/IndentOutdentCommand.cpp startOfContents = VisiblePosition(positionInParentAfterNode(*targetBlockquote)); VisiblePosition 124 Source/core/editing/IndentOutdentCommand.cpp moveParagraphWithClones(startOfContents, VisiblePosition(end), targetBlockquote.get(), outerBlock.get()); VisiblePosition 129 Source/core/editing/IndentOutdentCommand.cpp VisiblePosition visibleStartOfParagraph = startOfParagraph(endingSelection().visibleStart()); VisiblePosition 130 Source/core/editing/IndentOutdentCommand.cpp VisiblePosition visibleEndOfParagraph = endOfParagraph(visibleStartOfParagraph); VisiblePosition 147 Source/core/editing/IndentOutdentCommand.cpp VisiblePosition positionInEnclosingBlock = VisiblePosition(firstPositionInNode(enclosingNode)); VisiblePosition 150 Source/core/editing/IndentOutdentCommand.cpp VisiblePosition startOfEnclosingBlock = (enclosingNode->renderer() && enclosingNode->renderer()->isInline()) ? positionInEnclosingBlock : startOfBlock(positionInEnclosingBlock); VisiblePosition 151 Source/core/editing/IndentOutdentCommand.cpp VisiblePosition lastPositionInEnclosingBlock = VisiblePosition(lastPositionInNode(enclosingNode)); VisiblePosition 152 Source/core/editing/IndentOutdentCommand.cpp VisiblePosition endOfEnclosingBlock = endOfBlock(lastPositionInEnclosingBlock); VisiblePosition 170 Source/core/editing/IndentOutdentCommand.cpp visibleStartOfParagraph = VisiblePosition(visibleStartOfParagraph.deepEquivalent()); VisiblePosition 171 Source/core/editing/IndentOutdentCommand.cpp visibleEndOfParagraph = VisiblePosition(visibleEndOfParagraph.deepEquivalent()); VisiblePosition 190 Source/core/editing/IndentOutdentCommand.cpp moveParagraph(startOfParagraph(visibleStartOfParagraph), endOfParagraph(visibleEndOfParagraph), VisiblePosition(positionBeforeNode(placeholder.get())), true); VisiblePosition 194 Source/core/editing/IndentOutdentCommand.cpp void IndentOutdentCommand::outdentRegion(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) VisiblePosition 196 Source/core/editing/IndentOutdentCommand.cpp VisiblePosition endOfCurrentParagraph = endOfParagraph(startOfSelection); VisiblePosition 197 Source/core/editing/IndentOutdentCommand.cpp VisiblePosition endOfLastParagraph = endOfParagraph(endOfSelection); VisiblePosition 205 Source/core/editing/IndentOutdentCommand.cpp VisiblePosition endAfterSelection = endOfParagraph(endOfLastParagraph.next()); VisiblePosition 208 Source/core/editing/IndentOutdentCommand.cpp VisiblePosition endOfNextParagraph = endOfParagraph(endOfCurrentParagraph.next()); VisiblePosition 223 Source/core/editing/IndentOutdentCommand.cpp endOfCurrentParagraph = VisiblePosition(endingSelection().end()); VisiblePosition 230 Source/core/editing/IndentOutdentCommand.cpp void IndentOutdentCommand::formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) VisiblePosition 49 Source/core/editing/IndentOutdentCommand.h void outdentRegion(const VisiblePosition&, const VisiblePosition&); VisiblePosition 54 Source/core/editing/IndentOutdentCommand.h virtual void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) OVERRIDE; VisiblePosition 72 Source/core/editing/InsertLineBreakCommand.cpp VisiblePosition caret(selection.visibleStart()); VisiblePosition 100 Source/core/editing/InsertLineBreakCommand.cpp VisiblePosition endingPosition(positionBeforeNode(nodeToInsert.get())); VisiblePosition 106 Source/core/editing/InsertLineBreakCommand.cpp if (!isStartOfParagraph(VisiblePosition(positionBeforeNode(nodeToInsert.get())))) VisiblePosition 84 Source/core/editing/InsertListCommand.cpp VisiblePosition start = selection.visibleStart(); VisiblePosition 89 Source/core/editing/InsertListCommand.cpp VisiblePosition end = startOfParagraph(selection.visibleEnd()); VisiblePosition 113 Source/core/editing/InsertListCommand.cpp VisiblePosition visibleEnd = endingSelection().visibleEnd(); VisiblePosition 114 Source/core/editing/InsertListCommand.cpp VisiblePosition visibleStart = endingSelection().visibleStart(); VisiblePosition 133 Source/core/editing/InsertListCommand.cpp VisiblePosition startOfSelection = selection.visibleStart(); VisiblePosition 134 Source/core/editing/InsertListCommand.cpp VisiblePosition endOfSelection = selection.visibleEnd(); VisiblePosition 135 Source/core/editing/InsertListCommand.cpp VisiblePosition startOfLastParagraph = startOfParagraph(endOfSelection, CanSkipOverEditingBoundary); VisiblePosition 143 Source/core/editing/InsertListCommand.cpp VisiblePosition startOfCurrentParagraph = startOfSelection; VisiblePosition 221 Source/core/editing/InsertListCommand.cpp bool rangeStartIsInList = visiblePositionBeforeNode(*listNode) == VisiblePosition(currentSelection.startPosition()); VisiblePosition 222 Source/core/editing/InsertListCommand.cpp bool rangeEndIsInList = visiblePositionAfterNode(*listNode) == VisiblePosition(currentSelection.endPosition()); VisiblePosition 227 Source/core/editing/InsertListCommand.cpp Node* firstChildInList = enclosingListChild(VisiblePosition(firstPositionInNode(listNode.get())).deepEquivalent().deprecatedNode(), listNode.get()); VisiblePosition 230 Source/core/editing/InsertListCommand.cpp moveParagraphWithClones(VisiblePosition(firstPositionInNode(listNode.get())), VisiblePosition(lastPositionInNode(listNode.get())), newList.get(), outerBlock); VisiblePosition 247 Source/core/editing/InsertListCommand.cpp setEndingSelection(VisiblePosition(firstPositionInNode(newList.get()))); VisiblePosition 259 Source/core/editing/InsertListCommand.cpp void InsertListCommand::unlistifyParagraph(const VisiblePosition& originalStart, HTMLElement* listNode, Node* listChildNode) VisiblePosition 263 Source/core/editing/InsertListCommand.cpp VisiblePosition start; VisiblePosition 264 Source/core/editing/InsertListCommand.cpp VisiblePosition end; VisiblePosition 267 Source/core/editing/InsertListCommand.cpp start = VisiblePosition(firstPositionInNode(listChildNode)); VisiblePosition 268 Source/core/editing/InsertListCommand.cpp end = VisiblePosition(lastPositionInNode(listChildNode)); VisiblePosition 312 Source/core/editing/InsertListCommand.cpp VisiblePosition insertionPoint = VisiblePosition(positionBeforeNode(placeholder.get())); VisiblePosition 316 Source/core/editing/InsertListCommand.cpp static Element* adjacentEnclosingList(const VisiblePosition& pos, const VisiblePosition& adjacentPos, const QualifiedName& listTag) VisiblePosition 335 Source/core/editing/InsertListCommand.cpp PassRefPtr<HTMLElement> InsertListCommand::listifyParagraph(const VisiblePosition& originalStart, const QualifiedName& listTag) VisiblePosition 337 Source/core/editing/InsertListCommand.cpp VisiblePosition start = startOfParagraph(originalStart, CanSkipOverEditingBoundary); VisiblePosition 338 Source/core/editing/InsertListCommand.cpp VisiblePosition end = endOfParagraph(start, CanSkipOverEditingBoundary); VisiblePosition 366 Source/core/editing/InsertListCommand.cpp start = VisiblePosition(positionBeforeNode(placeholder.get())); VisiblePosition 394 Source/core/editing/InsertListCommand.cpp moveParagraph(start, end, VisiblePosition(positionBeforeNode(placeholder.get())), true); VisiblePosition 56 Source/core/editing/InsertListCommand.h void unlistifyParagraph(const VisiblePosition& originalStart, HTMLElement* listNode, Node* listChildNode); VisiblePosition 57 Source/core/editing/InsertListCommand.h PassRefPtr<HTMLElement> listifyParagraph(const VisiblePosition& originalStart, const QualifiedName& listTag); VisiblePosition 78 Source/core/editing/InsertParagraphSeparatorCommand.cpp VisiblePosition visiblePos(pos, VP_DEFAULT_AFFINITY); VisiblePosition 169 Source/core/editing/InsertParagraphSeparatorCommand.cpp Position canonicalPos = VisiblePosition(insertionPosition).deepEquivalent(); VisiblePosition 188 Source/core/editing/InsertParagraphSeparatorCommand.cpp VisiblePosition visiblePos(insertionPosition, affinity); VisiblePosition 332 Source/core/editing/InsertParagraphSeparatorCommand.cpp insertionPosition = positionOutsideTabSpan(VisiblePosition(insertionPosition).deepEquivalent()); VisiblePosition 363 Source/core/editing/InsertParagraphSeparatorCommand.cpp visiblePos = VisiblePosition(insertionPosition); VisiblePosition 391 Source/core/editing/InsertParagraphSeparatorCommand.cpp if (VisiblePosition(insertionPosition) != VisiblePosition(positionBeforeNode(blockToInsert.get()))) { VisiblePosition 403 Source/core/editing/InsertParagraphSeparatorCommand.cpp VisiblePosition beforeNodePosition(positionBeforeNode(n)); VisiblePosition 404 Source/core/editing/InsertParagraphSeparatorCommand.cpp if (!beforeNodePosition.isNull() && comparePositions(VisiblePosition(insertionPosition), beforeNodePosition) <= 0) VisiblePosition 159 Source/core/editing/InsertTextCommand.cpp VisiblePosition caret(startPosition); VisiblePosition 231 Source/core/editing/InsertTextCommand.cpp Position insertPos = VisiblePosition(pos, DOWNSTREAM).deepEquivalent(); VisiblePosition 68 Source/core/editing/MoveSelectionCommand.cpp cleanupAfterDeletion(VisiblePosition(pos)); VisiblePosition 113 Source/core/editing/PlainTextRange.cpp Position runEnd = VisiblePosition(runStart).next().deepEquivalent(); VisiblePosition 66 Source/core/editing/RenderedPosition.cpp RenderedPosition::RenderedPosition(const VisiblePosition& position) VisiblePosition 42 Source/core/editing/RenderedPosition.h class VisiblePosition; VisiblePosition 47 Source/core/editing/RenderedPosition.h explicit RenderedPosition(const VisiblePosition&); VisiblePosition 128 Source/core/editing/ReplaceSelectionCommand.cpp || VisiblePosition(pos) != VisiblePosition(nextPosition)) VisiblePosition 372 Source/core/editing/ReplaceSelectionCommand.cpp static bool hasMatchingQuoteLevel(VisiblePosition endOfExistingContent, VisiblePosition endOfInsertedContent) VisiblePosition 385 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition startOfInsertedContent(positionAtStartOfInsertedContent()); VisiblePosition 386 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition prev = startOfInsertedContent.previous(CannotCrossEditingBoundary); VisiblePosition 407 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition endOfInsertedContent(positionAtEndOfInsertedContent()); VisiblePosition 408 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition next = endOfInsertedContent.next(CannotCrossEditingBoundary); VisiblePosition 441 Source/core/editing/ReplaceSelectionCommand.cpp bool ReplaceSelectionCommand::shouldMerge(const VisiblePosition& source, const VisiblePosition& destination) VisiblePosition 521 Source/core/editing/ReplaceSelectionCommand.cpp && VisiblePosition(firstPositionInNode(element->parentNode())) == VisiblePosition(firstPositionInNode(element)) VisiblePosition 522 Source/core/editing/ReplaceSelectionCommand.cpp && VisiblePosition(lastPositionInNode(element->parentNode())) == VisiblePosition(lastPositionInNode(element))) { VisiblePosition 642 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition positionAtEndOfNode(lastPositionInOrAfterNode(node.get())); VisiblePosition 643 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition lastPositionInParagraph(lastPositionInNode(ancestor.get())); VisiblePosition 685 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition ReplaceSelectionCommand::positionAtEndOfInsertedContent() const VisiblePosition 689 Source/core/editing/ReplaceSelectionCommand.cpp return VisiblePosition(enclosingSelect ? lastPositionInOrAfterNode(enclosingSelect) : m_endOfInsertedContent); VisiblePosition 692 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition ReplaceSelectionCommand::positionAtStartOfInsertedContent() const VisiblePosition 694 Source/core/editing/ReplaceSelectionCommand.cpp return VisiblePosition(m_startOfInsertedContent); VisiblePosition 801 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition startOfInsertedContent(positionAtStartOfInsertedContent()); VisiblePosition 802 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition endOfInsertedContent(positionAtEndOfInsertedContent()); VisiblePosition 816 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition destination = mergeForward ? endOfInsertedContent.next() : endOfInsertedContent; VisiblePosition 817 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition startOfParagraphToMove = mergeForward ? startOfParagraph(endOfInsertedContent) : endOfInsertedContent.next(); VisiblePosition 824 Source/core/editing/ReplaceSelectionCommand.cpp destination = VisiblePosition(positionBeforeNode(placeholder.get())); VisiblePosition 907 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition visibleStart = selection.visibleStart(); VisiblePosition 908 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition visibleEnd = selection.visibleEnd(); VisiblePosition 947 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition next = visibleStart.next(CannotCrossEditingBoundary); VisiblePosition 991 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition originalVisPosBeforeEndBR; VisiblePosition 993 Source/core/editing/ReplaceSelectionCommand.cpp originalVisPosBeforeEndBR = VisiblePosition(positionBeforeNode(endBR), DOWNSTREAM).previous(); VisiblePosition 1001 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition visibleInsertionPos(insertionPos); VisiblePosition 1120 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition startOfInsertedContent(firstPositionInOrBeforeNode(insertedNodes.firstNodeInserted())); VisiblePosition 1153 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition startOfParagraphToMove = positionAtStartOfInsertedContent(); VisiblePosition 1154 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition destination = startOfParagraphToMove.previous(); VisiblePosition 1169 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition endOfInsertedContent = positionAtEndOfInsertedContent(); VisiblePosition 1187 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition endOfInsertedContent = positionAtEndOfInsertedContent(); VisiblePosition 1188 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition next = endOfInsertedContent.next(CannotCrossEditingBoundary); VisiblePosition 1197 Source/core/editing/ReplaceSelectionCommand.cpp setEndingSelection(VisiblePosition(firstPositionInNode(newListItem.get()))); VisiblePosition 1231 Source/core/editing/ReplaceSelectionCommand.cpp bool ReplaceSelectionCommand::shouldRemoveEndBR(Node* endBR, const VisiblePosition& originalVisPosBeforeEndBR) VisiblePosition 1236 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition visiblePos(positionBeforeNode(endBR)); VisiblePosition 1270 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition startOfInsertedContent = positionAtStartOfInsertedContent(); VisiblePosition 1271 Source/core/editing/ReplaceSelectionCommand.cpp VisiblePosition endOfInsertedContent = positionAtEndOfInsertedContent(); VisiblePosition 1424 Source/core/editing/ReplaceSelectionCommand.cpp bool isStart = isStartOfParagraph(VisiblePosition(insertPos)); VisiblePosition 1425 Source/core/editing/ReplaceSelectionCommand.cpp bool isEnd = isEndOfParagraph(VisiblePosition(insertPos)); VisiblePosition 1495 Source/core/editing/ReplaceSelectionCommand.cpp && shouldRemoveEndBR(nodeAfterInsertionPos.get(), VisiblePosition(positionBeforeNode(nodeAfterInsertionPos.get())))) VisiblePosition 80 Source/core/editing/ReplaceSelectionCommand.h bool shouldRemoveEndBR(Node*, const VisiblePosition&); VisiblePosition 84 Source/core/editing/ReplaceSelectionCommand.h bool shouldMerge(const VisiblePosition&, const VisiblePosition&); VisiblePosition 95 Source/core/editing/ReplaceSelectionCommand.h VisiblePosition positionAtStartOfInsertedContent() const; VisiblePosition 96 Source/core/editing/ReplaceSelectionCommand.h VisiblePosition positionAtEndOfInsertedContent() const; VisiblePosition 164 Source/core/editing/SpellChecker.cpp VisiblePosition start(selection.visibleStart()); VisiblePosition 166 Source/core/editing/SpellChecker.cpp VisiblePosition oneBeforeStart = start.previous(); VisiblePosition 198 Source/core/editing/SpellChecker.cpp VisiblePosition oneBeforeStart = startVisiblePosition(spellingSearchRange.get(), DOWNSTREAM).previous(); VisiblePosition 330 Source/core/editing/SpellChecker.cpp void SpellChecker::markMisspellingsAfterTypingToWord(const VisiblePosition &wordStart, const VisibleSelection& selectionAfterTyping) VisiblePosition 501 Source/core/editing/SpellChecker.cpp setStart(checkRange.get(), startOfSentence(VisiblePosition(checkRange->startPosition()))); VisiblePosition 502 Source/core/editing/SpellChecker.cpp setEnd(checkRange.get(), endOfSentence(VisiblePosition(checkRange->endPosition()))); VisiblePosition 642 Source/core/editing/SpellChecker.cpp VisiblePosition startOfSelection = m_frame.selection().selection().visibleStart(); VisiblePosition 643 Source/core/editing/SpellChecker.cpp VisiblePosition endOfSelection = m_frame.selection().selection().visibleEnd(); VisiblePosition 647 Source/core/editing/SpellChecker.cpp VisiblePosition startOfFirstWord = startOfWord(startOfSelection, LeftWordIfOnBoundary); VisiblePosition 648 Source/core/editing/SpellChecker.cpp VisiblePosition endOfFirstWord = endOfWord(startOfSelection, LeftWordIfOnBoundary); VisiblePosition 650 Source/core/editing/SpellChecker.cpp VisiblePosition startOfLastWord = startOfWord(endOfSelection, RightWordIfOnBoundary); VisiblePosition 651 Source/core/editing/SpellChecker.cpp VisiblePosition endOfLastWord = endOfWord(endOfSelection, RightWordIfOnBoundary); VisiblePosition 722 Source/core/editing/SpellChecker.cpp VisiblePosition newStart(m_frame.selection().selection().visibleStart()); VisiblePosition 775 Source/core/editing/SpellChecker.cpp VisiblePosition oldStart(oldSelection.visibleStart()); VisiblePosition 61 Source/core/editing/SpellChecker.h void markMisspellingsAfterTypingToWord(const VisiblePosition &wordStart, const VisibleSelection& selectionAfterTyping); VisiblePosition 42 Source/core/editing/SurroundingText.cpp SurroundingText::SurroundingText(const VisiblePosition& visiblePosition, unsigned maxLength) VisiblePosition 40 Source/core/editing/SurroundingText.h class VisiblePosition; VisiblePosition 45 Source/core/editing/SurroundingText.h SurroundingText(const VisiblePosition&, unsigned maxLength); VisiblePosition 104 Source/core/editing/TextCheckingHelper.cpp setStart(paragraphRange.get(), startOfParagraph(VisiblePosition(range->startPosition()))); VisiblePosition 105 Source/core/editing/TextCheckingHelper.cpp setEnd(paragraphRange.get(), endOfParagraph(VisiblePosition(range->endPosition()))); VisiblePosition 133 Source/core/editing/TextCheckingHelper.cpp setEnd(paragraphRange().get(), endOfParagraph(startOfNextParagraph(VisiblePosition(paragraphRange()->startPosition())))); VisiblePosition 310 Source/core/editing/TextCheckingHelper.cpp setStart(paragraphRange.get(), startOfParagraph(VisiblePosition(m_range->startPosition()))); VisiblePosition 312 Source/core/editing/TextCheckingHelper.cpp setEnd(paragraphRange.get(), endOfParagraph(VisiblePosition(m_range->startPosition()))); VisiblePosition 325 Source/core/editing/TextCheckingHelper.cpp if (inSameParagraph(VisiblePosition(paragraphRange->startPosition()), VisiblePosition(m_range->endPosition()))) { VisiblePosition 404 Source/core/editing/TextCheckingHelper.cpp VisiblePosition newParagraphStart = startOfNextParagraph(VisiblePosition(paragraphRange->endPosition())); VisiblePosition 1023 Source/core/editing/TextIterator.cpp VisiblePosition startPos = VisiblePosition(Position(m_startContainer, m_startOffset, Position::PositionIsOffsetInAnchor), DOWNSTREAM); VisiblePosition 1024 Source/core/editing/TextIterator.cpp VisiblePosition currPos = VisiblePosition(positionBeforeNode(m_node), DOWNSTREAM); VisiblePosition 304 Source/core/editing/TypingCommand.cpp VisiblePosition start(endingSelection().start(), endingSelection().affinity()); VisiblePosition 305 Source/core/editing/TypingCommand.cpp VisiblePosition previous = start.previous(); VisiblePosition 307 Source/core/editing/TypingCommand.cpp VisiblePosition p1 = startOfWord(previous, LeftWordIfOnBoundary); VisiblePosition 308 Source/core/editing/TypingCommand.cpp VisiblePosition p2 = startOfWord(start, LeftWordIfOnBoundary); VisiblePosition 434 Source/core/editing/TypingCommand.cpp VisiblePosition visibleStart(endingSelection().visibleStart()); VisiblePosition 450 Source/core/editing/TypingCommand.cpp if (enclosingTableCell && visibleStart == VisiblePosition(firstPositionInNode(enclosingTableCell))) VisiblePosition 537 Source/core/editing/TypingCommand.cpp VisiblePosition visibleEnd = endingSelection().visibleEnd(); VisiblePosition 539 Source/core/editing/TypingCommand.cpp if (enclosingTableCell && visibleEnd == VisiblePosition(lastPositionInNode(enclosingTableCell))) VisiblePosition 51 Source/core/editing/VisiblePosition.cpp VisiblePosition::VisiblePosition(const Position &pos, EAffinity affinity) VisiblePosition 56 Source/core/editing/VisiblePosition.cpp VisiblePosition::VisiblePosition(const PositionWithAffinity& positionWithAffinity) VisiblePosition 61 Source/core/editing/VisiblePosition.cpp void VisiblePosition::init(const Position& position, EAffinity affinity) VisiblePosition 68 Source/core/editing/VisiblePosition.cpp if (m_affinity == UPSTREAM && (isNull() || inSameLine(VisiblePosition(position, DOWNSTREAM), *this))) VisiblePosition 72 Source/core/editing/VisiblePosition.cpp VisiblePosition VisiblePosition::next(EditingBoundaryCrossingRule rule) const VisiblePosition 74 Source/core/editing/VisiblePosition.cpp VisiblePosition next(nextVisuallyDistinctCandidate(m_deepPosition), m_affinity); VisiblePosition 88 Source/core/editing/VisiblePosition.cpp VisiblePosition VisiblePosition::previous(EditingBoundaryCrossingRule rule) const VisiblePosition 94 Source/core/editing/VisiblePosition.cpp return VisiblePosition(); VisiblePosition 96 Source/core/editing/VisiblePosition.cpp VisiblePosition prev = VisiblePosition(pos, DOWNSTREAM); VisiblePosition 103 Source/core/editing/VisiblePosition.cpp VisiblePosition temp = prev; VisiblePosition 122 Source/core/editing/VisiblePosition.cpp Position VisiblePosition::leftVisuallyDistinctCandidate() const VisiblePosition 270 Source/core/editing/VisiblePosition.cpp VisiblePosition VisiblePosition::left(bool stayInEditableContent) const VisiblePosition 275 Source/core/editing/VisiblePosition.cpp return VisiblePosition(); VisiblePosition 277 Source/core/editing/VisiblePosition.cpp VisiblePosition left = VisiblePosition(pos, DOWNSTREAM); VisiblePosition 287 Source/core/editing/VisiblePosition.cpp Position VisiblePosition::rightVisuallyDistinctCandidate() const VisiblePosition 438 Source/core/editing/VisiblePosition.cpp VisiblePosition VisiblePosition::right(bool stayInEditableContent) const VisiblePosition 443 Source/core/editing/VisiblePosition.cpp return VisiblePosition(); VisiblePosition 445 Source/core/editing/VisiblePosition.cpp VisiblePosition right = VisiblePosition(pos, DOWNSTREAM); VisiblePosition 455 Source/core/editing/VisiblePosition.cpp VisiblePosition VisiblePosition::honorEditingBoundaryAtOrBefore(const VisiblePosition &pos) const VisiblePosition 464 Source/core/editing/VisiblePosition.cpp return VisiblePosition(); VisiblePosition 475 Source/core/editing/VisiblePosition.cpp return VisiblePosition(); VisiblePosition 481 Source/core/editing/VisiblePosition.cpp VisiblePosition VisiblePosition::honorEditingBoundaryAtOrAfter(const VisiblePosition &pos) const VisiblePosition 490 Source/core/editing/VisiblePosition.cpp return VisiblePosition(); VisiblePosition 501 Source/core/editing/VisiblePosition.cpp return VisiblePosition(); VisiblePosition 507 Source/core/editing/VisiblePosition.cpp VisiblePosition VisiblePosition::skipToStartOfEditingBoundary(const VisiblePosition &pos) const VisiblePosition 521 Source/core/editing/VisiblePosition.cpp return VisiblePosition(previousVisuallyDistinctCandidate(Position(highestRootOfPos, Position::PositionIsBeforeAnchor).parentAnchoredEquivalent())); VisiblePosition 527 Source/core/editing/VisiblePosition.cpp VisiblePosition VisiblePosition::skipToEndOfEditingBoundary(const VisiblePosition &pos) const VisiblePosition 541 Source/core/editing/VisiblePosition.cpp return VisiblePosition(Position(highestRootOfPos, Position::PositionIsAfterAnchor).parentAnchoredEquivalent()); VisiblePosition 558 Source/core/editing/VisiblePosition.cpp Position VisiblePosition::canonicalPosition(const Position& passedPosition) VisiblePosition 625 Source/core/editing/VisiblePosition.cpp UChar32 VisiblePosition::characterAfter() const VisiblePosition 650 Source/core/editing/VisiblePosition.cpp LayoutRect VisiblePosition::localCaretRect(RenderObject*& renderer) const VisiblePosition 672 Source/core/editing/VisiblePosition.cpp IntRect VisiblePosition::absoluteCaretBounds() const VisiblePosition 682 Source/core/editing/VisiblePosition.cpp int VisiblePosition::lineDirectionPointForBlockDirectionNavigation() const VisiblePosition 701 Source/core/editing/VisiblePosition.cpp void VisiblePosition::debugPosition(const char* msg) const VisiblePosition 711 Source/core/editing/VisiblePosition.cpp void VisiblePosition::formatForDebugger(char* buffer, unsigned length) const VisiblePosition 716 Source/core/editing/VisiblePosition.cpp void VisiblePosition::showTreeForThis() const VisiblePosition 723 Source/core/editing/VisiblePosition.cpp PassRefPtrWillBeRawPtr<Range> makeRange(const VisiblePosition &start, const VisiblePosition &end) VisiblePosition 736 Source/core/editing/VisiblePosition.cpp VisiblePosition startVisiblePosition(const Range *r, EAffinity affinity) VisiblePosition 738 Source/core/editing/VisiblePosition.cpp return VisiblePosition(r->startPosition(), affinity); VisiblePosition 741 Source/core/editing/VisiblePosition.cpp bool setStart(Range *r, const VisiblePosition &visiblePosition) VisiblePosition 751 Source/core/editing/VisiblePosition.cpp bool setEnd(Range *r, const VisiblePosition &visiblePosition) VisiblePosition 761 Source/core/editing/VisiblePosition.cpp Element* enclosingBlockFlowElement(const VisiblePosition &visiblePosition) VisiblePosition 769 Source/core/editing/VisiblePosition.cpp bool isFirstVisiblePositionInNode(const VisiblePosition &visiblePosition, const Node *node) VisiblePosition 777 Source/core/editing/VisiblePosition.cpp VisiblePosition previous = visiblePosition.previous(); VisiblePosition 781 Source/core/editing/VisiblePosition.cpp bool isLastVisiblePositionInNode(const VisiblePosition &visiblePosition, const Node *node) VisiblePosition 789 Source/core/editing/VisiblePosition.cpp VisiblePosition next = visiblePosition.next(); VisiblePosition 797 Source/core/editing/VisiblePosition.cpp void showTree(const WebCore::VisiblePosition* vpos) VisiblePosition 803 Source/core/editing/VisiblePosition.cpp void showTree(const WebCore::VisiblePosition& vpos) VisiblePosition 52 Source/core/editing/VisiblePosition.h class VisiblePosition { VisiblePosition 56 Source/core/editing/VisiblePosition.h VisiblePosition() : m_affinity(VP_DEFAULT_AFFINITY) { } VisiblePosition 57 Source/core/editing/VisiblePosition.h explicit VisiblePosition(const Position&, EAffinity = VP_DEFAULT_AFFINITY); VisiblePosition 58 Source/core/editing/VisiblePosition.h explicit VisiblePosition(const PositionWithAffinity&); VisiblePosition 73 Source/core/editing/VisiblePosition.h VisiblePosition next(EditingBoundaryCrossingRule = CanCrossEditingBoundary) const; VisiblePosition 74 Source/core/editing/VisiblePosition.h VisiblePosition previous(EditingBoundaryCrossingRule = CanCrossEditingBoundary) const; VisiblePosition 75 Source/core/editing/VisiblePosition.h VisiblePosition honorEditingBoundaryAtOrBefore(const VisiblePosition&) const; VisiblePosition 76 Source/core/editing/VisiblePosition.h VisiblePosition honorEditingBoundaryAtOrAfter(const VisiblePosition&) const; VisiblePosition 77 Source/core/editing/VisiblePosition.h VisiblePosition skipToStartOfEditingBoundary(const VisiblePosition&) const; VisiblePosition 78 Source/core/editing/VisiblePosition.h VisiblePosition skipToEndOfEditingBoundary(const VisiblePosition&) const; VisiblePosition 80 Source/core/editing/VisiblePosition.h VisiblePosition left(bool stayInEditableContent = false) const; VisiblePosition 81 Source/core/editing/VisiblePosition.h VisiblePosition right(bool stayInEditableContent = false) const; VisiblePosition 120 Source/core/editing/VisiblePosition.h inline bool operator==(const VisiblePosition& a, const VisiblePosition& b) VisiblePosition 125 Source/core/editing/VisiblePosition.h inline bool operator!=(const VisiblePosition& a, const VisiblePosition& b) VisiblePosition 130 Source/core/editing/VisiblePosition.h PassRefPtrWillBeRawPtr<Range> makeRange(const VisiblePosition&, const VisiblePosition&); VisiblePosition 131 Source/core/editing/VisiblePosition.h bool setStart(Range*, const VisiblePosition&); VisiblePosition 132 Source/core/editing/VisiblePosition.h bool setEnd(Range*, const VisiblePosition&); VisiblePosition 133 Source/core/editing/VisiblePosition.h VisiblePosition startVisiblePosition(const Range*, EAffinity); VisiblePosition 135 Source/core/editing/VisiblePosition.h Element* enclosingBlockFlowElement(const VisiblePosition&); VisiblePosition 137 Source/core/editing/VisiblePosition.h bool isFirstVisiblePositionInNode(const VisiblePosition&, const Node*); VisiblePosition 138 Source/core/editing/VisiblePosition.h bool isLastVisiblePositionInNode(const VisiblePosition&, const Node*); VisiblePosition 144 Source/core/editing/VisiblePosition.h void showTree(const WebCore::VisiblePosition*); VisiblePosition 145 Source/core/editing/VisiblePosition.h void showTree(const WebCore::VisiblePosition&); VisiblePosition 78 Source/core/editing/VisibleSelection.cpp VisibleSelection::VisibleSelection(const VisiblePosition& pos, bool isDirectional) VisiblePosition 88 Source/core/editing/VisibleSelection.cpp VisibleSelection::VisibleSelection(const VisiblePosition& base, const VisiblePosition& extent, bool isDirectional) VisiblePosition 157 Source/core/editing/VisibleSelection.cpp void VisibleSelection::setBase(const VisiblePosition& visiblePosition) VisiblePosition 175 Source/core/editing/VisibleSelection.cpp void VisibleSelection::setExtent(const VisiblePosition& visiblePosition) VisiblePosition 317 Source/core/editing/VisibleSelection.cpp m_base = VisiblePosition(m_base, m_affinity).deepEquivalent(); VisiblePosition 322 Source/core/editing/VisibleSelection.cpp m_extent = VisiblePosition(m_extent, m_affinity).deepEquivalent(); VisiblePosition 357 Source/core/editing/VisibleSelection.cpp VisiblePosition start = VisiblePosition(m_start, m_affinity); VisiblePosition 358 Source/core/editing/VisibleSelection.cpp VisiblePosition originalEnd(m_end, m_affinity); VisiblePosition 367 Source/core/editing/VisibleSelection.cpp VisiblePosition wordEnd(endOfWord(originalEnd, side)); VisiblePosition 368 Source/core/editing/VisibleSelection.cpp VisiblePosition end(wordEnd); VisiblePosition 393 Source/core/editing/VisibleSelection.cpp m_start = startOfSentence(VisiblePosition(m_start, m_affinity)).deepEquivalent(); VisiblePosition 394 Source/core/editing/VisibleSelection.cpp m_end = endOfSentence(VisiblePosition(m_end, m_affinity)).deepEquivalent(); VisiblePosition 398 Source/core/editing/VisibleSelection.cpp m_start = startOfLine(VisiblePosition(m_start, m_affinity)).deepEquivalent(); VisiblePosition 399 Source/core/editing/VisibleSelection.cpp VisiblePosition end = endOfLine(VisiblePosition(m_end, m_affinity)); VisiblePosition 403 Source/core/editing/VisibleSelection.cpp VisiblePosition next = end.next(); VisiblePosition 411 Source/core/editing/VisibleSelection.cpp m_start = startOfLine(VisiblePosition(m_start, m_affinity)).deepEquivalent(); VisiblePosition 412 Source/core/editing/VisibleSelection.cpp m_end = endOfLine(VisiblePosition(m_end, m_affinity)).deepEquivalent(); VisiblePosition 415 Source/core/editing/VisibleSelection.cpp VisiblePosition pos(m_start, m_affinity); VisiblePosition 419 Source/core/editing/VisibleSelection.cpp VisiblePosition visibleParagraphEnd = endOfParagraph(VisiblePosition(m_end, m_affinity)); VisiblePosition 423 Source/core/editing/VisibleSelection.cpp VisiblePosition end(visibleParagraphEnd.next()); VisiblePosition 442 Source/core/editing/VisibleSelection.cpp m_start = startOfDocument(VisiblePosition(m_start, m_affinity)).deepEquivalent(); VisiblePosition 443 Source/core/editing/VisibleSelection.cpp m_end = endOfDocument(VisiblePosition(m_end, m_affinity)).deepEquivalent(); VisiblePosition 446 Source/core/editing/VisibleSelection.cpp m_start = startOfParagraph(VisiblePosition(m_start, m_affinity)).deepEquivalent(); VisiblePosition 447 Source/core/editing/VisibleSelection.cpp m_end = endOfParagraph(VisiblePosition(m_end, m_affinity)).deepEquivalent(); VisiblePosition 450 Source/core/editing/VisibleSelection.cpp m_start = startOfSentence(VisiblePosition(m_start, m_affinity)).deepEquivalent(); VisiblePosition 451 Source/core/editing/VisibleSelection.cpp m_end = endOfSentence(VisiblePosition(m_end, m_affinity)).deepEquivalent(); VisiblePosition 605 Source/core/editing/VisibleSelection.cpp VisiblePosition first = firstEditablePositionAfterPositionInRoot(m_start, baseRoot); VisiblePosition 616 Source/core/editing/VisibleSelection.cpp VisiblePosition last = lastEditablePositionBeforePositionInRoot(m_end, baseRoot); VisiblePosition 642 Source/core/editing/VisibleSelection.cpp VisiblePosition previous(p); VisiblePosition 671 Source/core/editing/VisibleSelection.cpp VisiblePosition next(p); VisiblePosition 691 Source/core/editing/VisibleSelection.cpp VisiblePosition VisibleSelection::visiblePositionRespectingEditingBoundary(const LayoutPoint& localPoint, Node* targetNode) const VisiblePosition 694 Source/core/editing/VisibleSelection.cpp return VisiblePosition(); VisiblePosition 701 Source/core/editing/VisibleSelection.cpp return VisiblePosition(); VisiblePosition 708 Source/core/editing/VisibleSelection.cpp return VisiblePosition(targetNode->renderer()->positionForPoint(selectionEndPoint)); VisiblePosition 50 Source/core/editing/VisibleSelection.h explicit VisibleSelection(const VisiblePosition&, bool isDirectional = false); VisiblePosition 51 Source/core/editing/VisibleSelection.h VisibleSelection(const VisiblePosition&, const VisiblePosition&, bool isDirectional = false); VisiblePosition 66 Source/core/editing/VisibleSelection.h void setBase(const VisiblePosition&); VisiblePosition 68 Source/core/editing/VisibleSelection.h void setExtent(const VisiblePosition&); VisiblePosition 75 Source/core/editing/VisibleSelection.h VisiblePosition visibleStart() const { return VisiblePosition(m_start, isRange() ? DOWNSTREAM : affinity()); } VisiblePosition 76 Source/core/editing/VisibleSelection.h VisiblePosition visibleEnd() const { return VisiblePosition(m_end, isRange() ? UPSTREAM : affinity()); } VisiblePosition 77 Source/core/editing/VisibleSelection.h VisiblePosition visibleBase() const { return VisiblePosition(m_base, isRange() ? (isBaseFirst() ? UPSTREAM : DOWNSTREAM) : affinity()); } VisiblePosition 78 Source/core/editing/VisibleSelection.h VisiblePosition visibleExtent() const { return VisiblePosition(m_extent, isRange() ? (isBaseFirst() ? DOWNSTREAM : UPSTREAM) : affinity()); } VisiblePosition 111 Source/core/editing/VisibleSelection.h VisiblePosition visiblePositionRespectingEditingBoundary(const LayoutPoint& localPoint, Node* targetNode) const; VisiblePosition 82 Source/core/editing/VisibleUnits.cpp static Position previousRootInlineBoxCandidatePosition(Node* node, const VisiblePosition& visiblePosition, EditableType editableType) VisiblePosition 87 Source/core/editing/VisibleUnits.cpp while (previousNode && (!previousNode->renderer() || inSameLine(VisiblePosition(firstPositionInOrBeforeNode(previousNode)), visiblePosition))) VisiblePosition 105 Source/core/editing/VisibleUnits.cpp static Position nextRootInlineBoxCandidatePosition(Node* node, const VisiblePosition& visiblePosition, EditableType editableType) VisiblePosition 109 Source/core/editing/VisibleUnits.cpp while (nextNode && (!nextNode->renderer() || inSameLine(VisiblePosition(firstPositionInOrBeforeNode(nextNode)), visiblePosition))) VisiblePosition 207 Source/core/editing/VisibleUnits.cpp static const InlineTextBox* logicallyPreviousBox(const VisiblePosition& visiblePosition, const InlineTextBox* textBox, VisiblePosition 248 Source/core/editing/VisibleUnits.cpp static const InlineTextBox* logicallyNextBox(const VisiblePosition& visiblePosition, const InlineTextBox* textBox, VisiblePosition 288 Source/core/editing/VisibleUnits.cpp static TextBreakIterator* wordBreakIteratorForMinOffsetBoundary(const VisiblePosition& visiblePosition, const InlineTextBox* textBox, VisiblePosition 309 Source/core/editing/VisibleUnits.cpp static TextBreakIterator* wordBreakIteratorForMaxOffsetBoundary(const VisiblePosition& visiblePosition, const InlineTextBox* textBox, VisiblePosition 348 Source/core/editing/VisibleUnits.cpp static VisiblePosition visualWordPosition(const VisiblePosition& visiblePosition, CursorMovementDirection direction, VisiblePosition 352 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 356 Source/core/editing/VisibleUnits.cpp VisiblePosition current = visiblePosition; VisiblePosition 363 Source/core/editing/VisibleUnits.cpp VisiblePosition adjacentCharacterPosition = direction == MoveRight ? current.right(true) : current.left(true); VisiblePosition 365 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 416 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 419 Source/core/editing/VisibleUnits.cpp VisiblePosition leftWordPosition(const VisiblePosition& visiblePosition, bool skipsSpaceWhenMovingRight) VisiblePosition 421 Source/core/editing/VisibleUnits.cpp VisiblePosition leftWordBreak = visualWordPosition(visiblePosition, MoveLeft, skipsSpaceWhenMovingRight); VisiblePosition 432 Source/core/editing/VisibleUnits.cpp VisiblePosition rightWordPosition(const VisiblePosition& visiblePosition, bool skipsSpaceWhenMovingRight) VisiblePosition 434 Source/core/editing/VisibleUnits.cpp VisiblePosition rightWordBreak = visualWordPosition(visiblePosition, MoveRight, skipsSpaceWhenMovingRight); VisiblePosition 450 Source/core/editing/VisibleUnits.cpp static VisiblePosition previousBoundary(const VisiblePosition& c, BoundarySearchFunction searchFunction) VisiblePosition 455 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 488 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 517 Source/core/editing/VisibleUnits.cpp return VisiblePosition(it.atEnd() ? it.range()->startPosition() : pos, DOWNSTREAM); VisiblePosition 522 Source/core/editing/VisibleUnits.cpp return VisiblePosition(createLegacyEditingPosition(node, next), DOWNSTREAM); VisiblePosition 528 Source/core/editing/VisibleUnits.cpp return VisiblePosition(charIt.range()->endPosition(), DOWNSTREAM); VisiblePosition 531 Source/core/editing/VisibleUnits.cpp static VisiblePosition nextBoundary(const VisiblePosition& c, BoundarySearchFunction searchFunction) VisiblePosition 536 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 603 Source/core/editing/VisibleUnits.cpp VisiblePosition visPos = VisiblePosition(pos); VisiblePosition 604 Source/core/editing/VisibleUnits.cpp if (visPos == VisiblePosition(characterRange->startPosition())) { VisiblePosition 612 Source/core/editing/VisibleUnits.cpp return VisiblePosition(pos, VP_UPSTREAM_IF_POSSIBLE); VisiblePosition 631 Source/core/editing/VisibleUnits.cpp VisiblePosition startOfWord(const VisiblePosition &c, EWordSide side) VisiblePosition 635 Source/core/editing/VisibleUnits.cpp VisiblePosition p = c; VisiblePosition 661 Source/core/editing/VisibleUnits.cpp VisiblePosition endOfWord(const VisiblePosition &c, EWordSide side) VisiblePosition 663 Source/core/editing/VisibleUnits.cpp VisiblePosition p = c; VisiblePosition 687 Source/core/editing/VisibleUnits.cpp VisiblePosition previousWordPosition(const VisiblePosition &c) VisiblePosition 689 Source/core/editing/VisibleUnits.cpp VisiblePosition prev = previousBoundary(c, previousWordPositionBoundary); VisiblePosition 703 Source/core/editing/VisibleUnits.cpp VisiblePosition nextWordPosition(const VisiblePosition &c) VisiblePosition 705 Source/core/editing/VisibleUnits.cpp VisiblePosition next = nextBoundary(c, nextWordPositionBoundary); VisiblePosition 712 Source/core/editing/VisibleUnits.cpp static VisiblePosition startPositionForLine(const VisiblePosition& c, LineEndpointComputationMode mode) VisiblePosition 715 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 725 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 733 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 740 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 750 Source/core/editing/VisibleUnits.cpp return VisiblePosition(startNode->isTextNode() ? Position(toText(startNode), toInlineTextBox(startBox)->start()) : positionBeforeNode(startNode)); VisiblePosition 753 Source/core/editing/VisibleUnits.cpp static VisiblePosition startOfLine(const VisiblePosition& c, LineEndpointComputationMode mode) VisiblePosition 757 Source/core/editing/VisibleUnits.cpp VisiblePosition visPos = startPositionForLine(c, mode); VisiblePosition 762 Source/core/editing/VisibleUnits.cpp return VisiblePosition(firstPositionInNode(editableRoot)); VisiblePosition 770 Source/core/editing/VisibleUnits.cpp VisiblePosition startOfLine(const VisiblePosition& currentPosition) VisiblePosition 775 Source/core/editing/VisibleUnits.cpp VisiblePosition logicalStartOfLine(const VisiblePosition& currentPosition) VisiblePosition 780 Source/core/editing/VisibleUnits.cpp static VisiblePosition endPositionForLine(const VisiblePosition& c, LineEndpointComputationMode mode) VisiblePosition 783 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 792 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 800 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 807 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 829 Source/core/editing/VisibleUnits.cpp return VisiblePosition(pos, VP_UPSTREAM_IF_POSSIBLE); VisiblePosition 832 Source/core/editing/VisibleUnits.cpp static bool inSameLogicalLine(const VisiblePosition& a, const VisiblePosition& b) VisiblePosition 837 Source/core/editing/VisibleUnits.cpp static VisiblePosition endOfLine(const VisiblePosition& c, LineEndpointComputationMode mode) VisiblePosition 841 Source/core/editing/VisibleUnits.cpp VisiblePosition visPos = endPositionForLine(c, mode); VisiblePosition 854 Source/core/editing/VisibleUnits.cpp return VisiblePosition(lastPositionInNode(editableRoot)); VisiblePosition 868 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 876 Source/core/editing/VisibleUnits.cpp VisiblePosition endOfLine(const VisiblePosition& currentPosition) VisiblePosition 881 Source/core/editing/VisibleUnits.cpp VisiblePosition logicalEndOfLine(const VisiblePosition& currentPosition) VisiblePosition 886 Source/core/editing/VisibleUnits.cpp bool inSameLine(const VisiblePosition &a, const VisiblePosition &b) VisiblePosition 891 Source/core/editing/VisibleUnits.cpp bool isStartOfLine(const VisiblePosition &p) VisiblePosition 896 Source/core/editing/VisibleUnits.cpp bool isEndOfLine(const VisiblePosition &p) VisiblePosition 915 Source/core/editing/VisibleUnits.cpp VisiblePosition previousLinePosition(const VisiblePosition &visiblePosition, int lineDirectionPoint, EditableType editableType) VisiblePosition 921 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 927 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 944 Source/core/editing/VisibleUnits.cpp RenderedPosition renderedPosition((VisiblePosition(position))); VisiblePosition 947 Source/core/editing/VisibleUnits.cpp return VisiblePosition(position); VisiblePosition 957 Source/core/editing/VisibleUnits.cpp return VisiblePosition(positionInParentBeforeNode(*node)); VisiblePosition 958 Source/core/editing/VisibleUnits.cpp return VisiblePosition(renderer.positionForPoint(pointInLine)); VisiblePosition 966 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 967 Source/core/editing/VisibleUnits.cpp return VisiblePosition(firstPositionInNode(rootElement), DOWNSTREAM); VisiblePosition 970 Source/core/editing/VisibleUnits.cpp VisiblePosition nextLinePosition(const VisiblePosition &visiblePosition, int lineDirectionPoint, EditableType editableType) VisiblePosition 976 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 982 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 1002 Source/core/editing/VisibleUnits.cpp RenderedPosition renderedPosition((VisiblePosition(position))); VisiblePosition 1005 Source/core/editing/VisibleUnits.cpp return VisiblePosition(position); VisiblePosition 1015 Source/core/editing/VisibleUnits.cpp return VisiblePosition(positionInParentBeforeNode(*node)); VisiblePosition 1016 Source/core/editing/VisibleUnits.cpp return VisiblePosition(renderer.positionForPoint(pointInLine)); VisiblePosition 1024 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 1025 Source/core/editing/VisibleUnits.cpp return VisiblePosition(lastPositionInNode(rootElement), DOWNSTREAM); VisiblePosition 1037 Source/core/editing/VisibleUnits.cpp VisiblePosition startOfSentence(const VisiblePosition &c) VisiblePosition 1049 Source/core/editing/VisibleUnits.cpp VisiblePosition endOfSentence(const VisiblePosition &c) VisiblePosition 1062 Source/core/editing/VisibleUnits.cpp VisiblePosition previousSentencePosition(const VisiblePosition &c) VisiblePosition 1064 Source/core/editing/VisibleUnits.cpp VisiblePosition prev = previousBoundary(c, previousSentencePositionBoundary); VisiblePosition 1076 Source/core/editing/VisibleUnits.cpp VisiblePosition nextSentencePosition(const VisiblePosition &c) VisiblePosition 1078 Source/core/editing/VisibleUnits.cpp VisiblePosition next = nextBoundary(c, nextSentencePositionBoundary); VisiblePosition 1082 Source/core/editing/VisibleUnits.cpp VisiblePosition startOfParagraph(const VisiblePosition& c, EditingBoundaryCrossingRule boundaryCrossingRule) VisiblePosition 1088 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 1091 Source/core/editing/VisibleUnits.cpp return VisiblePosition(positionBeforeNode(startNode)); VisiblePosition 1136 Source/core/editing/VisibleUnits.cpp return VisiblePosition(Position(toText(n), i + 1), DOWNSTREAM); VisiblePosition 1153 Source/core/editing/VisibleUnits.cpp return VisiblePosition(Position(node, offset, type), DOWNSTREAM); VisiblePosition 1156 Source/core/editing/VisibleUnits.cpp return VisiblePosition(Position(node, type), DOWNSTREAM); VisiblePosition 1159 Source/core/editing/VisibleUnits.cpp VisiblePosition endOfParagraph(const VisiblePosition &c, EditingBoundaryCrossingRule boundaryCrossingRule) VisiblePosition 1162 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 1168 Source/core/editing/VisibleUnits.cpp return VisiblePosition(positionAfterNode(startNode)); VisiblePosition 1214 Source/core/editing/VisibleUnits.cpp return VisiblePosition(Position(toText(n), i), DOWNSTREAM); VisiblePosition 1230 Source/core/editing/VisibleUnits.cpp return VisiblePosition(Position(node, offset, type), DOWNSTREAM); VisiblePosition 1232 Source/core/editing/VisibleUnits.cpp return VisiblePosition(Position(node, type), DOWNSTREAM); VisiblePosition 1236 Source/core/editing/VisibleUnits.cpp VisiblePosition startOfNextParagraph(const VisiblePosition& visiblePosition) VisiblePosition 1238 Source/core/editing/VisibleUnits.cpp VisiblePosition paragraphEnd(endOfParagraph(visiblePosition, CanSkipOverEditingBoundary)); VisiblePosition 1239 Source/core/editing/VisibleUnits.cpp VisiblePosition afterParagraphEnd(paragraphEnd.next(CannotCrossEditingBoundary)); VisiblePosition 1247 Source/core/editing/VisibleUnits.cpp bool inSameParagraph(const VisiblePosition &a, const VisiblePosition &b, EditingBoundaryCrossingRule boundaryCrossingRule) VisiblePosition 1252 Source/core/editing/VisibleUnits.cpp bool isStartOfParagraph(const VisiblePosition &pos, EditingBoundaryCrossingRule boundaryCrossingRule) VisiblePosition 1257 Source/core/editing/VisibleUnits.cpp bool isEndOfParagraph(const VisiblePosition &pos, EditingBoundaryCrossingRule boundaryCrossingRule) VisiblePosition 1262 Source/core/editing/VisibleUnits.cpp VisiblePosition previousParagraphPosition(const VisiblePosition& p, int x) VisiblePosition 1264 Source/core/editing/VisibleUnits.cpp VisiblePosition pos = p; VisiblePosition 1266 Source/core/editing/VisibleUnits.cpp VisiblePosition n = previousLinePosition(pos, x); VisiblePosition 1274 Source/core/editing/VisibleUnits.cpp VisiblePosition nextParagraphPosition(const VisiblePosition& p, int x) VisiblePosition 1276 Source/core/editing/VisibleUnits.cpp VisiblePosition pos = p; VisiblePosition 1278 Source/core/editing/VisibleUnits.cpp VisiblePosition n = nextLinePosition(pos, x); VisiblePosition 1288 Source/core/editing/VisibleUnits.cpp VisiblePosition startOfBlock(const VisiblePosition& visiblePosition, EditingBoundaryCrossingRule rule) VisiblePosition 1293 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 1294 Source/core/editing/VisibleUnits.cpp return VisiblePosition(firstPositionInNode(startBlock)); VisiblePosition 1297 Source/core/editing/VisibleUnits.cpp VisiblePosition endOfBlock(const VisiblePosition& visiblePosition, EditingBoundaryCrossingRule rule) VisiblePosition 1302 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 1303 Source/core/editing/VisibleUnits.cpp return VisiblePosition(lastPositionInNode(endBlock)); VisiblePosition 1306 Source/core/editing/VisibleUnits.cpp bool inSameBlock(const VisiblePosition &a, const VisiblePosition &b) VisiblePosition 1311 Source/core/editing/VisibleUnits.cpp bool isStartOfBlock(const VisiblePosition &pos) VisiblePosition 1316 Source/core/editing/VisibleUnits.cpp bool isEndOfBlock(const VisiblePosition &pos) VisiblePosition 1323 Source/core/editing/VisibleUnits.cpp VisiblePosition startOfDocument(const Node* node) VisiblePosition 1326 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 1328 Source/core/editing/VisibleUnits.cpp return VisiblePosition(firstPositionInNode(node->document().documentElement()), DOWNSTREAM); VisiblePosition 1331 Source/core/editing/VisibleUnits.cpp VisiblePosition startOfDocument(const VisiblePosition &c) VisiblePosition 1336 Source/core/editing/VisibleUnits.cpp VisiblePosition endOfDocument(const Node* node) VisiblePosition 1339 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 1342 Source/core/editing/VisibleUnits.cpp return VisiblePosition(lastPositionInNode(doc), DOWNSTREAM); VisiblePosition 1345 Source/core/editing/VisibleUnits.cpp VisiblePosition endOfDocument(const VisiblePosition &c) VisiblePosition 1350 Source/core/editing/VisibleUnits.cpp bool isStartOfDocument(const VisiblePosition &p) VisiblePosition 1355 Source/core/editing/VisibleUnits.cpp bool isEndOfDocument(const VisiblePosition &p) VisiblePosition 1362 Source/core/editing/VisibleUnits.cpp VisiblePosition startOfEditableContent(const VisiblePosition& visiblePosition) VisiblePosition 1366 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 1368 Source/core/editing/VisibleUnits.cpp return VisiblePosition(firstPositionInNode(highestRoot)); VisiblePosition 1371 Source/core/editing/VisibleUnits.cpp VisiblePosition endOfEditableContent(const VisiblePosition& visiblePosition) VisiblePosition 1375 Source/core/editing/VisibleUnits.cpp return VisiblePosition(); VisiblePosition 1377 Source/core/editing/VisibleUnits.cpp return VisiblePosition(lastPositionInNode(highestRoot)); VisiblePosition 1380 Source/core/editing/VisibleUnits.cpp bool isEndOfEditableOrNonEditableContent(const VisiblePosition &p) VisiblePosition 1385 Source/core/editing/VisibleUnits.cpp VisiblePosition leftBoundaryOfLine(const VisiblePosition& c, TextDirection direction) VisiblePosition 1390 Source/core/editing/VisibleUnits.cpp VisiblePosition rightBoundaryOfLine(const VisiblePosition& c, TextDirection direction) VisiblePosition 35 Source/core/editing/VisibleUnits.h class VisiblePosition; VisiblePosition 40 Source/core/editing/VisibleUnits.h VisiblePosition startOfWord(const VisiblePosition &, EWordSide = RightWordIfOnBoundary); VisiblePosition 41 Source/core/editing/VisibleUnits.h VisiblePosition endOfWord(const VisiblePosition &, EWordSide = RightWordIfOnBoundary); VisiblePosition 42 Source/core/editing/VisibleUnits.h VisiblePosition previousWordPosition(const VisiblePosition &); VisiblePosition 43 Source/core/editing/VisibleUnits.h VisiblePosition nextWordPosition(const VisiblePosition &); VisiblePosition 44 Source/core/editing/VisibleUnits.h VisiblePosition rightWordPosition(const VisiblePosition&, bool skipsSpaceWhenMovingRight); VisiblePosition 45 Source/core/editing/VisibleUnits.h VisiblePosition leftWordPosition(const VisiblePosition&, bool skipsSpaceWhenMovingRight); VisiblePosition 48 Source/core/editing/VisibleUnits.h VisiblePosition startOfSentence(const VisiblePosition &); VisiblePosition 49 Source/core/editing/VisibleUnits.h VisiblePosition endOfSentence(const VisiblePosition &); VisiblePosition 50 Source/core/editing/VisibleUnits.h VisiblePosition previousSentencePosition(const VisiblePosition &); VisiblePosition 51 Source/core/editing/VisibleUnits.h VisiblePosition nextSentencePosition(const VisiblePosition &); VisiblePosition 54 Source/core/editing/VisibleUnits.h VisiblePosition startOfLine(const VisiblePosition &); VisiblePosition 55 Source/core/editing/VisibleUnits.h VisiblePosition endOfLine(const VisiblePosition &); VisiblePosition 56 Source/core/editing/VisibleUnits.h VisiblePosition previousLinePosition(const VisiblePosition&, int lineDirectionPoint, EditableType = ContentIsEditable); VisiblePosition 57 Source/core/editing/VisibleUnits.h VisiblePosition nextLinePosition(const VisiblePosition&, int lineDirectionPoint, EditableType = ContentIsEditable); VisiblePosition 58 Source/core/editing/VisibleUnits.h bool inSameLine(const VisiblePosition &, const VisiblePosition &); VisiblePosition 59 Source/core/editing/VisibleUnits.h bool isStartOfLine(const VisiblePosition &); VisiblePosition 60 Source/core/editing/VisibleUnits.h bool isEndOfLine(const VisiblePosition &); VisiblePosition 61 Source/core/editing/VisibleUnits.h VisiblePosition logicalStartOfLine(const VisiblePosition &); VisiblePosition 62 Source/core/editing/VisibleUnits.h VisiblePosition logicalEndOfLine(const VisiblePosition &); VisiblePosition 63 Source/core/editing/VisibleUnits.h VisiblePosition leftBoundaryOfLine(const VisiblePosition&, TextDirection); VisiblePosition 64 Source/core/editing/VisibleUnits.h VisiblePosition rightBoundaryOfLine(const VisiblePosition&, TextDirection); VisiblePosition 67 Source/core/editing/VisibleUnits.h VisiblePosition startOfParagraph(const VisiblePosition&, EditingBoundaryCrossingRule = CannotCrossEditingBoundary); VisiblePosition 68 Source/core/editing/VisibleUnits.h VisiblePosition endOfParagraph(const VisiblePosition&, EditingBoundaryCrossingRule = CannotCrossEditingBoundary); VisiblePosition 69 Source/core/editing/VisibleUnits.h VisiblePosition startOfNextParagraph(const VisiblePosition&); VisiblePosition 70 Source/core/editing/VisibleUnits.h VisiblePosition previousParagraphPosition(const VisiblePosition &, int x); VisiblePosition 71 Source/core/editing/VisibleUnits.h VisiblePosition nextParagraphPosition(const VisiblePosition &, int x); VisiblePosition 72 Source/core/editing/VisibleUnits.h bool isStartOfParagraph(const VisiblePosition &, EditingBoundaryCrossingRule = CannotCrossEditingBoundary); VisiblePosition 73 Source/core/editing/VisibleUnits.h bool isEndOfParagraph(const VisiblePosition &, EditingBoundaryCrossingRule = CannotCrossEditingBoundary); VisiblePosition 74 Source/core/editing/VisibleUnits.h bool inSameParagraph(const VisiblePosition &, const VisiblePosition &, EditingBoundaryCrossingRule = CannotCrossEditingBoundary); VisiblePosition 77 Source/core/editing/VisibleUnits.h VisiblePosition startOfBlock(const VisiblePosition &, EditingBoundaryCrossingRule = CannotCrossEditingBoundary); VisiblePosition 78 Source/core/editing/VisibleUnits.h VisiblePosition endOfBlock(const VisiblePosition &, EditingBoundaryCrossingRule = CannotCrossEditingBoundary); VisiblePosition 79 Source/core/editing/VisibleUnits.h bool inSameBlock(const VisiblePosition &, const VisiblePosition &); VisiblePosition 80 Source/core/editing/VisibleUnits.h bool isStartOfBlock(const VisiblePosition &); VisiblePosition 81 Source/core/editing/VisibleUnits.h bool isEndOfBlock(const VisiblePosition &); VisiblePosition 84 Source/core/editing/VisibleUnits.h VisiblePosition startOfDocument(const Node*); VisiblePosition 85 Source/core/editing/VisibleUnits.h VisiblePosition endOfDocument(const Node*); VisiblePosition 86 Source/core/editing/VisibleUnits.h VisiblePosition startOfDocument(const VisiblePosition &); VisiblePosition 87 Source/core/editing/VisibleUnits.h VisiblePosition endOfDocument(const VisiblePosition &); VisiblePosition 88 Source/core/editing/VisibleUnits.h bool isStartOfDocument(const VisiblePosition &); VisiblePosition 89 Source/core/editing/VisibleUnits.h bool isEndOfDocument(const VisiblePosition &); VisiblePosition 92 Source/core/editing/VisibleUnits.h VisiblePosition startOfEditableContent(const VisiblePosition&); VisiblePosition 93 Source/core/editing/VisibleUnits.h VisiblePosition endOfEditableContent(const VisiblePosition&); VisiblePosition 94 Source/core/editing/VisibleUnits.h bool isEndOfEditableOrNonEditableContent(const VisiblePosition&); VisiblePosition 111 Source/core/editing/htmlediting.cpp int comparePositions(const VisiblePosition& a, const VisiblePosition& b) VisiblePosition 261 Source/core/editing/htmlediting.cpp VisiblePosition firstEditablePositionAfterPositionInRoot(const Position& position, Node* highestRoot) VisiblePosition 265 Source/core/editing/htmlediting.cpp return VisiblePosition(firstPositionInNode(highestRoot)); VisiblePosition 272 Source/core/editing/htmlediting.cpp return VisiblePosition(); VisiblePosition 281 Source/core/editing/htmlediting.cpp return VisiblePosition(); VisiblePosition 283 Source/core/editing/htmlediting.cpp return VisiblePosition(p); VisiblePosition 286 Source/core/editing/htmlediting.cpp VisiblePosition lastEditablePositionBeforePositionInRoot(const Position& position, Node* highestRoot) VisiblePosition 290 Source/core/editing/htmlediting.cpp return VisiblePosition(lastPositionInNode(highestRoot)); VisiblePosition 297 Source/core/editing/htmlediting.cpp return VisiblePosition(); VisiblePosition 306 Source/core/editing/htmlediting.cpp return VisiblePosition(); VisiblePosition 308 Source/core/editing/htmlediting.cpp return VisiblePosition(p); VisiblePosition 436 Source/core/editing/htmlediting.cpp VisiblePosition vPos = VisiblePosition(pos, DOWNSTREAM); VisiblePosition 437 Source/core/editing/htmlediting.cpp VisiblePosition firstInElement = VisiblePosition(firstPositionInOrBeforeNode(n), DOWNSTREAM); VisiblePosition 451 Source/core/editing/htmlediting.cpp VisiblePosition vPos = VisiblePosition(pos, DOWNSTREAM); VisiblePosition 452 Source/core/editing/htmlediting.cpp VisiblePosition lastInElement = VisiblePosition(lastPositionInOrAfterNode(n), DOWNSTREAM); VisiblePosition 487 Source/core/editing/htmlediting.cpp Node* isFirstPositionAfterTable(const VisiblePosition& visiblePosition) VisiblePosition 496 Source/core/editing/htmlediting.cpp Node* isLastPositionBeforeTable(const VisiblePosition& visiblePosition) VisiblePosition 506 Source/core/editing/htmlediting.cpp VisiblePosition visiblePositionBeforeNode(Node& node) VisiblePosition 509 Source/core/editing/htmlediting.cpp return VisiblePosition(firstPositionInOrBeforeNode(&node), DOWNSTREAM); VisiblePosition 512 Source/core/editing/htmlediting.cpp return VisiblePosition(positionInParentBeforeNode(node)); VisiblePosition 516 Source/core/editing/htmlediting.cpp VisiblePosition visiblePositionAfterNode(Node& node) VisiblePosition 519 Source/core/editing/htmlediting.cpp return VisiblePosition(lastPositionInOrAfterNode(&node), DOWNSTREAM); VisiblePosition 522 Source/core/editing/htmlediting.cpp return VisiblePosition(positionInParentAfterNode(node)); VisiblePosition 528 Source/core/editing/htmlediting.cpp PassRefPtrWillBeRawPtr<Range> createRange(Document& document, const VisiblePosition& start, const VisiblePosition& end, ExceptionState& exceptionState) VisiblePosition 684 Source/core/editing/htmlediting.cpp Node* enclosingEmptyListItem(const VisiblePosition& visiblePos) VisiblePosition 691 Source/core/editing/htmlediting.cpp VisiblePosition firstInListChild(firstPositionInOrBeforeNode(listChildNode)); VisiblePosition 692 Source/core/editing/htmlediting.cpp VisiblePosition lastInListChild(lastPositionInOrAfterNode(listChildNode)); VisiblePosition 945 Source/core/editing/htmlediting.cpp bool lineBreakExistsAtVisiblePosition(const VisiblePosition& visiblePosition) VisiblePosition 975 Source/core/editing/htmlediting.cpp VisiblePosition startOfSelection(newSelection.visibleStart()); VisiblePosition 976 Source/core/editing/htmlediting.cpp VisiblePosition endOfSelection(newSelection.visibleEnd()); VisiblePosition 1003 Source/core/editing/htmlediting.cpp int indexForVisiblePosition(const VisiblePosition& visiblePosition, RefPtr<ContainerNode>& scope) VisiblePosition 1022 Source/core/editing/htmlediting.cpp VisiblePosition visiblePositionForIndex(int index, ContainerNode* scope) VisiblePosition 1025 Source/core/editing/htmlediting.cpp return VisiblePosition(); VisiblePosition 1030 Source/core/editing/htmlediting.cpp return VisiblePosition(); VisiblePosition 1031 Source/core/editing/htmlediting.cpp return VisiblePosition(range->startPosition()); VisiblePosition 1038 Source/core/editing/htmlediting.cpp return VisiblePosition(first) == VisiblePosition(second.upstream()); VisiblePosition 1049 Source/core/editing/htmlediting.cpp bool startIsVisuallySame = visiblePositionBeforeNode(node) == VisiblePosition(selectedRange.startPosition()); VisiblePosition 1053 Source/core/editing/htmlediting.cpp bool endIsVisuallySame = visiblePositionAfterNode(node) == VisiblePosition(selectedRange.endPosition()); VisiblePosition 1103 Source/core/editing/htmlediting.cpp VisiblePosition visiblePosition(selection.start()); VisiblePosition 44 Source/core/editing/htmlediting.h class VisiblePosition; VisiblePosition 65 Source/core/editing/htmlediting.h Node* enclosingEmptyListItem(const VisiblePosition&); VisiblePosition 71 Source/core/editing/htmlediting.h Node* isLastPositionBeforeTable(const VisiblePosition&); VisiblePosition 72 Source/core/editing/htmlediting.h Node* isFirstPositionAfterTable(const VisiblePosition&); VisiblePosition 176 Source/core/editing/htmlediting.h VisiblePosition firstEditablePositionAfterPositionInRoot(const Position&, Node*); VisiblePosition 177 Source/core/editing/htmlediting.h VisiblePosition lastEditablePositionBeforePositionInRoot(const Position&, Node*); VisiblePosition 178 Source/core/editing/htmlediting.h VisiblePosition visiblePositionBeforeNode(Node&); VisiblePosition 179 Source/core/editing/htmlediting.h VisiblePosition visiblePositionAfterNode(Node&); VisiblePosition 181 Source/core/editing/htmlediting.h bool lineBreakExistsAtVisiblePosition(const VisiblePosition&); VisiblePosition 183 Source/core/editing/htmlediting.h int comparePositions(const VisiblePosition&, const VisiblePosition&); VisiblePosition 185 Source/core/editing/htmlediting.h int indexForVisiblePosition(const VisiblePosition&, RefPtr<ContainerNode>& scope); VisiblePosition 186 Source/core/editing/htmlediting.h VisiblePosition visiblePositionForIndex(int index, ContainerNode* scope); VisiblePosition 194 Source/core/editing/htmlediting.h PassRefPtrWillBeRawPtr<Range> createRange(Document&, const VisiblePosition& start, const VisiblePosition& end, ExceptionState&); VisiblePosition 469 Source/core/editing/markup.cpp static bool needInterchangeNewlineAfter(const VisiblePosition& v) VisiblePosition 471 Source/core/editing/markup.cpp VisiblePosition next = v.next(); VisiblePosition 570 Source/core/editing/markup.cpp VisiblePosition visibleStart(updatedRange->startPosition(), VP_DEFAULT_AFFINITY); VisiblePosition 571 Source/core/editing/markup.cpp VisiblePosition visibleEnd(updatedRange->endPosition(), VP_DEFAULT_AFFINITY); VisiblePosition 279 Source/core/frame/LocalFrame.cpp VisiblePosition LocalFrame::visiblePositionForPoint(const IntPoint& framePoint) VisiblePosition 284 Source/core/frame/LocalFrame.cpp return VisiblePosition(); VisiblePosition 287 Source/core/frame/LocalFrame.cpp return VisiblePosition(); VisiblePosition 288 Source/core/frame/LocalFrame.cpp VisiblePosition visiblePos = VisiblePosition(renderer->positionForPoint(result.localPoint())); VisiblePosition 290 Source/core/frame/LocalFrame.cpp visiblePos = VisiblePosition(firstPositionInOrBeforeNode(node)); VisiblePosition 309 Source/core/frame/LocalFrame.cpp VisiblePosition position = visiblePositionForPoint(framePoint); VisiblePosition 313 Source/core/frame/LocalFrame.cpp VisiblePosition previous = position.previous(); VisiblePosition 321 Source/core/frame/LocalFrame.cpp VisiblePosition next = position.next(); VisiblePosition 57 Source/core/frame/LocalFrame.h class VisiblePosition; VisiblePosition 132 Source/core/frame/LocalFrame.h VisiblePosition visiblePositionForPoint(const IntPoint& framePoint); VisiblePosition 287 Source/core/html/HTMLTextFormControlElement.cpp VisiblePosition startPosition = visiblePositionForIndex(start); VisiblePosition 288 Source/core/html/HTMLTextFormControlElement.cpp VisiblePosition endPosition; VisiblePosition 311 Source/core/html/HTMLTextFormControlElement.cpp VisiblePosition HTMLTextFormControlElement::visiblePositionForIndex(int index) const VisiblePosition 314 Source/core/html/HTMLTextFormControlElement.cpp return VisiblePosition(firstPositionInNode(innerTextElement()), DOWNSTREAM); VisiblePosition 319 Source/core/html/HTMLTextFormControlElement.cpp return VisiblePosition(it.range()->endPosition(), UPSTREAM); VisiblePosition 322 Source/core/html/HTMLTextFormControlElement.cpp int HTMLTextFormControlElement::indexForVisiblePosition(const VisiblePosition& pos) const VisiblePosition 351 Source/core/html/HTMLTextFormControlElement.cpp return indexForVisiblePosition(VisiblePosition(frame->selection().start())); VisiblePosition 370 Source/core/html/HTMLTextFormControlElement.cpp return indexForVisiblePosition(VisiblePosition(frame->selection().end())); VisiblePosition 35 Source/core/html/HTMLTextFormControlElement.h class VisiblePosition; VisiblePosition 59 Source/core/html/HTMLTextFormControlElement.h VisiblePosition visiblePositionForIndex(int) const; VisiblePosition 60 Source/core/html/HTMLTextFormControlElement.h int indexForVisiblePosition(const VisiblePosition&) const; VisiblePosition 211 Source/core/page/DOMSelection.cpp m_frame->selection().moveTo(VisiblePosition(createLegacyEditingPosition(node, offset), DOWNSTREAM)); VisiblePosition 226 Source/core/page/DOMSelection.cpp m_frame->selection().moveTo(VisiblePosition(selection.end(), DOWNSTREAM)); VisiblePosition 241 Source/core/page/DOMSelection.cpp m_frame->selection().moveTo(VisiblePosition(selection.start(), DOWNSTREAM)); VisiblePosition 270 Source/core/page/DOMSelection.cpp VisiblePosition visibleBase = VisiblePosition(createLegacyEditingPosition(baseNode, baseOffset), DOWNSTREAM); VisiblePosition 271 Source/core/page/DOMSelection.cpp VisiblePosition visibleExtent = VisiblePosition(createLegacyEditingPosition(extentNode, extentOffset), DOWNSTREAM); VisiblePosition 349 Source/core/page/DOMSelection.cpp m_frame->selection().setExtent(VisiblePosition(createLegacyEditingPosition(node, offset), DOWNSTREAM)); VisiblePosition 431 Source/core/page/EventHandler.cpp VisiblePosition pos(innerNode->renderer()->positionForPoint(result.localPoint())); VisiblePosition 450 Source/core/page/EventHandler.cpp VisiblePosition pos(innerNode->renderer()->positionForPoint(result.localPoint())); VisiblePosition 495 Source/core/page/EventHandler.cpp VisiblePosition pos(innerNode->renderer()->positionForPoint(result.localPoint())); VisiblePosition 535 Source/core/page/EventHandler.cpp VisiblePosition pos(innerNode->renderer()->positionForPoint(event.localPoint())); VisiblePosition 572 Source/core/page/EventHandler.cpp VisiblePosition visiblePos(innerNode->renderer()->positionForPoint(event.localPoint())); VisiblePosition 574 Source/core/page/EventHandler.cpp visiblePos = VisiblePosition(firstPositionInOrBeforeNode(innerNode), DOWNSTREAM); VisiblePosition 581 Source/core/page/EventHandler.cpp VisibleSelection selectionInUserSelectAll(expandSelectionToRespectUserSelectAll(innerNode, VisibleSelection(VisiblePosition(pos)))); VisiblePosition 764 Source/core/page/EventHandler.cpp VisiblePosition targetPosition = m_frame->selection().selection().visiblePositionRespectingEditingBoundary(hitTestResult.localPoint(), target); VisiblePosition 848 Source/core/page/EventHandler.cpp VisiblePosition pos = VisiblePosition(node->renderer()->positionForPoint(event.localPoint())); VisiblePosition 3982 Source/core/page/EventHandler.cpp VisiblePosition visiblePos( VisiblePosition 353 Source/core/rendering/HitTestResult.cpp VisiblePosition pos(targetNode()->renderer()->positionForPoint(localPoint())); VisiblePosition 188 Source/core/svg/SVGTextContentElement.cpp VisiblePosition start(firstPositionInNode(const_cast<SVGTextContentElement*>(this))); VisiblePosition 193 Source/core/svg/SVGTextContentElement.cpp VisiblePosition end(start); VisiblePosition 2462 Source/core/testing/Internals.cpp SurroundingText surroundingText(VisiblePosition(node->renderer()->positionForPoint(static_cast<IntPoint>(point))), maxLength); VisiblePosition 128 Source/web/ContextMenuClientImpl.cpp VisiblePosition pos(innerNode->renderer()->positionForPoint( VisiblePosition 725 Source/web/WebAXObject.cpp VisiblePosition position = m_private->visiblePositionForIndex(selectionEnd()); VisiblePosition 737 Source/web/WebAXObject.cpp VisiblePosition position = m_private->visiblePositionForIndex(selectionStart()); VisiblePosition 1278 Source/web/WebFrameImpl.cpp void WebFrameImpl::selectWordAroundPosition(LocalFrame* frame, VisiblePosition position) VisiblePosition 1310 Source/web/WebFrameImpl.cpp VisiblePosition basePosition = visiblePositionForWindowPoint(base); VisiblePosition 1311 Source/web/WebFrameImpl.cpp VisiblePosition extentPosition = visiblePositionForWindowPoint(extent); VisiblePosition 1322 Source/web/WebFrameImpl.cpp VisiblePosition position = visiblePositionForWindowPoint(point); VisiblePosition 1361 Source/web/WebFrameImpl.cpp VisiblePosition WebFrameImpl::visiblePositionForWindowPoint(const WebPoint& point) VisiblePosition 1372 Source/web/WebFrameImpl.cpp return VisiblePosition(); VisiblePosition 307 Source/web/WebFrameImpl.h static void selectWordAroundPosition(WebCore::LocalFrame*, WebCore::VisiblePosition); VisiblePosition 330 Source/web/WebFrameImpl.h WebCore::VisiblePosition visiblePositionForWindowPoint(const WebPoint&); VisiblePosition 48 Source/web/WebSurroundingText.cpp m_private.reset(new SurroundingText(VisiblePosition(node->renderer()->positionForPoint(static_cast<IntPoint>(nodePoint))), maxLength)); VisiblePosition 3737 Source/web/tests/WebFrameTest.cpp return WebCore::VisiblePosition(renderer->positionForPoint(WebCore::LayoutPoint(x, y))).deepEquivalent().computeOffsetInContainerNode();