Home
last modified time | relevance | path

Searched refs:firstPositionInOrBeforeNode (Results 1 – 25 of 27) sorted by relevance

12

/external/webkit/Source/WebCore/accessibility/gtk/
DWebKitAccessibleHyperlink.cpp245 …> range = Range::create(node->document(), firstPositionInOrBeforeNode(parentNode), firstPositionIn… in webkitAccessibleHyperlinkGetStartIndex()
269 …RefPtr<Range> range = Range::create(node->document(), firstPositionInOrBeforeNode(parentNode), las… in webkitAccessibleHyperlinkGetEndIndex()
DAccessibilityObjectWrapperAtk.cpp1624 nodeRangeStart = firstPositionInOrBeforeNode(firstLeafNode); in getSelectionOffsetsForObject()
1639 Position parentFirstPosition = firstPositionInOrBeforeNode(node); in getSelectionOffsetsForObject()
/external/webkit/Source/WebCore/editing/
Dhtmlediting.cpp308 p = firstPositionInOrBeforeNode(shadowAncestor); in lastEditablePositionBeforePositionInRoot()
333 …return static_cast<Element*>(enclosingNodeOfType(firstPositionInOrBeforeNode(node), isBlock, rule)… in enclosingBlock()
439 … VisiblePosition firstInElement = VisiblePosition(firstPositionInOrBeforeNode(n), DOWNSTREAM); in firstInSpecialElement()
532 return VisiblePosition(firstPositionInOrBeforeNode(node), DOWNSTREAM); in visiblePositionBeforeNode()
675 Node* root = highestEditableRoot(firstPositionInOrBeforeNode(node)); in enclosingList()
693 Node* root = highestEditableRoot(firstPositionInOrBeforeNode(node)); in enclosingListChild()
738 VisiblePosition firstInListChild(firstPositionInOrBeforeNode(listChildNode)); in enclosingEmptyListItem()
DApplyBlockElementCommand.cpp196 start = firstPositionInOrBeforeNode(start.deprecatedNode()); in rangeForParagraphSplittingTextNodesIfNeeded()
227 start = firstPositionInOrBeforeNode(end.deprecatedNode()->previousSibling()); in rangeForParagraphSplittingTextNodesIfNeeded()
DSpellChecker.cpp162 PositionIterator start = firstPositionInOrBeforeNode(m_requestNode.get()); in didCheck()
DInsertLineBreakCommand.cpp174 …applyStyle(typingStyle.get(), firstPositionInOrBeforeNode(nodeToInsert.get()), lastPositionInOrAft… in doApply()
DBreakBlockquoteCommand.cpp124 … setEndingSelection(VisibleSelection(VisiblePosition(firstPositionInOrBeforeNode(startNode)))); in doApply()
Dhtmlediting.h119 inline Position firstPositionInOrBeforeNode(Node* node) in firstPositionInOrBeforeNode() function
DApplyStyleCommand.cpp665 if (!startNode || comparePositions(end, firstPositionInOrBeforeNode(startNode)) < 0) in fixRangeAndApplyInlineStyle()
924 Node* unsplittableElement = unsplittableElementForPosition(firstPositionInOrBeforeNode(node)); in highestAncestorWithConflictingInlineStyle()
1074 s = firstPositionInOrBeforeNode(next.get()); in removeInlineStyle()
1104 return comparePositions(firstPositionInOrBeforeNode(node), start) >= 0 in nodeFullySelected()
1114 bool isFullyAfterEnd = comparePositions(firstPositionInOrBeforeNode(node), end) > 0; in nodeFullyUnselected()
1375 positionForStyleComparison = firstPositionInOrBeforeNode(startNode.get()); in addInlineStyleIfNeeded()
DReplaceSelectionCommand.cpp500 && !enclosingNodeWithTag(firstPositionInOrBeforeNode(m_lastLeafInserted.get()), selectTag) in removeUnrenderedTextNodesAtEnds()
501 … && !enclosingNodeWithTag(firstPositionInOrBeforeNode(m_lastLeafInserted.get()), scriptTag)) { in removeUnrenderedTextNodesAtEnds()
540 Node* enclosingSelect = enclosingNodeWithTag(firstPositionInOrBeforeNode(lastNode), selectTag); in positionAtEndOfInsertedContent()
560 …if (isMailPasteAsQuotationNode(topNode) || enclosingNodeOfType(firstPositionInOrBeforeNode(topNode… in handleStyleSpansBeforeInsertion()
DDeleteSelectionCommand.cpp344 return next ? firstPositionInOrBeforeNode(next) : Position(); in firstEditablePositionInNode()
493 if (comparePositions(firstPositionInOrBeforeNode(node.get()), m_downstreamEnd) >= 0) { in handleGeneralDelete()
Dmarkup.cpp341 if (!n->renderer() && !enclosingNodeWithTag(firstPositionInOrBeforeNode(n), selectTag)) { in serializeNodes()
491 …if (Node* highestMailBlockquote = highestEnclosingNodeOfType(firstPositionInOrBeforeNode(range->fi… in highestAncestorToWrapMarkup()
Dvisible_units.cpp538 if (highestEditableRoot(firstPositionInOrBeforeNode(n)) != highestRoot) in previousLinePosition()
649 if (highestEditableRoot(firstPositionInOrBeforeNode(n)) != highestRoot) in nextLinePosition()
DCompositeEditCommand.cpp1236 VisiblePosition positionInNode = firstPositionInOrBeforeNode(node.get()); in splitTreeToNode()
DSelectionController.cpp1855 setSelection(VisibleSelection(firstPositionInOrBeforeNode(node), DOWNSTREAM)); in setSelectionFromNone()
/external/webkit/Source/WebCore/dom/
DPosition.cpp169 return firstPositionInOrBeforeNode(m_anchorNode.get()); in parentAnchoredEquivalent()
292 return firstPositionInOrBeforeNode(child); in next()
DElement.cpp1611 … VisibleSelection newSelection = VisibleSelection(firstPositionInOrBeforeNode(this), DOWNSTREAM); in updateFocusAppearance()
/external/webkit/Source/WebCore/page/
DFocusController.cpp299 Position position = firstPositionInOrBeforeNode(node); in advanceFocusInDocumentOrder()
DFrame.cpp799 visiblePos = firstPositionInOrBeforeNode(node); in visiblePositionForPoint()
DEventHandler.cpp403 visiblePos = VisiblePosition(firstPositionInOrBeforeNode(innerNode), DOWNSTREAM); in handleMousePressEventSingleClick()
/external/webkit/Source/WebCore/accessibility/
DAccessibilityObject.cpp341 return firstPositionInOrBeforeNode(startRenderer->node()); in startOfStyleRange()
DAccessibilityRenderObject.cpp2420 VisiblePosition startPos = firstPositionInOrBeforeNode(node); in visiblePositionRange()
2480 return VisiblePosition(firstPositionInOrBeforeNode(node), DOWNSTREAM); in visiblePositionForIndex()
/external/webkit/Source/WebCore/rendering/
DRenderBox.cpp3170 return createVisiblePosition(node() ? firstPositionInOrBeforeNode(node()) : Position(0, 0)); in positionForPoint()
3181 return createVisiblePosition(firstPositionInOrBeforeNode(node())); in positionForPoint()
3253 return createVisiblePosition(firstPositionInOrBeforeNode(node())); in positionForPoint()
DRenderObject.cpp2578 return VisiblePosition(firstPositionInOrBeforeNode(node), DOWNSTREAM); in createVisiblePosition()
2592 return VisiblePosition(firstPositionInOrBeforeNode(node), DOWNSTREAM); in createVisiblePosition()
/external/webkit/Source/WebCore/platform/mac/
DPasteboardMac.mm145 …if (enclosingAnchor && comparePositions(firstPositionInOrBeforeNode(selectedRange->startPosition()…

12