Position 919 Source/core/accessibility/AXObjectCache.cpp Position deepPos = visiblePos.deepEquivalent(); Position 946 Source/core/accessibility/AXObjectCache.cpp Position deepPos = visiblePos.deepEquivalent(); Position 1615 Source/core/accessibility/AXRenderObject.cpp frame->selection().setSelection(VisibleSelection(Position(node, range.start, Position::PositionIsOffsetInAnchor), Position 1616 Source/core/accessibility/AXRenderObject.cpp Position(node, range.start + range.length, Position::PositionIsOffsetInAnchor), DOWNSTREAM)); Position 1749 Source/core/accessibility/AXRenderObject.cpp return VisiblePosition(Position(it.range()->endContainer(), it.range()->endOffset(), Position::PositionIsOffsetInAnch\ Position 1767 Source/core/accessibility/AXRenderObject.cpp Position indexPosition = pos.deepEquivalent(); Position 1254 Source/core/dom/Document.cpp Position rangeCompliantPosition = positionWithAffinity.position().parentAnchoredEquivalent(); Position 527 Source/core/dom/Node.cpp if (Position::nodeIsUserSelectAll(node) && treatment == UserSelectAllIsAlwaysNonEditable) Position 82 Source/core/dom/Position.cpp Position::Position(PassRefPtr<Node> anchorNode, LegacyEditingOffset offset) Position 91 Source/core/dom/Position.cpp Position::Position(PassRefPtr<Node> anchorNode, AnchorType anchorType) Position 104 Source/core/dom/Position.cpp Position::Position(PassRefPtr<Node> anchorNode, int offset, AnchorType anchorType) Position 115 Source/core/dom/Position.cpp Position::Position(PassRefPtr<Text> textNode, unsigned offset) Position 124 Source/core/dom/Position.cpp void Position::moveToPosition(PassRefPtr<Node> node, int offset) Position 133 Source/core/dom/Position.cpp void Position::moveToOffset(int offset) Position 141 Source/core/dom/Position.cpp Node* Position::containerNode() const Position 159 Source/core/dom/Position.cpp Text* Position::containerText() const Position 176 Source/core/dom/Position.cpp int Position::computeOffsetInContainerNode() const Position 197 Source/core/dom/Position.cpp int Position::offsetForPositionAfterAnchor() const Position 206 Source/core/dom/Position.cpp Position Position::parentAnchoredEquivalent() const Position 209 Source/core/dom/Position.cpp return Position(); Position 215 Source/core/dom/Position.cpp return Position(m_anchorNode.get(), 0, PositionIsOffsetInAnchor); Position 224 Source/core/dom/Position.cpp return Position(containerNode(), computeOffsetInContainerNode(), PositionIsOffsetInAnchor); Position 227 Source/core/dom/Position.cpp Node* Position::computeNodeBeforePosition() const Position 248 Source/core/dom/Position.cpp Node* Position::computeNodeAfterPosition() const Position 269 Source/core/dom/Position.cpp Position::AnchorType Position::anchorTypeForLegacyEditingPosition(Node* anchorNode, int offset) Position 273 Source/core/dom/Position.cpp return Position::PositionIsBeforeAnchor; Position 274 Source/core/dom/Position.cpp return Position::PositionIsAfterAnchor; Position 276 Source/core/dom/Position.cpp return Position::PositionIsOffsetInAnchor; Position 280 Source/core/dom/Position.cpp Element* Position::element() const Position 288 Source/core/dom/Position.cpp PassRefPtr<CSSComputedStyleDeclaration> Position::computedStyle() const Position 296 Source/core/dom/Position.cpp Position Position::previous(PositionMoveType moveType) const Position 330 Source/core/dom/Position.cpp Position Position::next(PositionMoveType moveType) const Position 359 Source/core/dom/Position.cpp int Position::uncheckedPreviousOffset(const Node* n, int current) Position 364 Source/core/dom/Position.cpp int Position::uncheckedPreviousOffsetForBackwardDeletion(const Node* n, int current) Position 369 Source/core/dom/Position.cpp int Position::uncheckedNextOffset(const Node* n, int current) Position 374 Source/core/dom/Position.cpp bool Position::atFirstEditingPositionForNode() const Position 394 Source/core/dom/Position.cpp bool Position::atLastEditingPositionForNode() const Position 410 Source/core/dom/Position.cpp bool Position::atEditingBoundary() const Position 412 Source/core/dom/Position.cpp Position nextPosition = downstream(CanCrossEditingBoundary); Position 416 Source/core/dom/Position.cpp Position prevPosition = upstream(CanCrossEditingBoundary); Position 424 Source/core/dom/Position.cpp Node* Position::parentEditingBoundary() const Position 441 Source/core/dom/Position.cpp bool Position::atStartOfTree() const Position 448 Source/core/dom/Position.cpp bool Position::atEndOfTree() const Position 455 Source/core/dom/Position.cpp int Position::renderedOffset() const Position 480 Source/core/dom/Position.cpp Position Position::previousCharacterPosition(EAffinity affinity) const Position 483 Source/core/dom/Position.cpp return Position(); Position 490 Source/core/dom/Position.cpp Position currentPos = *this; Position 508 Source/core/dom/Position.cpp Position Position::nextCharacterPosition(EAffinity affinity) const Position 511 Source/core/dom/Position.cpp return Position(); Position 518 Source/core/dom/Position.cpp Position currentPos = *this; Position 587 Source/core/dom/Position.cpp Position Position::upstream(EditingBoundaryCrossingRule rule) const Position 591 Source/core/dom/Position.cpp return Position(); Position 710 Source/core/dom/Position.cpp Position Position::downstream(EditingBoundaryCrossingRule rule) const Position 714 Source/core/dom/Position.cpp return Position(); Position 832 Source/core/dom/Position.cpp bool Position::hasRenderedNonAnonymousDescendantsWithHeight(RenderObject* renderer) Position 845 Source/core/dom/Position.cpp bool Position::nodeIsUserSelectNone(Node* node) Position 850 Source/core/dom/Position.cpp bool Position::nodeIsUserSelectAll(const Node* node) Position 855 Source/core/dom/Position.cpp Node* Position::rootUserSelectAllForNode(Node* node) Position 877 Source/core/dom/Position.cpp bool Position::isCandidate() const Position 904 Source/core/dom/Position.cpp if (!Position::hasRenderedNonAnonymousDescendantsWithHeight(renderer)) Position 905 Source/core/dom/Position.cpp return atFirstEditingPositionForNode() && !Position::nodeIsUserSelectNone(deprecatedNode()); Position 906 Source/core/dom/Position.cpp return m_anchorNode->rendererIsEditable() && !Position::nodeIsUserSelectNone(deprecatedNode()) && atEditingBoundary(); Position 911 Source/core/dom/Position.cpp return (caretBrowsing || m_anchorNode->rendererIsEditable()) && !Position::nodeIsUserSelectNone(deprecatedNode()) && atEditingBoundary(); Position 917 Source/core/dom/Position.cpp bool Position::inRenderedText() const Position 942 Source/core/dom/Position.cpp bool Position::isRenderedCharacter() const Position 966 Source/core/dom/Position.cpp bool Position::rendersInDifferentPosition(const Position &pos) const Position 1053 Source/core/dom/Position.cpp Position Position::leadingWhitespacePosition(EAffinity affinity, bool considerNonCollapsibleWhitespace) const Position 1057 Source/core/dom/Position.cpp return Position(); Position 1060 Source/core/dom/Position.cpp return Position(); Position 1062 Source/core/dom/Position.cpp Position prev = previousCharacterPosition(affinity); Position 1071 Source/core/dom/Position.cpp return Position(); Position 1075 Source/core/dom/Position.cpp Position Position::trailingWhitespacePosition(EAffinity, bool considerNonCollapsibleWhitespace) const Position 1079 Source/core/dom/Position.cpp return Position(); Position 1088 Source/core/dom/Position.cpp return Position(); Position 1091 Source/core/dom/Position.cpp void Position::getInlineBoxAndOffset(EAffinity affinity, InlineBox*& inlineBox, int& caretOffset) const Position 1133 Source/core/dom/Position.cpp static Position downstreamIgnoringEditingBoundaries(Position position) Position 1135 Source/core/dom/Position.cpp Position lastPosition; Position 1143 Source/core/dom/Position.cpp static Position upstreamIgnoringEditingBoundaries(Position position) Position 1145 Source/core/dom/Position.cpp Position lastPosition; Position 1153 Source/core/dom/Position.cpp void Position::getInlineBoxAndOffset(EAffinity affinity, TextDirection primaryDirection, InlineBox*& inlineBox, int& caretOffset) const Position 1164 Source/core/dom/Position.cpp Position equivalent = downstreamIgnoringEditingBoundaries(*this); Position 1304 Source/core/dom/Position.cpp TextDirection Position::primaryDirection() const Position 1318 Source/core/dom/Position.cpp void Position::debugPosition(const char* msg) const Position 1328 Source/core/dom/Position.cpp void Position::formatForDebugger(char* buffer, unsigned length) const Position 1346 Source/core/dom/Position.cpp void Position::showAnchorTypeAndOffset() const Position 1370 Source/core/dom/Position.cpp void Position::showTreeForThis() const Position 1386 Source/core/dom/Position.cpp void showTree(const WebCore::Position& pos) Position 1391 Source/core/dom/Position.cpp void showTree(const WebCore::Position* pos) Position 53 Source/core/dom/Position.h class Position { Position 63 Source/core/dom/Position.h Position() Position 78 Source/core/dom/Position.h friend Position createLegacyEditingPosition(PassRefPtr<Node>, int offset); Position 82 Source/core/dom/Position.h Position(PassRefPtr<Node> anchorNode, LegacyEditingOffset); Position 85 Source/core/dom/Position.h Position(PassRefPtr<Node> anchorNode, AnchorType); Position 86 Source/core/dom/Position.h Position(PassRefPtr<Text> textNode, unsigned offset); Position 90 Source/core/dom/Position.h Position(PassRefPtr<Node> anchorNode, int offset, AnchorType); Position 102 Source/core/dom/Position.h Position parentAnchoredEquivalent() const; // Convenience method for DOM positions that also fixes up some positions for editing Position 153 Source/core/dom/Position.h Position previous(PositionMoveType = CodePoint) const; Position 154 Source/core/dom/Position.h Position next(PositionMoveType = CodePoint) const; Position 174 Source/core/dom/Position.h Position leadingWhitespacePosition(EAffinity, bool considerNonCollapsibleWhitespace = false) const; Position 175 Source/core/dom/Position.h Position trailingWhitespacePosition(EAffinity, bool considerNonCollapsibleWhitespace = false) const; Position 178 Source/core/dom/Position.h Position upstream(EditingBoundaryCrossingRule = CannotCrossEditingBoundary) const; Position 179 Source/core/dom/Position.h Position downstream(EditingBoundaryCrossingRule = CannotCrossEditingBoundary) const; Position 184 Source/core/dom/Position.h bool rendersInDifferentPosition(const Position&) const; Position 212 Source/core/dom/Position.h Position previousCharacterPosition(EAffinity) const; Position 213 Source/core/dom/Position.h Position nextCharacterPosition(EAffinity) const; Position 226 Source/core/dom/Position.h inline Position createLegacyEditingPosition(PassRefPtr<Node> node, int offset) Position 228 Source/core/dom/Position.h return Position(node, Position::LegacyEditingOffset(offset)); Position 231 Source/core/dom/Position.h inline bool operator==(const Position& a, const Position& b) Position 238 Source/core/dom/Position.h inline bool operator!=(const Position& a, const Position& b) Position 247 Source/core/dom/Position.h inline Position positionInParentBeforeNode(const Node& node) Position 253 Source/core/dom/Position.h return Position(node.parentNode(), node.nodeIndex(), Position::PositionIsOffsetInAnchor); Position 256 Source/core/dom/Position.h inline Position positionInParentAfterNode(const Node& node) Position 259 Source/core/dom/Position.h return Position(node.parentNode(), node.nodeIndex() + 1, Position::PositionIsOffsetInAnchor); Position 263 Source/core/dom/Position.h inline Position positionBeforeNode(Node* anchorNode) Position 266 Source/core/dom/Position.h return Position(anchorNode, Position::PositionIsBeforeAnchor); Position 269 Source/core/dom/Position.h inline Position positionAfterNode(Node* anchorNode) Position 272 Source/core/dom/Position.h return Position(anchorNode, Position::PositionIsAfterAnchor); Position 281 Source/core/dom/Position.h inline Position firstPositionInNode(Node* anchorNode) Position 284 Source/core/dom/Position.h return Position(anchorNode, 0, Position::PositionIsOffsetInAnchor); Position 285 Source/core/dom/Position.h return Position(anchorNode, Position::PositionIsBeforeChildren); Position 288 Source/core/dom/Position.h inline Position lastPositionInNode(Node* anchorNode) Position 291 Source/core/dom/Position.h return Position(anchorNode, lastOffsetInNode(anchorNode), Position::PositionIsOffsetInAnchor); Position 292 Source/core/dom/Position.h return Position(anchorNode, Position::PositionIsAfterChildren); Position 327 Source/core/dom/Position.h PositionWithAffinity(const Position& position, EAffinity affinity = DOWNSTREAM) Position 334 Source/core/dom/Position.h const Position& position() const { return m_position; } Position 337 Source/core/dom/Position.h Position m_position; Position 345 Source/core/dom/Position.h void showTree(const WebCore::Position&); Position 346 Source/core/dom/Position.h void showTree(const WebCore::Position*); Position 37 Source/core/dom/PositionIterator.cpp PositionIterator::operator Position() const Position 64 Source/core/dom/PositionIterator.cpp m_offsetInAnchor = Position::uncheckedNextOffset(m_anchorNode, m_offsetInAnchor); Position 96 Source/core/dom/PositionIterator.cpp m_offsetInAnchor = Position::uncheckedPreviousOffset(m_anchorNode, m_offsetInAnchor); Position 163 Source/core/dom/PositionIterator.cpp return !m_offsetInAnchor && (!m_anchorNode->hasChildren() || m_nodeAfterPositionInAnchor) && !Position::nodeIsUserSelectNone(m_anchorNode->parentNode()); Position 166 Source/core/dom/PositionIterator.cpp return !Position::nodeIsUserSelectNone(m_anchorNode) && Position(*this).inRenderedText(); Position 169 Source/core/dom/PositionIterator.cpp return (atStartOfNode() || atEndOfNode()) && !Position::nodeIsUserSelectNone(m_anchorNode->parentNode()); Position 173 Source/core/dom/PositionIterator.cpp if (!Position::hasRenderedNonAnonymousDescendantsWithHeight(renderer)) Position 174 Source/core/dom/PositionIterator.cpp return atStartOfNode() && !Position::nodeIsUserSelectNone(m_anchorNode); Position 175 Source/core/dom/PositionIterator.cpp return m_anchorNode->rendererIsEditable() && !Position::nodeIsUserSelectNone(m_anchorNode) && Position(*this).atEditingBoundary(); Position 46 Source/core/dom/PositionIterator.h PositionIterator(const Position& pos) Position 52 Source/core/dom/PositionIterator.h operator Position() const; Position 102 Source/core/dom/Range.cpp PassRefPtrWillBeRawPtr<Range> Range::create(Document& ownerDocument, const Position& start, const Position& end) Position 267 Source/core/dom/Range.cpp void Range::setStart(const Position& start, ExceptionState& exceptionState) Position 269 Source/core/dom/Range.cpp Position parentAnchored = start.parentAnchoredEquivalent(); Position 273 Source/core/dom/Range.cpp void Range::setEnd(const Position& end, ExceptionState& exceptionState) Position 275 Source/core/dom/Range.cpp Position parentAnchored = end.parentAnchoredEquivalent(); Position 55 Source/core/dom/Range.h static PassRefPtrWillBeRawPtr<Range> create(Document&, const Position&, const Position&); Position 107 Source/core/dom/Range.h const Position startPosition() const { return m_start.toPosition(); } Position 108 Source/core/dom/Range.h const Position endPosition() const { return m_end.toPosition(); } Position 109 Source/core/dom/Range.h void setStart(const Position&, ExceptionState& = ASSERT_NO_EXCEPTION); Position 110 Source/core/dom/Range.h void setEnd(const Position&, ExceptionState& = ASSERT_NO_EXCEPTION); Position 40 Source/core/dom/RangeBoundaryPoint.h const Position toPosition() const; Position 101 Source/core/dom/RangeBoundaryPoint.h inline const Position RangeBoundaryPoint::toPosition() const Position 108 Source/core/editing/ApplyBlockElementCommand.cpp Position start = startOfSelection.deepEquivalent().downstream(); Position 125 Source/core/editing/ApplyBlockElementCommand.cpp Position end; Position 156 Source/core/editing/ApplyBlockElementCommand.cpp static bool isNewLineAtPosition(const Position& position) Position 171 Source/core/editing/ApplyBlockElementCommand.cpp static RenderStyle* renderStyleOfEnclosingTextNode(const Position& position) Position 173 Source/core/editing/ApplyBlockElementCommand.cpp if (position.anchorType() != Position::PositionIsOffsetInAnchor || !position.containerNode() || !position.containerNode()->isTextNode()) Position 178 Source/core/editing/ApplyBlockElementCommand.cpp void ApplyBlockElementCommand::rangeForParagraphSplittingTextNodesIfNeeded(const VisiblePosition& endOfCurrentParagraph, Position& start, Position& end) Position 202 Source/core/editing/ApplyBlockElementCommand.cpp end = Position(startText, end.offsetInContainerNode() - startOffset); Position 206 Source/core/editing/ApplyBlockElementCommand.cpp m_endOfLastParagraph = Position(startText, m_endOfLastParagraph.offsetInContainerNode() - startOffset); Position 219 Source/core/editing/ApplyBlockElementCommand.cpp end = Position(end.containerText(), endOffset + 1); Position 234 Source/core/editing/ApplyBlockElementCommand.cpp m_endOfLastParagraph = Position(endContainer, m_endOfLastParagraph.offsetInContainerNode() - end.offsetInContainerNode()); Position 241 Source/core/editing/ApplyBlockElementCommand.cpp VisiblePosition ApplyBlockElementCommand::endOfNextParagrahSplittingTextNodesIfNeeded(VisiblePosition& endOfCurrentParagraph, Position& start, Position& end) Position 244 Source/core/editing/ApplyBlockElementCommand.cpp Position position = endOfNextParagraph.deepEquivalent(); Position 260 Source/core/editing/ApplyBlockElementCommand.cpp start = Position(toText(text->previousSibling()), start.offsetInContainerNode()); Position 264 Source/core/editing/ApplyBlockElementCommand.cpp end = Position(toText(text->previousSibling()), end.offsetInContainerNode()); Position 271 Source/core/editing/ApplyBlockElementCommand.cpp m_endOfLastParagraph = Position(toText(text->previousSibling()), m_endOfLastParagraph.offsetInContainerNode()); Position 273 Source/core/editing/ApplyBlockElementCommand.cpp m_endOfLastParagraph = Position(text.get(), m_endOfLastParagraph.offsetInContainerNode() - 1); Position 276 Source/core/editing/ApplyBlockElementCommand.cpp return VisiblePosition(Position(text.get(), position.offsetInContainerNode() - 1)); Position 50 Source/core/editing/ApplyBlockElementCommand.h virtual void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtr<Element>&) = 0; Position 51 Source/core/editing/ApplyBlockElementCommand.h void rangeForParagraphSplittingTextNodesIfNeeded(const VisiblePosition&, Position&, Position&); Position 52 Source/core/editing/ApplyBlockElementCommand.h VisiblePosition endOfNextParagrahSplittingTextNodesIfNeeded(VisiblePosition&, Position&, Position&); Position 56 Source/core/editing/ApplyBlockElementCommand.h Position m_endOfLastParagraph; Position 135 Source/core/editing/ApplyStyleCommand.cpp ApplyStyleCommand::ApplyStyleCommand(Document& document, const EditingStyle* style, const Position& start, const Position& end, EditAction editingAction, EPropertyLevel propertyLevel) Position 177 Source/core/editing/ApplyStyleCommand.cpp void ApplyStyleCommand::updateStartEnd(const Position& newStart, const Position& newEnd) Position 189 Source/core/editing/ApplyStyleCommand.cpp Position ApplyStyleCommand::startPosition() Position 197 Source/core/editing/ApplyStyleCommand.cpp Position ApplyStyleCommand::endPosition() Position 240 Source/core/editing/ApplyStyleCommand.cpp Position start = startPosition(); Position 241 Source/core/editing/ApplyStyleCommand.cpp Position end = endPosition(); Position 243 Source/core/editing/ApplyStyleCommand.cpp Position swap = start; Position 310 Source/core/editing/ApplyStyleCommand.cpp Position start = startPosition(); Position 311 Source/core/editing/ApplyStyleCommand.cpp Position end = endPosition(); Position 313 Source/core/editing/ApplyStyleCommand.cpp Position swap = start; Position 560 Source/core/editing/ApplyStyleCommand.cpp Position start = startPosition(); Position 561 Source/core/editing/ApplyStyleCommand.cpp Position end = endPosition(); Position 567 Source/core/editing/ApplyStyleCommand.cpp Position swap = start; Position 601 Source/core/editing/ApplyStyleCommand.cpp Position removeStart = start.upstream(); Position 614 Source/core/editing/ApplyStyleCommand.cpp Position embeddingRemoveStart = removeStart; Position 618 Source/core/editing/ApplyStyleCommand.cpp Position embeddingRemoveEnd = end; Position 660 Source/core/editing/ApplyStyleCommand.cpp Position embeddingApplyStart = embeddingStartNode ? positionInParentAfterNode(*embeddingStartNode) : start; Position 661 Source/core/editing/ApplyStyleCommand.cpp Position embeddingApplyEnd = embeddingEndNode ? positionInParentBeforeNode(*embeddingEndNode) : end; Position 682 Source/core/editing/ApplyStyleCommand.cpp void ApplyStyleCommand::fixRangeAndApplyInlineStyle(EditingStyle* style, const Position& start, const Position& end) Position 746 Source/core/editing/ApplyStyleCommand.cpp Position positionForStyleComputation; Position 1078 Source/core/editing/ApplyStyleCommand.cpp void ApplyStyleCommand::removeInlineStyle(EditingStyle* style, const Position &start, const Position &end) Position 1087 Source/core/editing/ApplyStyleCommand.cpp Position pushDownStart = start.downstream(); Position 1095 Source/core/editing/ApplyStyleCommand.cpp Position pushDownEnd = end.upstream(); Position 1110 Source/core/editing/ApplyStyleCommand.cpp Position s = start.isNull() || start.isOrphan() ? pushDownStart : start; Position 1111 Source/core/editing/ApplyStyleCommand.cpp Position e = end.isNull() || end.isOrphan() ? pushDownEnd : end; Position 1138 Source/core/editing/ApplyStyleCommand.cpp ASSERT(s.anchorType() == Position::PositionIsBeforeAnchor || s.offsetInContainerNode() <= 0); Position 1145 Source/core/editing/ApplyStyleCommand.cpp ASSERT(s.anchorType() == Position::PositionIsAfterAnchor || !offsetIsBeforeLastNodeOffset(s.offsetInContainerNode(), s.containerNode())); Position 1163 Source/core/editing/ApplyStyleCommand.cpp bool ApplyStyleCommand::nodeFullySelected(Node *node, const Position &start, const Position &end) const Position 1175 Source/core/editing/ApplyStyleCommand.cpp void ApplyStyleCommand::splitTextAtStart(const Position& start, const Position& end) Position 1179 Source/core/editing/ApplyStyleCommand.cpp Position newEnd; Position 1180 Source/core/editing/ApplyStyleCommand.cpp if (end.anchorType() == Position::PositionIsOffsetInAnchor && start.containerNode() == end.containerNode()) Position 1181 Source/core/editing/ApplyStyleCommand.cpp newEnd = Position(end.containerText(), end.offsetInContainerNode() - start.offsetInContainerNode()); Position 1190 Source/core/editing/ApplyStyleCommand.cpp void ApplyStyleCommand::splitTextAtEnd(const Position& start, const Position& end) Position 1194 Source/core/editing/ApplyStyleCommand.cpp bool shouldUpdateStart = start.anchorType() == Position::PositionIsOffsetInAnchor && start.containerNode() == end.containerNode(); Position 1202 Source/core/editing/ApplyStyleCommand.cpp Position newStart = shouldUpdateStart ? Position(toText(prevNode), start.offsetInContainerNode()) : start; Position 1206 Source/core/editing/ApplyStyleCommand.cpp void ApplyStyleCommand::splitTextElementAtStart(const Position& start, const Position& end) Position 1210 Source/core/editing/ApplyStyleCommand.cpp Position newEnd; Position 1212 Source/core/editing/ApplyStyleCommand.cpp newEnd = Position(end.containerText(), end.offsetInContainerNode() - start.offsetInContainerNode()); Position 1220 Source/core/editing/ApplyStyleCommand.cpp void ApplyStyleCommand::splitTextElementAtEnd(const Position& start, const Position& end) Position 1234 Source/core/editing/ApplyStyleCommand.cpp Position newStart = shouldUpdateStart ? Position(toText(firstTextNode), start.offsetInContainerNode()) : start; Position 1246 Source/core/editing/ApplyStyleCommand.cpp bool ApplyStyleCommand::isValidCaretPositionInTextNode(const Position& position) Position 1249 Source/core/editing/ApplyStyleCommand.cpp if (position.anchorType() != Position::PositionIsOffsetInAnchor || !node->isTextNode()) Position 1255 Source/core/editing/ApplyStyleCommand.cpp bool ApplyStyleCommand::mergeStartWithPreviousIfIdentical(const Position& start, const Position& end) Position 1285 Source/core/editing/ApplyStyleCommand.cpp updateStartEnd(Position(startNode, startOffsetAdjustment, Position::PositionIsOffsetInAnchor), Position 1286 Source/core/editing/ApplyStyleCommand.cpp Position(end.deprecatedNode(), end.deprecatedEditingOffset() + endOffsetAdjustment, Position::PositionIsOffsetInAnchor)); Position 1293 Source/core/editing/ApplyStyleCommand.cpp bool ApplyStyleCommand::mergeEndWithNextIfIdentical(const Position& start, const Position& end) Position 1321 Source/core/editing/ApplyStyleCommand.cpp updateStartEnd(shouldUpdateStart ? Position(nextElement, start.offsetInContainerNode(), Position::PositionIsOffsetInAnchor) : start, Position 1322 Source/core/editing/ApplyStyleCommand.cpp Position(nextElement, endOffset, Position::PositionIsOffsetInAnchor)); Position 1401 Source/core/editing/ApplyStyleCommand.cpp Position ApplyStyleCommand::positionToComputeInlineStyleChange(PassRefPtr<Node> startNode, RefPtr<Node>& dummyElement) Position 1516 Source/core/editing/ApplyStyleCommand.cpp void ApplyStyleCommand::joinChildTextNodes(Node* node, const Position& start, const Position& end) Position 1521 Source/core/editing/ApplyStyleCommand.cpp Position newStart = start; Position 1522 Source/core/editing/ApplyStyleCommand.cpp Position newEnd = end; Position 1539 Source/core/editing/ApplyStyleCommand.cpp if (start.anchorType() == Position::PositionIsOffsetInAnchor && next == start.containerNode()) Position 1540 Source/core/editing/ApplyStyleCommand.cpp newStart = Position(childText, childText->length() + start.offsetInContainerNode()); Position 1541 Source/core/editing/ApplyStyleCommand.cpp if (end.anchorType() == Position::PositionIsOffsetInAnchor && next == end.containerNode()) Position 1542 Source/core/editing/ApplyStyleCommand.cpp newEnd = Position(childText, childText->length() + end.offsetInContainerNode()); Position 55 Source/core/editing/ApplyStyleCommand.h static PassRefPtr<ApplyStyleCommand> create(Document& document, const EditingStyle* style, const Position& start, const Position& end, EditAction action = EditActionChangeAttributes, EPropertyLevel level = PropertyDefault) Position 70 Source/core/editing/ApplyStyleCommand.h ApplyStyleCommand(Document&, const EditingStyle*, const Position& start, const Position& end, EditAction, EPropertyLevel); Position 89 Source/core/editing/ApplyStyleCommand.h void removeInlineStyle(EditingStyle* , const Position& start, const Position& end); Position 90 Source/core/editing/ApplyStyleCommand.h bool nodeFullySelected(Node*, const Position& start, const Position& end) const; Position 96 Source/core/editing/ApplyStyleCommand.h void fixRangeAndApplyInlineStyle(EditingStyle*, const Position& start, const Position& end); Position 100 Source/core/editing/ApplyStyleCommand.h Position positionToComputeInlineStyleChange(PassRefPtr<Node>, RefPtr<Node>& dummyElement); Position 102 Source/core/editing/ApplyStyleCommand.h void splitTextAtStart(const Position& start, const Position& end); Position 103 Source/core/editing/ApplyStyleCommand.h void splitTextAtEnd(const Position& start, const Position& end); Position 104 Source/core/editing/ApplyStyleCommand.h void splitTextElementAtStart(const Position& start, const Position& end); Position 105 Source/core/editing/ApplyStyleCommand.h void splitTextElementAtEnd(const Position& start, const Position& end); Position 107 Source/core/editing/ApplyStyleCommand.h bool isValidCaretPositionInTextNode(const Position& position); Position 108 Source/core/editing/ApplyStyleCommand.h bool mergeStartWithPreviousIfIdentical(const Position& start, const Position& end); Position 109 Source/core/editing/ApplyStyleCommand.h bool mergeEndWithNextIfIdentical(const Position& start, const Position& end); Position 114 Source/core/editing/ApplyStyleCommand.h void joinChildTextNodes(Node*, const Position& start, const Position& end); Position 119 Source/core/editing/ApplyStyleCommand.h void updateStartEnd(const Position& newStart, const Position& newEnd); Position 120 Source/core/editing/ApplyStyleCommand.h Position startPosition(); Position 121 Source/core/editing/ApplyStyleCommand.h Position endPosition(); Position 126 Source/core/editing/ApplyStyleCommand.h Position m_start; Position 127 Source/core/editing/ApplyStyleCommand.h Position m_end; Position 67 Source/core/editing/BreakBlockquoteCommand.cpp Position pos = endingSelection().start().downstream(); Position 76 Source/core/editing/Caret.cpp static bool removingNodeRemovesPosition(Node& node, const Position& position) Position 258 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::applyStyle(const EditingStyle* style, const Position& start, const Position& end, EditAction editingAction) Position 316 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::insertNodeAt(PassRefPtr<Node> insertChild, const Position& editingPosition) Position 321 Source/core/editing/CompositeEditCommand.cpp Position p = editingPosition.parentAnchoredEquivalent(); Position 398 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::updatePositionForNodeRemovalPreservingChildren(Position& position, Node& node) Position 400 Source/core/editing/CompositeEditCommand.cpp int offset = (position.anchorType() == Position::PositionIsOffsetInAnchor) ? position.offsetInContainerNode() : 0; Position 477 Source/core/editing/CompositeEditCommand.cpp Position CompositeEditCommand::replaceSelectedTextInNode(const String& text) Position 479 Source/core/editing/CompositeEditCommand.cpp Position start = endingSelection().start(); Position 480 Source/core/editing/CompositeEditCommand.cpp Position end = endingSelection().end(); Position 482 Source/core/editing/CompositeEditCommand.cpp return Position(); Position 487 Source/core/editing/CompositeEditCommand.cpp return Position(textNode.release(), start.offsetInContainerNode() + text.length()); Position 510 Source/core/editing/CompositeEditCommand.cpp Position CompositeEditCommand::positionOutsideTabSpan(const Position& pos) Position 516 Source/core/editing/CompositeEditCommand.cpp case Position::PositionIsBeforeChildren: Position 517 Source/core/editing/CompositeEditCommand.cpp case Position::PositionIsAfterChildren: Position 520 Source/core/editing/CompositeEditCommand.cpp case Position::PositionIsOffsetInAnchor: Position 522 Source/core/editing/CompositeEditCommand.cpp case Position::PositionIsBeforeAnchor: Position 524 Source/core/editing/CompositeEditCommand.cpp case Position::PositionIsAfterAnchor: Position 541 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::insertNodeAtTabSpanPosition(PassRefPtr<Node> node, const Position& pos) Position 589 Source/core/editing/CompositeEditCommand.cpp bool CompositeEditCommand::canRebalance(const Position& position) const Position 592 Source/core/editing/CompositeEditCommand.cpp if (position.anchorType() != Position::PositionIsOffsetInAnchor || !node || !node->isTextNode()) Position 607 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::rebalanceWhitespaceAt(const Position& position) Position 645 Source/core/editing/CompositeEditCommand.cpp VisiblePosition visibleUpstreamPos(Position(textNode, upstream)); Position 646 Source/core/editing/CompositeEditCommand.cpp VisiblePosition visibleDownstreamPos(Position(textNode, downstream)); Position 659 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::prepareWhitespaceAtPositionForSplit(Position& position) Position 673 Source/core/editing/CompositeEditCommand.cpp Position upstreamPos = position.upstream(); Position 687 Source/core/editing/CompositeEditCommand.cpp Position pos = visiblePosition.deepEquivalent().downstream(); Position 784 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::deleteInsignificantText(const Position& start, const Position& end) Position 808 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::deleteInsignificantTextDownstream(const Position& pos) Position 810 Source/core/editing/CompositeEditCommand.cpp Position end = VisiblePosition(pos, VP_DEFAULT_AFFINITY).next().deepEquivalent().downstream(); Position 829 Source/core/editing/CompositeEditCommand.cpp PassRefPtr<Node> CompositeEditCommand::insertBlockPlaceholder(const Position& pos) Position 863 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::removePlaceholderAt(const Position& p) Position 876 Source/core/editing/CompositeEditCommand.cpp PassRefPtr<Node> CompositeEditCommand::insertNewDefaultParagraphElementAt(const Position& position) Position 886 Source/core/editing/CompositeEditCommand.cpp PassRefPtr<Node> CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary(const Position& pos) Position 901 Source/core/editing/CompositeEditCommand.cpp Position upstreamStart = visibleParagraphStart.deepEquivalent().upstream(); Position 902 Source/core/editing/CompositeEditCommand.cpp Position upstreamEnd = visibleEnd.deepEquivalent().upstream(); Position 916 Source/core/editing/CompositeEditCommand.cpp if (!Position::hasRenderedNonAnonymousDescendantsWithHeight(upstreamStart.deprecatedNode()->renderer())) Position 964 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::cloneParagraphUnderNewElement(const Position& start, const Position& end, Node* passedOuterNode, Element* blockElement) Position 1044 Source/core/editing/CompositeEditCommand.cpp Position position = caretAfterDelete.deepEquivalent().downstream(); Position 1096 Source/core/editing/CompositeEditCommand.cpp Position start = startOfParagraphToMove.deepEquivalent().downstream(); Position 1097 Source/core/editing/CompositeEditCommand.cpp Position end = startOfParagraphToMove == endOfParagraphToMove ? start : endOfParagraphToMove.deepEquivalent().upstream(); Position 1173 Source/core/editing/CompositeEditCommand.cpp Position start = startOfParagraphToMove.deepEquivalent().downstream(); Position 1174 Source/core/editing/CompositeEditCommand.cpp Position end = endOfParagraphToMove.deepEquivalent().upstream(); Position 1177 Source/core/editing/CompositeEditCommand.cpp Position startRangeCompliant = start.parentAnchoredEquivalent(); Position 1178 Source/core/editing/CompositeEditCommand.cpp Position endRangeCompliant = end.parentAnchoredEquivalent(); Position 1357 Source/core/editing/CompositeEditCommand.cpp Position caretPos(caret.deepEquivalent().downstream()); Position 1380 Source/core/editing/CompositeEditCommand.cpp Position CompositeEditCommand::positionAvoidingSpecialElementBoundary(const Position& original) Position 1387 Source/core/editing/CompositeEditCommand.cpp Position result = original; Position 1409 Source/core/editing/CompositeEditCommand.cpp Position downstream(visiblePos.deepEquivalent().downstream()); Position 95 Source/core/editing/CompositeEditCommand.h void applyStyle(const EditingStyle*, const Position& start, const Position& end, EditAction = EditActionChangeAttributes); Position 103 Source/core/editing/CompositeEditCommand.h void insertNodeAt(PassRefPtr<Node>, const Position&); Position 104 Source/core/editing/CompositeEditCommand.h void insertNodeAtTabSpanPosition(PassRefPtr<Node>, const Position&); Position 110 Source/core/editing/CompositeEditCommand.h void rebalanceWhitespaceAt(const Position&); Position 112 Source/core/editing/CompositeEditCommand.h void prepareWhitespaceAtPositionForSplit(Position&); Position 114 Source/core/editing/CompositeEditCommand.h bool canRebalance(const Position&) const; Position 124 Source/core/editing/CompositeEditCommand.h void updatePositionForNodeRemovalPreservingChildren(Position&, Node&); Position 127 Source/core/editing/CompositeEditCommand.h Position replaceSelectedTextInNode(const String&); Position 129 Source/core/editing/CompositeEditCommand.h Position positionOutsideTabSpan(const Position&); Position 137 Source/core/editing/CompositeEditCommand.h void deleteInsignificantText(const Position& start, const Position& end); Position 138 Source/core/editing/CompositeEditCommand.h void deleteInsignificantTextDownstream(const Position&); Position 141 Source/core/editing/CompositeEditCommand.h PassRefPtr<Node> insertBlockPlaceholder(const Position&); Position 143 Source/core/editing/CompositeEditCommand.h void removePlaceholderAt(const Position&); Position 145 Source/core/editing/CompositeEditCommand.h PassRefPtr<Node> insertNewDefaultParagraphElementAt(const Position&); Position 147 Source/core/editing/CompositeEditCommand.h PassRefPtr<Node> moveParagraphContentsToNewBlockIfNecessary(const Position&); Position 155 Source/core/editing/CompositeEditCommand.h void cloneParagraphUnderNewElement(const Position& start, const Position& end, Node* outerNode, Element* blockElement); Position 161 Source/core/editing/CompositeEditCommand.h Position positionAvoidingSpecialElementBoundary(const Position&); Position 99 Source/core/editing/DeleteSelectionCommand.cpp void DeleteSelectionCommand::initializeStartEnd(Position& start, Position& end) Position 122 Source/core/editing/DeleteSelectionCommand.cpp Position s = positionBeforeContainingSpecialElement(start, &startSpecialContainer); Position 123 Source/core/editing/DeleteSelectionCommand.cpp Position e = positionAfterContainingSpecialElement(end, &endSpecialContainer); Position 154 Source/core/editing/DeleteSelectionCommand.cpp void DeleteSelectionCommand::setStartingSelectionOnSmartDelete(const Position& start, const Position& end) Position 164 Source/core/editing/DeleteSelectionCommand.cpp Position start, end; Position 216 Source/core/editing/DeleteSelectionCommand.cpp Position pos = VisiblePosition(m_upstreamStart, m_selectionToDelete.affinity()).deepEquivalent(); Position 321 Source/core/editing/DeleteSelectionCommand.cpp static Position firstEditablePositionInNode(Node* node) Position 327 Source/core/editing/DeleteSelectionCommand.cpp return next ? firstPositionInOrBeforeNode(next) : Position(); Position 371 Source/core/editing/DeleteSelectionCommand.cpp Position firstEditablePosition = firstEditablePositionInNode(node.get()); Position 397 Source/core/editing/DeleteSelectionCommand.cpp static void updatePositionForTextRemoval(Node* node, int offset, int count, Position& position) Position 399 Source/core/editing/DeleteSelectionCommand.cpp if (position.anchorType() != Position::PositionIsOffsetInAnchor || position.containerNode() != node) Position 781 Source/core/editing/DeleteSelectionCommand.cpp Position downstreamEnd = m_selectionToDelete.end().downstream(); Position 55 Source/core/editing/DeleteSelectionCommand.h void initializeStartEnd(Position&, Position&); Position 56 Source/core/editing/DeleteSelectionCommand.h void setStartingSelectionOnSmartDelete(const Position&, const Position&); Position 82 Source/core/editing/DeleteSelectionCommand.h Position m_upstreamStart; Position 83 Source/core/editing/DeleteSelectionCommand.h Position m_downstreamStart; Position 84 Source/core/editing/DeleteSelectionCommand.h Position m_upstreamEnd; Position 85 Source/core/editing/DeleteSelectionCommand.h Position m_downstreamEnd; Position 86 Source/core/editing/DeleteSelectionCommand.h Position m_endingPosition; Position 87 Source/core/editing/DeleteSelectionCommand.h Position m_leadingWhitespace; Position 88 Source/core/editing/DeleteSelectionCommand.h Position m_trailingWhitespace; Position 347 Source/core/editing/EditingStyle.cpp EditingStyle::EditingStyle(const Position& position, PropertiesToInclude propertiesToInclude) Position 931 Source/core/editing/EditingStyle.cpp void EditingStyle::prepareToApplyAt(const Position& position, ShouldPreserveWritingDirection shouldPreserveWritingDirection) Position 1240 Source/core/editing/EditingStyle.cpp Position position = adjustedSelectionStartForStyleComputation(selection); Position 1276 Source/core/editing/EditingStyle.cpp Position position = selection.start().downstream(); Position 1282 Source/core/editing/EditingStyle.cpp Position end; Position 1372 Source/core/editing/EditingStyle.cpp StyleChange::StyleChange(EditingStyle* style, const Position& position) Position 57 Source/core/editing/EditingStyle.h class Position; Position 81 Source/core/editing/EditingStyle.h static PassRefPtr<EditingStyle> create(const Position& position, PropertiesToInclude propertiesToInclude = OnlyEditingInheritableProperties) Position 126 Source/core/editing/EditingStyle.h void prepareToApplyAt(const Position&, ShouldPreserveWritingDirection = DoNotPreserveWritingDirection); Position 146 Source/core/editing/EditingStyle.h EditingStyle(const Position&, PropertiesToInclude); Position 178 Source/core/editing/EditingStyle.h StyleChange(EditingStyle*, const Position&); Position 62 Source/core/editing/FormatBlockCommand.cpp void FormatBlockCommand::formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtr<Element>& blockNode) Position 91 Source/core/editing/FormatBlockCommand.cpp Position lastParagraphInBlockNode = blockNode->lastChild() ? positionAfterNode(blockNode->lastChild()) : Position(); Position 37 Source/core/editing/FormatBlockCommand.h class Position; Position 57 Source/core/editing/FormatBlockCommand.h virtual void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtr<Element>&) OVERRIDE; Position 142 Source/core/editing/FrameSelection.cpp void FrameSelection::moveTo(const Position &pos, EAffinity affinity, EUserTriggered userTriggered) Position 298 Source/core/editing/FrameSelection.cpp static bool removingNodeRemovesPosition(Node& node, const Position& position) Position 332 Source/core/editing/FrameSelection.cpp Position start = m_selection.start(); Position 333 Source/core/editing/FrameSelection.cpp Position end = m_selection.end(); Position 376 Source/core/editing/FrameSelection.cpp static Position updatePositionAfterAdoptingTextReplacement(const Position& position, CharacterData* node, unsigned offset, unsigned oldLength, unsigned newLength) Position 378 Source/core/editing/FrameSelection.cpp if (!position.anchorNode() || position.anchorNode() != node || position.anchorType() != Position::PositionIsOffsetInAnchor) Position 396 Source/core/editing/FrameSelection.cpp return Position(toText(node), positionOffset); Position 405 Source/core/editing/FrameSelection.cpp Position base = updatePositionAfterAdoptingTextReplacement(m_selection.base(), node, offset, oldLength, newLength); Position 406 Source/core/editing/FrameSelection.cpp Position extent = updatePositionAfterAdoptingTextReplacement(m_selection.extent(), node, offset, oldLength, newLength); Position 407 Source/core/editing/FrameSelection.cpp Position start = updatePositionAfterAdoptingTextReplacement(m_selection.start(), node, offset, oldLength, newLength); Position 408 Source/core/editing/FrameSelection.cpp Position end = updatePositionAfterAdoptingTextReplacement(m_selection.end(), node, offset, oldLength, newLength); Position 412 Source/core/editing/FrameSelection.cpp static Position updatePostionAfterAdoptingTextNodesMerged(const Position& position, const Text& oldNode, unsigned offset) Position 414 Source/core/editing/FrameSelection.cpp if (!position.anchorNode() || position.anchorType() != Position::PositionIsOffsetInAnchor) Position 421 Source/core/editing/FrameSelection.cpp return Position(toText(oldNode.previousSibling()), positionOffset + offset); Position 424 Source/core/editing/FrameSelection.cpp return Position(toText(oldNode.previousSibling()), offset); Position 433 Source/core/editing/FrameSelection.cpp Position base = updatePostionAfterAdoptingTextNodesMerged(m_selection.base(), oldNode, offset); Position 434 Source/core/editing/FrameSelection.cpp Position extent = updatePostionAfterAdoptingTextNodesMerged(m_selection.extent(), oldNode, offset); Position 435 Source/core/editing/FrameSelection.cpp Position start = updatePostionAfterAdoptingTextNodesMerged(m_selection.start(), oldNode, offset); Position 436 Source/core/editing/FrameSelection.cpp Position end = updatePostionAfterAdoptingTextNodesMerged(m_selection.end(), oldNode, offset); Position 440 Source/core/editing/FrameSelection.cpp static Position updatePostionAfterAdoptingTextNodeSplit(const Position& position, const Text& oldNode) Position 442 Source/core/editing/FrameSelection.cpp if (!position.anchorNode() || position.anchorNode() != &oldNode || position.anchorType() != Position::PositionIsOffsetInAnchor) Position 450 Source/core/editing/FrameSelection.cpp return Position(toText(oldNode.nextSibling()), positionOffset - oldLength); Position 457 Source/core/editing/FrameSelection.cpp Position base = updatePostionAfterAdoptingTextNodeSplit(m_selection.base(), oldNode); Position 458 Source/core/editing/FrameSelection.cpp Position extent = updatePostionAfterAdoptingTextNodeSplit(m_selection.extent(), oldNode); Position 459 Source/core/editing/FrameSelection.cpp Position start = updatePostionAfterAdoptingTextNodeSplit(m_selection.start(), oldNode); Position 460 Source/core/editing/FrameSelection.cpp Position end = updatePostionAfterAdoptingTextNodeSplit(m_selection.end(), oldNode); Position 464 Source/core/editing/FrameSelection.cpp void FrameSelection::updateSelectionIfNeeded(const Position& base, const Position& extent, const Position& start, const Position& end) Position 510 Source/core/editing/FrameSelection.cpp Position start = m_selection.start(); Position 511 Source/core/editing/FrameSelection.cpp Position end = m_selection.end(); Position 599 Source/core/editing/FrameSelection.cpp if (Node* rootUserSelectAll = Position::rootUserSelectAllForNode(pos.deepEquivalent().anchorNode())) Position 1130 Source/core/editing/FrameSelection.cpp Position pos; Position 1308 Source/core/editing/FrameSelection.cpp Position start(m_selection.visibleStart().deepEquivalent()); Position 1309 Source/core/editing/FrameSelection.cpp Position end(m_selection.visibleEnd().deepEquivalent()); Position 1310 Source/core/editing/FrameSelection.cpp Position p(visiblePos.deepEquivalent()); Position 1352 Source/core/editing/FrameSelection.cpp VisiblePosition beforeOwnerElement(VisiblePosition(Position(ownerElementParent, ownerElementNodeIndex, Position::PositionIsOffsetInAnchor))); Position 1353 Source/core/editing/FrameSelection.cpp VisiblePosition afterOwnerElement(VisiblePosition(Position(ownerElementParent, ownerElementNodeIndex + 1, Position::PositionIsOffsetInAnchor), VP_UPSTREAM_IF_POSSIBLE)); Position 1575 Source/core/editing/FrameSelection.cpp Position startPos = selection.start(); Position 1576 Source/core/editing/FrameSelection.cpp Position candidate = startPos.downstream(); Position 1579 Source/core/editing/FrameSelection.cpp Position endPos = selection.end(); Position 1785 Source/core/editing/FrameSelection.cpp Position start = this->start(); Position 93 Source/core/editing/FrameSelection.h void moveTo(const Position&, EAffinity, EUserTriggered = NotUserTriggered); Position 124 Source/core/editing/FrameSelection.h Position base() const { return m_selection.base(); } Position 125 Source/core/editing/FrameSelection.h Position extent() const { return m_selection.extent(); } Position 126 Source/core/editing/FrameSelection.h Position start() const { return m_selection.start(); } Position 127 Source/core/editing/FrameSelection.h Position end() const { return m_selection.end(); } Position 244 Source/core/editing/FrameSelection.h void updateSelectionIfNeeded(const Position& base, const Position& extent, const Position& start, const Position& end); Position 53 Source/core/editing/IndentOutdentCommand.cpp bool IndentOutdentCommand::tryIndentingAsListItem(const Position& start, const Position& end) Position 96 Source/core/editing/IndentOutdentCommand.cpp void IndentOutdentCommand::indentIntoBlockquote(const Position& start, const Position& end, RefPtr<Element>& targetBlockquote) Position 204 Source/core/editing/IndentOutdentCommand.cpp Position originalSelectionEnd = endingSelection().end(); Position 238 Source/core/editing/IndentOutdentCommand.cpp void IndentOutdentCommand::formatRange(const Position& start, const Position& end, const Position&, RefPtr<Element>& blockquoteForNextIndent) Position 51 Source/core/editing/IndentOutdentCommand.h bool tryIndentingAsListItem(const Position&, const Position&); Position 52 Source/core/editing/IndentOutdentCommand.h void indentIntoBlockquote(const Position&, const Position&, RefPtr<Element>&); Position 55 Source/core/editing/IndentOutdentCommand.h virtual void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtr<Element>& blockquoteForNextIndent) OVERRIDE; Position 162 Source/core/editing/InputMethodController.cpp Position start = m_frame.selection().start(); Position 163 Source/core/editing/InputMethodController.cpp Position end = m_frame.selection().end(); Position 290 Source/core/editing/InputMethodController.cpp Position base = m_frame.selection().base().downstream(); Position 291 Source/core/editing/InputMethodController.cpp Position extent = m_frame.selection().extent(); Position 321 Source/core/editing/InputMethodController.cpp Position base = m_frame.selection().base().downstream(); Position 327 Source/core/editing/InputMethodController.cpp if (base.anchorType() != Position::PositionIsOffsetInAnchor) Position 56 Source/core/editing/InsertLineBreakCommand.cpp bool InsertLineBreakCommand::shouldUseBreakElement(const Position& insertionPos) Position 61 Source/core/editing/InsertLineBreakCommand.cpp Position p(insertionPos.parentAnchoredEquivalent()); Position 78 Source/core/editing/InsertLineBreakCommand.cpp Position pos(caret.deepEquivalent()); Position 120 Source/core/editing/InsertLineBreakCommand.cpp Position endingPosition = firstPositionInNode(textNode); Position 125 Source/core/editing/InsertLineBreakCommand.cpp Position positionBeforeTextNode(positionInParentBeforeNode(*textNode)); Position 47 Source/core/editing/InsertLineBreakCommand.h bool shouldUseBreakElement(const Position&); Position 375 Source/core/editing/InsertListCommand.cpp Position insertionPos(start.deepEquivalent().upstream()); Position 73 Source/core/editing/InsertParagraphSeparatorCommand.cpp void InsertParagraphSeparatorCommand::calculateStyleBeforeInsertion(const Position &pos) Position 153 Source/core/editing/InsertParagraphSeparatorCommand.cpp Position insertionPosition = endingSelection().start(); Position 169 Source/core/editing/InsertParagraphSeparatorCommand.cpp Position canonicalPos = VisiblePosition(insertionPosition).deepEquivalent(); Position 345 Source/core/editing/InsertParagraphSeparatorCommand.cpp Position leadingWhitespace = insertionPosition.leadingWhitespacePosition(VP_DEFAULT_AFFINITY); Position 355 Source/core/editing/InsertParagraphSeparatorCommand.cpp Position positionAfterSplit; Position 356 Source/core/editing/InsertParagraphSeparatorCommand.cpp if (insertionPosition.anchorType() == Position::PositionIsOffsetInAnchor && insertionPosition.containerNode()->isTextNode()) { Position 47 Source/core/editing/InsertParagraphSeparatorCommand.h void calculateStyleBeforeInsertion(const Position&); Position 47 Source/core/editing/InsertTextCommand.cpp Position InsertTextCommand::positionInsideTextNode(const Position& p) Position 49 Source/core/editing/InsertTextCommand.cpp Position pos = p; Position 67 Source/core/editing/InsertTextCommand.cpp void InsertTextCommand::setEndingSelectionWithoutValidation(const Position& startPosition, const Position& endPosition) Position 88 Source/core/editing/InsertTextCommand.cpp Position start = endingSelection().start(); Position 89 Source/core/editing/InsertTextCommand.cpp Position endPosition = replaceSelectedTextInNode(text); Position 102 Source/core/editing/InsertTextCommand.cpp Position start = endingSelection().start(); Position 113 Source/core/editing/InsertTextCommand.cpp Position endPosition = Position(textNode.release(), start.offsetInContainerNode() + text.length()); Position 149 Source/core/editing/InsertTextCommand.cpp Position startPosition(endingSelection().start()); Position 151 Source/core/editing/InsertTextCommand.cpp Position placeholder; Position 156 Source/core/editing/InsertTextCommand.cpp Position downstream(startPosition.downstream()); Position 173 Source/core/editing/InsertTextCommand.cpp Position positionBeforeStartNode(positionInParentBeforeNode(*startPosition.containerNode())); Position 182 Source/core/editing/InsertTextCommand.cpp Position endPosition; Position 192 Source/core/editing/InsertTextCommand.cpp ASSERT(startPosition.anchorType() == Position::PositionIsOffsetInAnchor); Position 201 Source/core/editing/InsertTextCommand.cpp endPosition = Position(textNode, offset + m_text.length()); Position 229 Source/core/editing/InsertTextCommand.cpp Position InsertTextCommand::insertTab(const Position& pos) Position 231 Source/core/editing/InsertTextCommand.cpp Position insertPos = VisiblePosition(pos, DOWNSTREAM).deepEquivalent(); Position 240 Source/core/editing/InsertTextCommand.cpp return Position(textNode.release(), offset + 1); Position 51 Source/core/editing/InsertTextCommand.h Position positionInsideTextNode(const Position&); Position 52 Source/core/editing/InsertTextCommand.h Position insertTab(const Position&); Position 56 Source/core/editing/InsertTextCommand.h void setEndingSelectionWithoutValidation(const Position& startPosition, const Position& endPosition); Position 34 Source/core/editing/MoveSelectionCommand.cpp MoveSelectionCommand::MoveSelectionCommand(PassRefPtr<DocumentFragment> fragment, const Position& position, bool smartInsert, bool smartDelete) Position 44 Source/core/editing/MoveSelectionCommand.cpp Position pos = m_position; Position 49 Source/core/editing/MoveSelectionCommand.cpp Position selectionEnd = endingSelection().end(); Position 50 Source/core/editing/MoveSelectionCommand.cpp if (pos.anchorType() == Position::PositionIsOffsetInAnchor && selectionEnd.anchorType() == Position::PositionIsOffsetInAnchor Position 54 Source/core/editing/MoveSelectionCommand.cpp Position selectionStart = endingSelection().start(); Position 55 Source/core/editing/MoveSelectionCommand.cpp if (selectionStart.anchorType() == Position::PositionIsOffsetInAnchor && selectionStart.containerNode() == pos.containerNode()) Position 37 Source/core/editing/MoveSelectionCommand.h static PassRefPtr<MoveSelectionCommand> create(PassRefPtr<DocumentFragment> fragment, const Position& position, bool smartInsert = false, bool smartDelete = false) Position 43 Source/core/editing/MoveSelectionCommand.h MoveSelectionCommand(PassRefPtr<DocumentFragment>, const Position&, bool smartInsert, bool smartDelete); Position 49 Source/core/editing/MoveSelectionCommand.h Position m_position; Position 112 Source/core/editing/PlainTextRange.cpp Position runStart = textRunRange->startPosition(); Position 113 Source/core/editing/PlainTextRange.cpp Position runEnd = VisiblePosition(runStart).next().deepEquivalent(); Position 39 Source/core/editing/RenderedPosition.cpp static inline RenderObject* rendererFromPosition(const Position& position) Position 44 Source/core/editing/RenderedPosition.cpp case Position::PositionIsOffsetInAnchor: Position 50 Source/core/editing/RenderedPosition.cpp case Position::PositionIsBeforeAnchor: Position 51 Source/core/editing/RenderedPosition.cpp case Position::PositionIsAfterAnchor: Position 54 Source/core/editing/RenderedPosition.cpp case Position::PositionIsBeforeChildren: Position 57 Source/core/editing/RenderedPosition.cpp case Position::PositionIsAfterChildren: Position 82 Source/core/editing/RenderedPosition.cpp RenderedPosition::RenderedPosition(const Position& position, EAffinity affinity) Position 205 Source/core/editing/RenderedPosition.cpp Position RenderedPosition::positionAtLeftBoundaryOfBiDiRun() const Position 215 Source/core/editing/RenderedPosition.cpp Position RenderedPosition::positionAtRightBoundaryOfBiDiRun() const Position 234 Source/core/editing/RenderedPosition.cpp bool renderObjectContainsPosition(RenderObject* target, const Position& position) Position 40 Source/core/editing/RenderedPosition.h class Position; Position 48 Source/core/editing/RenderedPosition.h explicit RenderedPosition(const Position&, EAffinity); Position 67 Source/core/editing/RenderedPosition.h Position positionAtLeftBoundaryOfBiDiRun() const; Position 68 Source/core/editing/RenderedPosition.h Position positionAtRightBoundaryOfBiDiRun() const; Position 112 Source/core/editing/RenderedPosition.h bool renderObjectContainsPosition(RenderObject*, const Position&); Position 108 Source/core/editing/ReplaceSelectionCommand.cpp static Position positionAvoidingPrecedingNodes(Position pos) Position 119 Source/core/editing/ReplaceSelectionCommand.cpp for (Position nextPosition = pos; nextPosition.containerNode() != enclosingBlockNode; pos = nextPosition) { Position 374 Source/core/editing/ReplaceSelectionCommand.cpp Position existing = endOfExistingContent.deepEquivalent(); Position 375 Source/core/editing/ReplaceSelectionCommand.cpp Position inserted = endOfInsertedContent.deepEquivalent(); Position 716 Source/core/editing/ReplaceSelectionCommand.cpp static bool handleStyleSpansBeforeInsertion(ReplacementFragment& fragment, const Position& insertionPos) Position 876 Source/core/editing/ReplaceSelectionCommand.cpp inline Node* nodeToSplitToAvoidPastingIntoInlineNodesWithStyle(const Position& insertionPos) Position 915 Source/core/editing/ReplaceSelectionCommand.cpp Position insertionPos = selection.start(); Position 1185 Source/core/editing/ReplaceSelectionCommand.cpp Position lastPositionToSelect; Position 1273 Source/core/editing/ReplaceSelectionCommand.cpp Position endUpstream = endOfInsertedContent.deepEquivalent().upstream(); Position 1276 Source/core/editing/ReplaceSelectionCommand.cpp if (endUpstream.anchorType() == Position::PositionIsOffsetInAnchor) { Position 1297 Source/core/editing/ReplaceSelectionCommand.cpp Position startDownstream = startOfInsertedContent.deepEquivalent().downstream(); Position 1300 Source/core/editing/ReplaceSelectionCommand.cpp if (startDownstream.anchorType() == Position::PositionIsOffsetInAnchor) { Position 1322 Source/core/editing/ReplaceSelectionCommand.cpp void ReplaceSelectionCommand::completeHTMLReplacement(const Position &lastPositionToSelect) Position 1324 Source/core/editing/ReplaceSelectionCommand.cpp Position start = positionAtStartOfInsertedContent().deepEquivalent(); Position 1325 Source/core/editing/ReplaceSelectionCommand.cpp Position end = positionAtEndOfInsertedContent().deepEquivalent(); Position 1353 Source/core/editing/ReplaceSelectionCommand.cpp void ReplaceSelectionCommand::mergeTextNodesAroundPosition(Position& position, Position& positionOnlyToBeUpdated) Position 1355 Source/core/editing/ReplaceSelectionCommand.cpp bool positionIsOffsetInAnchor = position.anchorType() == Position::PositionIsOffsetInAnchor; Position 1356 Source/core/editing/ReplaceSelectionCommand.cpp bool positionOnlyToBeUpdatedIsOffsetInAnchor = positionOnlyToBeUpdated.anchorType() == Position::PositionIsOffsetInAnchor; Position 1417 Source/core/editing/ReplaceSelectionCommand.cpp Node* ReplaceSelectionCommand::insertAsListItems(PassRefPtr<HTMLElement> prpListElement, Node* insertionBlock, const Position& insertPos, InsertedNodes& insertedNodes) Position 1489 Source/core/editing/ReplaceSelectionCommand.cpp Position start = endingSelection().start(); Position 1490 Source/core/editing/ReplaceSelectionCommand.cpp Position end = replaceSelectedTextInNode(textNode->data()); Position 77 Source/core/editing/ReplaceSelectionCommand.h Node* insertAsListItems(PassRefPtr<HTMLElement> listElement, Node* insertionNode, const Position&, InsertedNodes&); Position 100 Source/core/editing/ReplaceSelectionCommand.h void completeHTMLReplacement(const Position& lastPositionToSelect); Position 101 Source/core/editing/ReplaceSelectionCommand.h void mergeTextNodesAroundPosition(Position&, Position& positionOnlyToBeUpdated); Position 105 Source/core/editing/ReplaceSelectionCommand.h Position m_startOfInsertedContent; Position 106 Source/core/editing/ReplaceSelectionCommand.h Position m_endOfInsertedContent; Position 173 Source/core/editing/SpellChecker.cpp Position position = spellingSearchRange->startPosition(); Position 185 Source/core/editing/SpellChecker.cpp Position rangeCompliantPosition = position.parentAnchoredEquivalent(); Position 547 Source/core/editing/SpellChecker.cpp Position caretPosition = m_frame.selection().end(); Position 53 Source/core/editing/SurroundingText.cpp Position position = visiblePosition.deepEquivalent().parentAnchoredEquivalent(); Position 88 Source/core/editing/SurroundingText.cpp Position start = iterator.range()->startPosition(); Position 94 Source/core/editing/SurroundingText.cpp Position end = iterator.range()->startPosition(); Position 164 Source/core/editing/TextCheckingHelper.cpp int TextCheckingParagraph::offsetTo(const Position& position, ExceptionState& exceptionState) const Position 33 Source/core/editing/TextCheckingHelper.h class Position; Position 47 Source/core/editing/TextCheckingHelper.h int offsetTo(const Position&, ExceptionState&) const; Position 273 Source/core/editing/TextIterator.cpp TextIterator::TextIterator(const Position& start, const Position& end, TextIteratorBehaviorFlags behavior) Position 303 Source/core/editing/TextIterator.cpp void TextIterator::initialize(const Position& start, const Position& end) Position 1023 Source/core/editing/TextIterator.cpp VisiblePosition startPos = VisiblePosition(Position(m_startContainer, m_startOffset, Position::PositionIsOffsetInAnchor), DOWNSTREAM); Position 1489 Source/core/editing/TextIterator.cpp CharacterIterator::CharacterIterator(const Position& start, const Position& end, TextIteratorBehaviorFlags behavior) Position 2144 Source/core/editing/TextIterator.cpp PassRefPtrWillBeRawPtr<Range> findPlainText(const Position& start, const Position& end, const String& target, FindOptions options) Position 2159 Source/core/editing/TextIterator.cpp const Position& collapseTo = options & Backwards ? start : end; Position 54 Source/core/editing/TextIterator.h PassRefPtrWillBeRawPtr<Range> findPlainText(const Position& start, const Position& end, const String&, FindOptions); Position 80 Source/core/editing/TextIterator.h TextIterator(const Position& start, const Position& end, TextIteratorBehaviorFlags = TextIteratorDefaultBehavior); Position 122 Source/core/editing/TextIterator.h void initialize(const Position& start, const Position& end); Position 300 Source/core/editing/TextIterator.h CharacterIterator(const Position& start, const Position& end, TextIteratorBehaviorFlags = TextIteratorDefaultBehavior); Position 536 Source/core/editing/TypingCommand.cpp Position downstreamEnd = endingSelection().end().downstream(); Position 561 Source/core/editing/TypingCommand.cpp Position extent = startingSelection().end(); Position 570 Source/core/editing/TypingCommand.cpp extent = Position(extent.containerNode(), extent.computeOffsetInContainerNode() + extraCharacters, Position::PositionIsOffsetInAnchor); Position 51 Source/core/editing/VisiblePosition.cpp VisiblePosition::VisiblePosition(const Position &pos, EAffinity affinity) Position 61 Source/core/editing/VisiblePosition.cpp void VisiblePosition::init(const Position& position, EAffinity affinity) Position 90 Source/core/editing/VisiblePosition.cpp Position pos = previousVisuallyDistinctCandidate(m_deepPosition); Position 122 Source/core/editing/VisiblePosition.cpp Position VisiblePosition::leftVisuallyDistinctCandidate() const Position 124 Source/core/editing/VisiblePosition.cpp Position p = m_deepPosition; Position 126 Source/core/editing/VisiblePosition.cpp return Position(); Position 128 Source/core/editing/VisiblePosition.cpp Position downstreamStart = p.downstream(); Position 165 Source/core/editing/VisiblePosition.cpp Position positionOnLeft = primaryDirection == LTR ? previousVisuallyDistinctCandidate(m_deepPosition) : nextVisuallyDistinctCandidate(m_deepPosition); Position 167 Source/core/editing/VisiblePosition.cpp return Position(); Position 173 Source/core/editing/VisiblePosition.cpp return Position(); Position 272 Source/core/editing/VisiblePosition.cpp Position pos = leftVisuallyDistinctCandidate(); Position 287 Source/core/editing/VisiblePosition.cpp Position VisiblePosition::rightVisuallyDistinctCandidate() const Position 289 Source/core/editing/VisiblePosition.cpp Position p = m_deepPosition; Position 291 Source/core/editing/VisiblePosition.cpp return Position(); Position 293 Source/core/editing/VisiblePosition.cpp Position downstreamStart = p.downstream(); Position 330 Source/core/editing/VisiblePosition.cpp Position positionOnRight = primaryDirection == LTR ? nextVisuallyDistinctCandidate(m_deepPosition) : previousVisuallyDistinctCandidate(m_deepPosition); Position 332 Source/core/editing/VisiblePosition.cpp return Position(); Position 338 Source/core/editing/VisiblePosition.cpp return Position(); Position 440 Source/core/editing/VisiblePosition.cpp Position pos = rightVisuallyDistinctCandidate(); Position 521 Source/core/editing/VisiblePosition.cpp return VisiblePosition(previousVisuallyDistinctCandidate(Position(highestRootOfPos, Position::PositionIsBeforeAnchor).parentAnchoredEquivalent())); Position 541 Source/core/editing/VisiblePosition.cpp return VisiblePosition(Position(highestRootOfPos, Position::PositionIsAfterAnchor).parentAnchoredEquivalent()); Position 547 Source/core/editing/VisiblePosition.cpp static Position canonicalizeCandidate(const Position& candidate) Position 550 Source/core/editing/VisiblePosition.cpp return Position(); Position 552 Source/core/editing/VisiblePosition.cpp Position upstream = candidate.upstream(); Position 558 Source/core/editing/VisiblePosition.cpp Position VisiblePosition::canonicalPosition(const Position& passedPosition) Position 563 Source/core/editing/VisiblePosition.cpp Position position = passedPosition; Position 571 Source/core/editing/VisiblePosition.cpp return Position(); Position 578 Source/core/editing/VisiblePosition.cpp Position candidate = position.upstream(); Position 587 Source/core/editing/VisiblePosition.cpp Position next = canonicalizeCandidate(nextCandidate(position)); Position 588 Source/core/editing/VisiblePosition.cpp Position prev = canonicalizeCandidate(previousCandidate(position)); Position 613 Source/core/editing/VisiblePosition.cpp return Position(); Position 629 Source/core/editing/VisiblePosition.cpp Position pos = m_deepPosition.downstream(); Position 633 Source/core/editing/VisiblePosition.cpp case Position::PositionIsAfterChildren: Position 634 Source/core/editing/VisiblePosition.cpp case Position::PositionIsAfterAnchor: Position 635 Source/core/editing/VisiblePosition.cpp case Position::PositionIsBeforeAnchor: Position 636 Source/core/editing/VisiblePosition.cpp case Position::PositionIsBeforeChildren: Position 638 Source/core/editing/VisiblePosition.cpp case Position::PositionIsOffsetInAnchor: Position 728 Source/core/editing/VisiblePosition.cpp Position s = start.deepEquivalent().parentAnchoredEquivalent(); Position 729 Source/core/editing/VisiblePosition.cpp Position e = end.deepEquivalent().parentAnchoredEquivalent(); Position 745 Source/core/editing/VisiblePosition.cpp Position p = visiblePosition.deepEquivalent().parentAnchoredEquivalent(); Position 755 Source/core/editing/VisiblePosition.cpp Position p = visiblePosition.deepEquivalent().parentAnchoredEquivalent(); Position 57 Source/core/editing/VisiblePosition.h explicit VisiblePosition(const Position&, EAffinity = VP_DEFAULT_AFFINITY); Position 66 Source/core/editing/VisiblePosition.h Position deepEquivalent() const { return m_deepPosition; } Position 109 Source/core/editing/VisiblePosition.h void init(const Position&, EAffinity); Position 110 Source/core/editing/VisiblePosition.h Position canonicalPosition(const Position&); Position 112 Source/core/editing/VisiblePosition.h Position leftVisuallyDistinctCandidate() const; Position 113 Source/core/editing/VisiblePosition.h Position rightVisuallyDistinctCandidate() const; Position 115 Source/core/editing/VisiblePosition.h Position m_deepPosition; Position 58 Source/core/editing/VisibleSelection.cpp VisibleSelection::VisibleSelection(const Position& pos, EAffinity affinity, bool isDirectional) Position 68 Source/core/editing/VisibleSelection.cpp VisibleSelection::VisibleSelection(const Position& base, const Position& extent, EAffinity affinity, bool isDirectional) Position 148 Source/core/editing/VisibleSelection.cpp void VisibleSelection::setBase(const Position& position) Position 150 Source/core/editing/VisibleSelection.cpp Position oldBase = m_base; Position 159 Source/core/editing/VisibleSelection.cpp Position oldBase = m_base; Position 166 Source/core/editing/VisibleSelection.cpp void VisibleSelection::setExtent(const Position& position) Position 168 Source/core/editing/VisibleSelection.cpp Position oldExtent = m_extent; Position 177 Source/core/editing/VisibleSelection.cpp Position oldExtent = m_extent; Position 188 Source/core/editing/VisibleSelection.cpp Position start = m_start.parentAnchoredEquivalent(); Position 189 Source/core/editing/VisibleSelection.cpp Position end = m_end.parentAnchoredEquivalent(); Position 208 Source/core/editing/VisibleSelection.cpp Position s, e; Position 233 Source/core/editing/VisibleSelection.cpp Position tmp = s; Position 255 Source/core/editing/VisibleSelection.cpp Position oldBase = m_base; Position 256 Source/core/editing/VisibleSelection.cpp Position oldExtent = m_extent; Position 257 Source/core/editing/VisibleSelection.cpp Position oldStart = m_start; Position 258 Source/core/editing/VisibleSelection.cpp Position oldEnd = m_end; Position 265 Source/core/editing/VisibleSelection.cpp static PassRefPtrWillBeRawPtr<Range> makeSearchRange(const Position& pos) Position 281 Source/core/editing/VisibleSelection.cpp Position start(pos.parentAnchoredEquivalent()); Position 510 Source/core/editing/VisibleSelection.cpp void VisibleSelection::setWithoutValidation(const Position& base, const Position& extent) Position 529 Source/core/editing/VisibleSelection.cpp static Position adjustPositionForEnd(const Position& currentPosition, Node* startContainerNode) Position 544 Source/core/editing/VisibleSelection.cpp return Position(); Position 547 Source/core/editing/VisibleSelection.cpp static Position adjustPositionForStart(const Position& currentPosition, Node* endContainerNode) Position 562 Source/core/editing/VisibleSelection.cpp return Position(); Position 631 Source/core/editing/VisibleSelection.cpp Position p = previousVisuallyDistinctCandidate(m_end); Position 648 Source/core/editing/VisibleSelection.cpp m_base = Position(); Position 649 Source/core/editing/VisibleSelection.cpp m_extent = Position(); Position 660 Source/core/editing/VisibleSelection.cpp Position p = nextVisuallyDistinctCandidate(m_start); Position 677 Source/core/editing/VisibleSelection.cpp m_base = Position(); Position 678 Source/core/editing/VisibleSelection.cpp m_extent = Position(); Position 36 Source/core/editing/VisibleSelection.h class Position; Position 45 Source/core/editing/VisibleSelection.h VisibleSelection(const Position&, EAffinity, bool isDirectional = false); Position 46 Source/core/editing/VisibleSelection.h VisibleSelection(const Position&, const Position&, EAffinity = SEL_DEFAULT_AFFINITY, bool isDirectional = false); Position 65 Source/core/editing/VisibleSelection.h void setBase(const Position&); Position 67 Source/core/editing/VisibleSelection.h void setExtent(const Position&); Position 70 Source/core/editing/VisibleSelection.h Position base() const { return m_base; } Position 71 Source/core/editing/VisibleSelection.h Position extent() const { return m_extent; } Position 72 Source/core/editing/VisibleSelection.h Position start() const { return m_start; } Position 73 Source/core/editing/VisibleSelection.h Position end() const { return m_end; } Position 113 Source/core/editing/VisibleSelection.h void setWithoutValidation(const Position&, const Position&); Position 152 Source/core/editing/VisibleSelection.h Position m_base; // Where the first click happened Position 153 Source/core/editing/VisibleSelection.h Position m_extent; // Where the end click happened Position 154 Source/core/editing/VisibleSelection.h Position m_start; // Leftmost position when expanded to respect granularity Position 155 Source/core/editing/VisibleSelection.h Position m_end; // Rightmost position when expanded to respect granularity Position 82 Source/core/editing/VisibleUnits.cpp static Position previousRootInlineBoxCandidatePosition(Node* node, const VisiblePosition& visiblePosition, EditableType editableType) Position 94 Source/core/editing/VisibleUnits.cpp Position pos = isHTMLBRElement(*previousNode) ? positionBeforeNode(previousNode) : Position 102 Source/core/editing/VisibleUnits.cpp return Position(); Position 105 Source/core/editing/VisibleUnits.cpp static Position nextRootInlineBoxCandidatePosition(Node* node, const VisiblePosition& visiblePosition, EditableType editableType) Position 116 Source/core/editing/VisibleUnits.cpp Position pos; Position 124 Source/core/editing/VisibleUnits.cpp return Position(); Position 225 Source/core/editing/VisibleUnits.cpp Position position = previousRootInlineBoxCandidatePosition(startNode, visiblePosition, ContentIsEditable); Position 266 Source/core/editing/VisibleUnits.cpp Position position = nextRootInlineBoxCandidatePosition(startNode, visiblePosition, ContentIsEditable); Position 452 Source/core/editing/VisibleUnits.cpp Position pos = c.deepEquivalent(); Position 458 Source/core/editing/VisibleUnits.cpp Position start = createLegacyEditingPosition(boundary, 0).parentAnchoredEquivalent(); Position 459 Source/core/editing/VisibleUnits.cpp Position end = pos.parentAnchoredEquivalent(); Position 533 Source/core/editing/VisibleUnits.cpp Position pos = c.deepEquivalent(); Position 540 Source/core/editing/VisibleUnits.cpp Position start(pos.parentAnchoredEquivalent()); Position 721 Source/core/editing/VisibleUnits.cpp Position p = c.deepEquivalent(); Position 750 Source/core/editing/VisibleUnits.cpp return VisiblePosition(startNode->isTextNode() ? Position(toText(startNode), toInlineTextBox(startBox)->start()) : positionBeforeNode(startNode)); Position 789 Source/core/editing/VisibleUnits.cpp Position p = c.deepEquivalent(); Position 817 Source/core/editing/VisibleUnits.cpp Position pos; Position 825 Source/core/editing/VisibleUnits.cpp pos = Position(toText(endNode), endOffset); Position 917 Source/core/editing/VisibleUnits.cpp Position p = visiblePosition.deepEquivalent(); Position 942 Source/core/editing/VisibleUnits.cpp Position position = previousRootInlineBoxCandidatePosition(node, visiblePosition, editableType); Position 972 Source/core/editing/VisibleUnits.cpp Position p = visiblePosition.deepEquivalent(); Position 1000 Source/core/editing/VisibleUnits.cpp Position position = nextRootInlineBoxCandidatePosition(node, visiblePosition, editableType); Position 1084 Source/core/editing/VisibleUnits.cpp Position p = c.deepEquivalent(); Position 1098 Source/core/editing/VisibleUnits.cpp Position::AnchorType type = p.anchorType(); Position 1103 Source/core/editing/VisibleUnits.cpp if (boundaryCrossingRule == CannotCrossEditingBoundary && !Position::nodeIsUserSelectAll(n) && n->rendererIsEditable() != startNodeIsEditable) Position 1127 Source/core/editing/VisibleUnits.cpp type = Position::PositionIsOffsetInAnchor; Position 1136 Source/core/editing/VisibleUnits.cpp return VisiblePosition(Position(toText(n), i + 1), DOWNSTREAM); Position 1144 Source/core/editing/VisibleUnits.cpp type = Position::PositionIsBeforeAnchor; Position 1151 Source/core/editing/VisibleUnits.cpp if (type == Position::PositionIsOffsetInAnchor) { Position 1152 Source/core/editing/VisibleUnits.cpp ASSERT(type == Position::PositionIsOffsetInAnchor || !offset); Position 1153 Source/core/editing/VisibleUnits.cpp return VisiblePosition(Position(node, offset, type), DOWNSTREAM); Position 1156 Source/core/editing/VisibleUnits.cpp return VisiblePosition(Position(node, type), DOWNSTREAM); Position 1164 Source/core/editing/VisibleUnits.cpp Position p = c.deepEquivalent(); Position 1176 Source/core/editing/VisibleUnits.cpp Position::AnchorType type = p.anchorType(); Position 1181 Source/core/editing/VisibleUnits.cpp if (boundaryCrossingRule == CannotCrossEditingBoundary && !Position::nodeIsUserSelectAll(n) && n->rendererIsEditable() != startNodeIsEditable) Position 1208 Source/core/editing/VisibleUnits.cpp type = Position::PositionIsOffsetInAnchor; Position 1214 Source/core/editing/VisibleUnits.cpp return VisiblePosition(Position(toText(n), i), DOWNSTREAM); Position 1222 Source/core/editing/VisibleUnits.cpp type = Position::PositionIsAfterAnchor; Position 1229 Source/core/editing/VisibleUnits.cpp if (type == Position::PositionIsOffsetInAnchor) Position 1230 Source/core/editing/VisibleUnits.cpp return VisiblePosition(Position(node, offset, type), DOWNSTREAM); Position 1232 Source/core/editing/VisibleUnits.cpp return VisiblePosition(Position(node, type), DOWNSTREAM); Position 1290 Source/core/editing/VisibleUnits.cpp Position position = visiblePosition.deepEquivalent(); Position 1299 Source/core/editing/VisibleUnits.cpp Position position = visiblePosition.deepEquivalent(); Position 74 Source/core/editing/htmlediting.cpp int comparePositions(const Position& a, const Position& b) Position 116 Source/core/editing/htmlediting.cpp Node* highestEditableRoot(const Position& position, EditableType editableType) Position 154 Source/core/editing/htmlediting.cpp bool isEditablePosition(const Position& p, EditableType editableType, EUpdateStyle updateStyle) Position 170 Source/core/editing/htmlediting.cpp bool isAtUnsplittableElement(const Position& pos) Position 177 Source/core/editing/htmlediting.cpp bool isRichlyEditablePosition(const Position& p, EditableType editableType) Position 189 Source/core/editing/htmlediting.cpp Element* editableRootForPosition(const Position& p, EditableType editableType) Position 204 Source/core/editing/htmlediting.cpp Element* unsplittableElementForPosition(const Position& p) Position 215 Source/core/editing/htmlediting.cpp Position nextCandidate(const Position& position) Position 223 Source/core/editing/htmlediting.cpp return Position(); Position 226 Source/core/editing/htmlediting.cpp Position nextVisuallyDistinctCandidate(const Position& position) Position 228 Source/core/editing/htmlediting.cpp Position p = position; Position 229 Source/core/editing/htmlediting.cpp Position downstreamStart = p.downstream(); Position 235 Source/core/editing/htmlediting.cpp return Position(); Position 238 Source/core/editing/htmlediting.cpp Position previousCandidate(const Position& position) Position 246 Source/core/editing/htmlediting.cpp return Position(); Position 249 Source/core/editing/htmlediting.cpp Position previousVisuallyDistinctCandidate(const Position& position) Position 251 Source/core/editing/htmlediting.cpp Position p = position; Position 252 Source/core/editing/htmlediting.cpp Position downstreamStart = p.downstream(); Position 258 Source/core/editing/htmlediting.cpp return Position(); Position 261 Source/core/editing/htmlediting.cpp VisiblePosition firstEditablePositionAfterPositionInRoot(const Position& position, Node* highestRoot) Position 267 Source/core/editing/htmlediting.cpp Position p = position; Position 286 Source/core/editing/htmlediting.cpp VisiblePosition lastEditablePositionBeforePositionInRoot(const Position& position, Node* highestRoot) Position 292 Source/core/editing/htmlediting.cpp Position p = position; Position 333 Source/core/editing/htmlediting.cpp TextDirection directionOfEnclosingBlock(const Position& position) Position 431 Source/core/editing/htmlediting.cpp static Node* firstInSpecialElement(const Position& pos) Position 446 Source/core/editing/htmlediting.cpp static Node* lastInSpecialElement(const Position& pos) Position 461 Source/core/editing/htmlediting.cpp Position positionBeforeContainingSpecialElement(const Position& pos, Node** containingSpecialElement) Position 466 Source/core/editing/htmlediting.cpp Position result = positionInParentBeforeNode(*n); Position 474 Source/core/editing/htmlediting.cpp Position positionAfterContainingSpecialElement(const Position& pos, Node **containingSpecialElement) Position 479 Source/core/editing/htmlediting.cpp Position result = positionInParentAfterNode(*n); Position 489 Source/core/editing/htmlediting.cpp Position upstream(visiblePosition.deepEquivalent().upstream()); Position 498 Source/core/editing/htmlediting.cpp Position downstream(visiblePosition.deepEquivalent().downstream()); Position 547 Source/core/editing/htmlediting.cpp Node* enclosingNodeWithTag(const Position& p, const QualifiedName& tagName) Position 565 Source/core/editing/htmlediting.cpp Node* enclosingNodeOfType(const Position& p, bool (*nodeIsOfType)(const Node*), EditingBoundaryCrossingRule rule) Position 587 Source/core/editing/htmlediting.cpp Node* highestEnclosingNodeOfType(const Position& p, bool (*nodeIsOfType)(const Node*), EditingBoundaryCrossingRule rule, Node* stayWithin) Position 631 Source/core/editing/htmlediting.cpp Node* enclosingTableCell(const Position& p) Position 636 Source/core/editing/htmlediting.cpp Element* enclosingAnchorElement(const Position& p) Position 879 Source/core/editing/htmlediting.cpp unsigned numEnclosingMailBlockquotes(const Position& p) Position 889 Source/core/editing/htmlediting.cpp void updatePositionForNodeRemoval(Position& position, Node& node) Position 894 Source/core/editing/htmlediting.cpp case Position::PositionIsBeforeChildren: Position 898 Source/core/editing/htmlediting.cpp case Position::PositionIsAfterChildren: Position 902 Source/core/editing/htmlediting.cpp case Position::PositionIsOffsetInAnchor: Position 908 Source/core/editing/htmlediting.cpp case Position::PositionIsAfterAnchor: Position 912 Source/core/editing/htmlediting.cpp case Position::PositionIsBeforeAnchor: Position 950 Source/core/editing/htmlediting.cpp bool lineBreakExistsAtPosition(const Position& position) Position 1008 Source/core/editing/htmlediting.cpp Position p(visiblePosition.deepEquivalent()); Position 1036 Source/core/editing/htmlediting.cpp bool isVisiblyAdjacent(const Position& first, const Position& second) Position 1096 Source/core/editing/htmlediting.cpp Position adjustedSelectionStartForStyleComputation(const VisibleSelection& selection) Position 1105 Source/core/editing/htmlediting.cpp return Position(); Position 42 Source/core/editing/htmlediting.h class Position; Position 56 Source/core/editing/htmlediting.h Node* highestEditableRoot(const Position&, EditableType = ContentIsEditable); Position 58 Source/core/editing/htmlediting.h Node* highestEnclosingNodeOfType(const Position&, bool (*nodeIsOfType)(const Node*), Position 64 Source/core/editing/htmlediting.h Node* enclosingTableCell(const Position&); Position 66 Source/core/editing/htmlediting.h Element* enclosingAnchorElement(const Position&); Position 67 Source/core/editing/htmlediting.h Node* enclosingNodeWithTag(const Position&, const QualifiedName&); Position 68 Source/core/editing/htmlediting.h Node* enclosingNodeOfType(const Position&, bool (*nodeIsOfType)(const Node*), EditingBoundaryCrossingRule = CannotCrossEditingBoundary); Position 116 Source/core/editing/htmlediting.h TextDirection directionOfEnclosingBlock(const Position&); Position 124 Source/core/editing/htmlediting.h Position nextCandidate(const Position&); Position 125 Source/core/editing/htmlediting.h Position previousCandidate(const Position&); Position 127 Source/core/editing/htmlediting.h Position nextVisuallyDistinctCandidate(const Position&); Position 128 Source/core/editing/htmlediting.h Position previousVisuallyDistinctCandidate(const Position&); Position 130 Source/core/editing/htmlediting.h Position positionBeforeContainingSpecialElement(const Position&, Node** containingSpecialElement = 0); Position 131 Source/core/editing/htmlediting.h Position positionAfterContainingSpecialElement(const Position&, Node** containingSpecialElement = 0); Position 133 Source/core/editing/htmlediting.h inline Position firstPositionInOrBeforeNode(Node* node) Position 136 Source/core/editing/htmlediting.h return Position(); Position 140 Source/core/editing/htmlediting.h inline Position lastPositionInOrAfterNode(Node* node) Position 143 Source/core/editing/htmlediting.h return Position(); Position 149 Source/core/editing/htmlediting.h int comparePositions(const Position&, const Position&); Position 159 Source/core/editing/htmlediting.h bool isEditablePosition(const Position&, EditableType = ContentIsEditable, EUpdateStyle = UpdateStyle); Position 160 Source/core/editing/htmlediting.h bool isRichlyEditablePosition(const Position&, EditableType = ContentIsEditable); Position 161 Source/core/editing/htmlediting.h bool lineBreakExistsAtPosition(const Position&); Position 162 Source/core/editing/htmlediting.h bool isVisiblyAdjacent(const Position& first, const Position& second); Position 163 Source/core/editing/htmlediting.h bool isAtUnsplittableElement(const Position&); Position 167 Source/core/editing/htmlediting.h unsigned numEnclosingMailBlockquotes(const Position&); Position 168 Source/core/editing/htmlediting.h void updatePositionForNodeRemoval(Position&, Node&); Position 176 Source/core/editing/htmlediting.h VisiblePosition firstEditablePositionAfterPositionInRoot(const Position&, Node*); Position 177 Source/core/editing/htmlediting.h VisiblePosition lastEditablePositionBeforePositionInRoot(const Position&, Node*); Position 225 Source/core/editing/htmlediting.h Element* editableRootForPosition(const Position&, EditableType = ContentIsEditable); Position 226 Source/core/editing/htmlediting.h Element* unsplittableElementForPosition(const Position&); Position 239 Source/core/editing/htmlediting.h Position adjustedSelectionStartForStyleComputation(const VisibleSelection&); Position 257 Source/core/editing/markup.cpp Position start = createLegacyEditingPosition(&node, startOffset); Position 258 Source/core/editing/markup.cpp Position end = createLegacyEditingPosition(&node, endOffset); Position 324 Source/core/html/HTMLTextFormControlElement.cpp Position indexPosition = pos.deepEquivalent().parentAnchoredEquivalent(); Position 608 Source/core/html/HTMLTextFormControlElement.cpp HTMLTextFormControlElement* enclosingTextFormControl(const Position& position) Position 610 Source/core/html/HTMLTextFormControlElement.cpp ASSERT(position.isNull() || position.anchorType() == Position::PositionIsOffsetInAnchor Position 33 Source/core/html/HTMLTextFormControlElement.h class Position; Position 145 Source/core/html/HTMLTextFormControlElement.h HTMLTextFormControlElement* enclosingTextFormControl(const Position&); Position 845 Source/core/html/track/vtt/VTTCue.cpp parsedSetting = Position; Position 970 Source/core/html/track/vtt/VTTCue.cpp case Position: { Position 58 Source/core/html/track/vtt/VTTScanner.h Run(Position start, Position end, bool is8Bit) Position 61 Source/core/html/track/vtt/VTTScanner.h Position start() const { return m_start; } Position 62 Source/core/html/track/vtt/VTTScanner.h Position end() const { return m_end; } Position 68 Source/core/html/track/vtt/VTTScanner.h Position m_start; Position 69 Source/core/html/track/vtt/VTTScanner.h Position m_end; Position 74 Source/core/html/track/vtt/VTTScanner.h bool isAt(Position checkPosition) const { return position() == checkPosition; } Position 133 Source/core/html/track/vtt/VTTScanner.h Position position() const { return m_data.characters8; } Position 134 Source/core/html/track/vtt/VTTScanner.h Position end() const { return m_end.characters8; } Position 135 Source/core/html/track/vtt/VTTScanner.h void seekTo(Position); Position 194 Source/core/html/track/vtt/VTTScanner.h return Run(position(), reinterpret_cast<Position>(current), m_is8Bit); Position 207 Source/core/html/track/vtt/VTTScanner.h return Run(position(), reinterpret_cast<Position>(current), m_is8Bit); Position 210 Source/core/html/track/vtt/VTTScanner.h inline void VTTScanner::seekTo(Position position) Position 80 Source/core/page/DOMSelection.cpp static Position anchorPosition(const VisibleSelection& selection) Position 82 Source/core/page/DOMSelection.cpp Position anchor = selection.isBaseFirst() ? selection.start() : selection.end(); Position 86 Source/core/page/DOMSelection.cpp static Position focusPosition(const VisibleSelection& selection) Position 88 Source/core/page/DOMSelection.cpp Position focus = selection.isBaseFirst() ? selection.end() : selection.start(); Position 92 Source/core/page/DOMSelection.cpp static Position basePosition(const VisibleSelection& selection) Position 97 Source/core/page/DOMSelection.cpp static Position extentPosition(const VisibleSelection& selection) Position 507 Source/core/page/DOMSelection.cpp Node* DOMSelection::shadowAdjustedNode(const Position& position) const Position 525 Source/core/page/DOMSelection.cpp int DOMSelection::shadowAdjustedOffset(const Position& position) const Position 46 Source/core/page/DOMSelection.h class Position; Position 106 Source/core/page/DOMSelection.h Node* shadowAdjustedNode(const Position&) const; Position 107 Source/core/page/DOMSelection.h int shadowAdjustedOffset(const Position&) const; Position 394 Source/core/page/EventHandler.cpp Node* rootUserSelectAll = Position::rootUserSelectAllForNode(targetNode); Position 407 Source/core/page/EventHandler.cpp if (Position::nodeIsUserSelectNone(targetNode)) Position 451 Source/core/page/EventHandler.cpp Position start = pos.deepEquivalent(); Position 452 Source/core/page/EventHandler.cpp Position end = pos.deepEquivalent(); Position 544 Source/core/page/EventHandler.cpp static int textDistance(const Position& start, const Position& end) Position 575 Source/core/page/EventHandler.cpp Position pos = visiblePos.deepEquivalent(); Position 593 Source/core/page/EventHandler.cpp Position start = newSelection.start(); Position 594 Source/core/page/EventHandler.cpp Position end = newSelection.end(); Position 791 Source/core/page/EventHandler.cpp Node* rootUserSelectAllForMousePressNode = Position::rootUserSelectAllForNode(m_mousePressNode.get()); Position 792 Source/core/page/EventHandler.cpp if (rootUserSelectAllForMousePressNode && rootUserSelectAllForMousePressNode == Position::rootUserSelectAllForNode(target)) { Position 800 Source/core/page/EventHandler.cpp Node* rootUserSelectAllForTarget = Position::rootUserSelectAllForNode(target); Position 2835 Source/core/page/EventHandler.cpp Position start = selection.selection().start(); Position 416 Source/core/page/FocusController.cpp Position position = firstPositionInOrBeforeNode(element); Position 32 Source/core/rendering/RenderBR.h class Position; Position 2929 Source/core/rendering/RenderBlock.cpp Position RenderBlock::positionForBox(InlineBox *box, bool start) const Position 2932 Source/core/rendering/RenderBlock.cpp return Position(); Position 447 Source/core/rendering/RenderBlock.h Position positionForBox(InlineBox*, bool start = true) const; Position 4029 Source/core/rendering/RenderBox.cpp return createPositionWithAffinity(nonPseudoNode() ? firstPositionInOrBeforeNode(nonPseudoNode()) : Position()); Position 33 Source/core/rendering/RenderInline.h class Position; Position 3208 Source/core/rendering/RenderObject.cpp Position position = createLegacyEditingPosition(node, offset); Position 3209 Source/core/rendering/RenderObject.cpp Position candidate = position.downstream(CanCrossEditingBoundary); Position 3256 Source/core/rendering/RenderObject.cpp PositionWithAffinity RenderObject::createPositionWithAffinity(const Position& position) Position 56 Source/core/rendering/RenderObject.h class Position; Position 713 Source/core/rendering/RenderObject.h PositionWithAffinity createPositionWithAffinity(const Position&); Position 1890 Source/web/WebViewImpl.cpp Position position(element, 0, Position::PositionIsOffsetInAnchor);