OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:m_anchorNode
(Results
1 - 4
of
4
) sorted by null
/external/webkit/WebCore/dom/
PositionIterator.cpp
40
ASSERT(m_nodeAfterPositionInAnchor->parentNode() ==
m_anchorNode
);
43
if (
m_anchorNode
->hasChildNodes())
44
return lastDeepEditingPositionForNode(
m_anchorNode
);
45
return Position(
m_anchorNode
, m_offsetInAnchor);
50
if (!
m_anchorNode
)
54
m_anchorNode
= m_nodeAfterPositionInAnchor;
55
m_nodeAfterPositionInAnchor =
m_anchorNode
->firstChild();
60
if (!
m_anchorNode
->hasChildNodes() && m_offsetInAnchor < lastOffsetForEditing(
m_anchorNode
))
61
m_offsetInAnchor = Position::uncheckedNextOffset(
m_anchorNode
, m_offsetInAnchor)
[
all
...]
PositionIterator.h
40
:
m_anchorNode
(0)
47
:
m_anchorNode
(pos.anchorNode())
48
, m_nodeAfterPositionInAnchor(
m_anchorNode
->childNode(pos.deprecatedEditingOffset()))
57
Node* node() const { return
m_anchorNode
; }
67
Node*
m_anchorNode
;
68
Node* m_nodeAfterPositionInAnchor; // If this is non-null, m_nodeAfterPositionInAnchor->parentNode() ==
m_anchorNode
;
Position.h
81
void clear() {
m_anchorNode
.clear(); m_offset = 0; m_anchorType = PositionIsOffsetInAnchor; m_isLegacyEditingPosition = false; }
106
Node* anchorNode() const { return
m_anchorNode
.get(); }
111
Node* node() const { return
m_anchorNode
.get(); }
118
bool isNull() const { return !
m_anchorNode
; }
119
bool isNotNull() const { return
m_anchorNode
; }
179
RefPtr<Node>
m_anchorNode
;
180
// m_offset can be the offset inside
m_anchorNode
, or if editingIgnoresContent(
m_anchorNode
)
Position.cpp
77
:
m_anchorNode
(anchorNode)
79
, m_anchorType(anchorTypeForLegacyEditingPosition(
m_anchorNode
.get(), m_offset))
85
:
m_anchorNode
(anchorNode)
94
:
m_anchorNode
(anchorNode)
105
m_anchorNode
= node;
108
m_anchorType = anchorTypeForLegacyEditingPosition(
m_anchorNode
.get(), m_offset);
115
m_anchorType = anchorTypeForLegacyEditingPosition(
m_anchorNode
.get(), m_offset);
120
if (!
m_anchorNode
)
125
return
m_anchorNode
.get();
128
return
m_anchorNode
->parentNode()
[
all
...]
Completed in 21 milliseconds