Home
last modified time | relevance | path

Searched refs:visiblePosition (Results 1 – 9 of 9) sorted by relevance

/external/webkit/Source/WebCore/editing/
Dvisible_units.cpp500 VisiblePosition previousLinePosition(const VisiblePosition &visiblePosition, int x) in previousLinePosition() argument
502 Position p = visiblePosition.deepEquivalent(); in previousLinePosition()
518 visiblePosition.getInlineBoxAndOffset(box, ignoredCaretOffset); in previousLinePosition()
611 VisiblePosition nextLinePosition(const VisiblePosition &visiblePosition, int x) in nextLinePosition() argument
613 Position p = visiblePosition.deepEquivalent(); in nextLinePosition()
629 visiblePosition.getInlineBoxAndOffset(box, ignoredCaretOffset); in nextLinePosition()
887 VisiblePosition startOfNextParagraph(const VisiblePosition& visiblePosition) in startOfNextParagraph() argument
889 VisiblePosition paragraphEnd(endOfParagraph(visiblePosition, CanSkipOverEditingBoundary)); in startOfNextParagraph()
939 VisiblePosition startOfBlock(const VisiblePosition& visiblePosition, EditingBoundaryCrossingRule ru… in startOfBlock() argument
941 Position position = visiblePosition.deepEquivalent(); in startOfBlock()
[all …]
DVisiblePosition.cpp650 bool setStart(Range *r, const VisiblePosition &visiblePosition) in setStart() argument
654 Position p = visiblePosition.deepEquivalent().parentAnchoredEquivalent(); in setStart()
660 bool setEnd(Range *r, const VisiblePosition &visiblePosition) in setEnd() argument
664 Position p = visiblePosition.deepEquivalent().parentAnchoredEquivalent(); in setEnd()
670 Element* enclosingBlockFlowElement(const VisiblePosition &visiblePosition) in enclosingBlockFlowElement() argument
672 if (visiblePosition.isNull()) in enclosingBlockFlowElement()
675 return visiblePosition.deepEquivalent().deprecatedNode()->enclosingBlockFlowElement(); in enclosingBlockFlowElement()
678 bool isFirstVisiblePositionInNode(const VisiblePosition &visiblePosition, const Node *node) in isFirstVisiblePositionInNode() argument
680 if (visiblePosition.isNull()) in isFirstVisiblePositionInNode()
683 if (!visiblePosition.deepEquivalent().containerNode()->isDescendantOf(node)) in isFirstVisiblePositionInNode()
[all …]
Dhtmlediting.cpp509 Node* isFirstPositionAfterTable(const VisiblePosition& visiblePosition) in isFirstPositionAfterTable() argument
511 Position upstream(visiblePosition.deepEquivalent().upstream()); in isFirstPositionAfterTable()
518 Node* isLastPositionBeforeTable(const VisiblePosition& visiblePosition) in isLastPositionBeforeTable() argument
520 Position downstream(visiblePosition.deepEquivalent().downstream()); in isLastPositionBeforeTable()
988 bool lineBreakExistsAtVisiblePosition(const VisiblePosition& visiblePosition) in lineBreakExistsAtVisiblePosition() argument
990 return lineBreakExistsAtPosition(visiblePosition.deepEquivalent().downstream()); in lineBreakExistsAtVisiblePosition()
1041 int indexForVisiblePosition(const VisiblePosition& visiblePosition) in indexForVisiblePosition() argument
1043 if (visiblePosition.isNull()) in indexForVisiblePosition()
1045 Position p(visiblePosition.deepEquivalent()); in indexForVisiblePosition()
DVisibleSelection.cpp102 void VisibleSelection::setBase(const VisiblePosition& visiblePosition) in setBase() argument
104 m_base = visiblePosition.deepEquivalent(); in setBase()
114 void VisibleSelection::setExtent(const VisiblePosition& visiblePosition) in setExtent() argument
116 m_extent = visiblePosition.deepEquivalent(); in setExtent()
DSelectionController.cpp967 VisiblePosition visiblePosition(pos, m_selection.affinity()); in xPosForVerticalArrowNavigation() local
970 x = visiblePosition.isNotNull() ? visiblePosition.xOffsetForVerticalNavigation() : 0; in xPosForVerticalArrowNavigation()
/external/webkit/Source/WebCore/dom/
DRange.cpp1567 …VisiblePosition visiblePosition = Position(m_start.container(), m_start.offset(), Position::Positi… in editingStartPosition() local
1568 if (visiblePosition.isNull()) in editingStartPosition()
1575 return visiblePosition.deepEquivalent(); in editingStartPosition()
1578 if (isEndOfParagraph(visiblePosition)) in editingStartPosition()
1579 return visiblePosition.next().deepEquivalent().downstream(); in editingStartPosition()
1583 return visiblePosition.deepEquivalent().downstream(); in editingStartPosition()
DDocument.cpp1216 VisiblePosition visiblePosition = renderer->positionForPoint(localPoint); in caretRangeFromPoint() local
1217 if (visiblePosition.isNull()) in caretRangeFromPoint()
1220 Position rangeCompliantPosition = visiblePosition.deepEquivalent().parentAnchoredEquivalent(); in caretRangeFromPoint()
/external/webkit/Source/WebCore/accessibility/
DAccessibilityObject.cpp214 static VisiblePosition updateAXLineStartForVisiblePosition(const VisiblePosition& visiblePosition) in updateAXLineStartForVisiblePosition() argument
219 VisiblePosition startPosition = visiblePosition; in updateAXLineStartForVisiblePosition()
/external/webkit/Source/WebKit/mac/WebView/
DWebFrame.mm629 VisiblePosition visiblePosition(pos, static_cast<EAffinity>(affinity));
630 return visiblePosition.absoluteCaretBounds();