Searched refs:visiblePosition (Results 1 – 7 of 7) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | SurroundingText.cpp | 42 SurroundingText::SurroundingText(const VisiblePosition& visiblePosition, unsigned maxLength) in SurroundingText() argument 45 if (visiblePosition.isNull()) in SurroundingText() 49 …CharacterIterator forwardIterator(makeRange(visiblePosition, endOfDocument(visiblePosition)).get()… in SurroundingText() 53 Position position = visiblePosition.deepEquivalent().parentAnchoredEquivalent(); in SurroundingText() 62 …aracterIterator backwardsIterator(makeRange(startOfDocument(visiblePosition), visiblePosition).get… in SurroundingText()
|
D | VisibleUnits.cpp | 80 …ousRootInlineBoxCandidatePosition(Node* node, const VisiblePosition& visiblePosition, EditableType… in previousRootInlineBoxCandidatePosition() argument 82 Node* highestRoot = highestEditableRoot(visiblePosition.deepEquivalent(), editableType); in previousRootInlineBoxCandidatePosition() 85 …reviousNode->renderer() || inSameLine(firstPositionInOrBeforeNode(previousNode), visiblePosition))) in previousRootInlineBoxCandidatePosition() 103 …extRootInlineBoxCandidatePosition(Node* node, const VisiblePosition& visiblePosition, EditableType… in nextRootInlineBoxCandidatePosition() argument 105 Node* highestRoot = highestEditableRoot(visiblePosition.deepEquivalent(), editableType); in nextRootInlineBoxCandidatePosition() 107 …e && (!nextNode->renderer() || inSameLine(firstPositionInOrBeforeNode(nextNode), visiblePosition))) in nextRootInlineBoxCandidatePosition() 205 static const InlineTextBox* logicallyPreviousBox(const VisiblePosition& visiblePosition, const Inli… in logicallyPreviousBox() argument 223 …Position position = previousRootInlineBoxCandidatePosition(startNode, visiblePosition, ContentIsEd… in logicallyPreviousBox() 246 static const InlineTextBox* logicallyNextBox(const VisiblePosition& visiblePosition, const InlineTe… in logicallyNextBox() argument 264 …Position position = nextRootInlineBoxCandidatePosition(startNode, visiblePosition, ContentIsEditab… in logicallyNextBox() [all …]
|
D | VisiblePosition.cpp | 747 bool setStart(Range *r, const VisiblePosition &visiblePosition) in setStart() argument 751 Position p = visiblePosition.deepEquivalent().parentAnchoredEquivalent(); in setStart() 757 bool setEnd(Range *r, const VisiblePosition &visiblePosition) in setEnd() argument 761 Position p = visiblePosition.deepEquivalent().parentAnchoredEquivalent(); in setEnd() 767 Element* enclosingBlockFlowElement(const VisiblePosition &visiblePosition) in enclosingBlockFlowElement() argument 769 if (visiblePosition.isNull()) in enclosingBlockFlowElement() 772 return visiblePosition.deepEquivalent().deprecatedNode()->enclosingBlockFlowElement(); in enclosingBlockFlowElement() 775 bool isFirstVisiblePositionInNode(const VisiblePosition &visiblePosition, const Node *node) in isFirstVisiblePositionInNode() argument 777 if (visiblePosition.isNull()) in isFirstVisiblePositionInNode() 780 if (!visiblePosition.deepEquivalent().containerNode()->isDescendantOf(node)) in isFirstVisiblePositionInNode() [all …]
|
D | htmlediting.cpp | 485 Node* isFirstPositionAfterTable(const VisiblePosition& visiblePosition) in isFirstPositionAfterTable() argument 487 Position upstream(visiblePosition.deepEquivalent().upstream()); in isFirstPositionAfterTable() 494 Node* isLastPositionBeforeTable(const VisiblePosition& visiblePosition) in isLastPositionBeforeTable() argument 496 Position downstream(visiblePosition.deepEquivalent().downstream()); in isLastPositionBeforeTable() 991 bool lineBreakExistsAtVisiblePosition(const VisiblePosition& visiblePosition) in lineBreakExistsAtVisiblePosition() argument 993 return lineBreakExistsAtPosition(visiblePosition.deepEquivalent().downstream()); in lineBreakExistsAtVisiblePosition() 1049 int indexForVisiblePosition(const VisiblePosition& visiblePosition, RefPtr<ContainerNode>& scope) in indexForVisiblePosition() argument 1051 if (visiblePosition.isNull()) in indexForVisiblePosition() 1054 Position p(visiblePosition.deepEquivalent()); in indexForVisiblePosition() 1151 VisiblePosition visiblePosition = selection.start(); in adjustedSelectionStartForStyleComputation() local [all …]
|
D | VisibleSelection.cpp | 114 void VisibleSelection::setBase(const VisiblePosition& visiblePosition) in setBase() argument 116 m_base = visiblePosition.deepEquivalent(); in setBase() 126 void VisibleSelection::setExtent(const VisiblePosition& visiblePosition) in setExtent() argument 128 m_extent = visiblePosition.deepEquivalent(); in setExtent()
|
D | CompositeEditCommand.cpp | 722 …d::replaceCollapsibleWhitespaceWithNonBreakingSpaceIfNeeded(const VisiblePosition& visiblePosition) in replaceCollapsibleWhitespaceWithNonBreakingSpaceIfNeeded() argument 724 if (!isCollapsibleWhitespace(visiblePosition.characterAfter())) in replaceCollapsibleWhitespaceWithNonBreakingSpaceIfNeeded() 726 Position pos = visiblePosition.deepEquivalent().downstream(); in replaceCollapsibleWhitespaceWithNonBreakingSpaceIfNeeded()
|
D | FrameSelection.cpp | 1152 VisiblePosition visiblePosition(pos, m_selection.affinity()); in lineDirectionPointForBlockDirectionNavigation() local 1155 …x = visiblePosition.isNotNull() ? visiblePosition.lineDirectionPointForBlockDirectionNavigation() … in lineDirectionPointForBlockDirectionNavigation()
|