Home
last modified time | relevance | path

Searched refs:m_anchorNode (Results 1 – 5 of 5) sorted by relevance

/external/webkit/WebCore/dom/
DPositionIterator.cpp40 ASSERT(m_nodeAfterPositionInAnchor->parentNode() == m_anchorNode); in operator Position()
43 if (m_anchorNode->hasChildNodes()) in operator Position()
44 return lastDeepEditingPositionForNode(m_anchorNode); in operator Position()
45 return Position(m_anchorNode, m_offsetInAnchor); in operator Position()
50 if (!m_anchorNode) in increment()
54 m_anchorNode = m_nodeAfterPositionInAnchor; in increment()
55 m_nodeAfterPositionInAnchor = m_anchorNode->firstChild(); in increment()
60 if (!m_anchorNode->hasChildNodes() && m_offsetInAnchor < lastOffsetForEditing(m_anchorNode)) in increment()
61 m_offsetInAnchor = Position::uncheckedNextOffset(m_anchorNode, m_offsetInAnchor); in increment()
63 m_nodeAfterPositionInAnchor = m_anchorNode; in increment()
[all …]
DPositionIterator.h40 : m_anchorNode(0) in PositionIterator()
47 : m_anchorNode(pos.anchorNode()) in PositionIterator()
48 , m_nodeAfterPositionInAnchor(m_anchorNode->childNode(pos.deprecatedEditingOffset())) in PositionIterator()
57 Node* node() const { return m_anchorNode; } in node()
67 Node* m_anchorNode;
DPosition.cpp77 : m_anchorNode(anchorNode) in Position()
79 , m_anchorType(anchorTypeForLegacyEditingPosition(m_anchorNode.get(), m_offset)) in Position()
85 : m_anchorNode(anchorNode) in Position()
94 : m_anchorNode(anchorNode) in Position()
105 m_anchorNode = node; in moveToPosition()
108 m_anchorType = anchorTypeForLegacyEditingPosition(m_anchorNode.get(), m_offset); in moveToPosition()
115 m_anchorType = anchorTypeForLegacyEditingPosition(m_anchorNode.get(), m_offset); in moveToOffset()
120 if (!m_anchorNode) in containerNode()
125 return m_anchorNode.get(); in containerNode()
128 return m_anchorNode->parentNode(); in containerNode()
[all …]
DPosition.h81 …void clear() { m_anchorNode.clear(); m_offset = 0; m_anchorType = PositionIsOffsetInAnchor; m_isLe… in clear()
106 Node* anchorNode() const { return m_anchorNode.get(); } in anchorNode()
111 Node* node() const { return m_anchorNode.get(); } in node()
118 bool isNull() const { return !m_anchorNode; } in isNull()
119 bool isNotNull() const { return m_anchorNode; } in isNotNull()
179 RefPtr<Node> m_anchorNode; variable
/external/webkit/WebCore/
DChangeLog-2009-06-163476 Rename m_parent to m_anchorNode (since although it's always the parent
3480 a child of m_parent, now m_anchorNode if set.
3481 Rename m_offset to m_offsetInAnchor (since it's interpreted relative to m_anchorNode)
27620 Rename Position::container to m_anchorNode and make it private