Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/dom/
DPositionIterator.cpp40 ASSERT(m_nodeAfterPositionInAnchor->parentNode() == m_anchorNode); in operator Position()
43 return positionBeforeNode(m_anchorNode); in operator Position()
46 if (m_anchorNode->hasChildNodes()) in operator Position()
47 return lastPositionInOrAfterNode(m_anchorNode); in operator Position()
48 return Position(m_anchorNode, m_offsetInAnchor); in operator Position()
53 if (!m_anchorNode) in increment()
57 m_anchorNode = m_nodeAfterPositionInAnchor; in increment()
58 m_nodeAfterPositionInAnchor = m_anchorNode->firstChild(); in increment()
63 if (!m_anchorNode->hasChildNodes() && m_offsetInAnchor < lastOffsetForEditing(m_anchorNode)) in increment()
64 m_offsetInAnchor = Position::uncheckedNextOffset(m_anchorNode, m_offsetInAnchor); in increment()
[all …]
DPosition.cpp75 : m_anchorNode(anchorNode) in Position()
77 , m_anchorType(anchorTypeForLegacyEditingPosition(m_anchorNode.get(), m_offset)) in Position()
83 : m_anchorNode(anchorNode) in Position()
92 : m_anchorNode(anchorNode) in Position()
97 ASSERT(!m_anchorNode || !editingIgnoresContent(m_anchorNode.get())); 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()
[all …]
DPosition.h77 …void clear() { m_anchorNode.clear(); m_offset = 0; m_anchorType = PositionIsOffsetInAnchor; m_isLe… in clear()
104 Node* anchorNode() const { return m_anchorNode.get(); } in anchorNode()
109 Node* deprecatedNode() const { return m_anchorNode.get(); } in deprecatedNode()
111 Document* document() const { return m_anchorNode ? m_anchorNode->document() : 0; } in document()
118 bool isNull() const { return !m_anchorNode; } in isNull()
119 bool isNotNull() const { return m_anchorNode; } in isNotNull()
120 bool isOrphan() const { return m_anchorNode && !m_anchorNode->inDocument(); } in isOrphan()
187 RefPtr<Node> m_anchorNode; variable
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()
68 Node* m_anchorNode;
/external/webkit/Source/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