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/Source/WebCore/dom/
PositionIterator.cpp
40
ASSERT(m_nodeAfterPositionInAnchor->parentNode() ==
m_anchorNode
);
43
return positionBeforeNode(
m_anchorNode
);
46
if (
m_anchorNode
->hasChildNodes())
47
return lastPositionInOrAfterNode(
m_anchorNode
);
48
return Position(
m_anchorNode
, m_offsetInAnchor);
53
if (!
m_anchorNode
)
57
m_anchorNode
= m_nodeAfterPositionInAnchor;
58
m_nodeAfterPositionInAnchor =
m_anchorNode
->firstChild();
63
if (!
m_anchorNode
->hasChildNodes() && m_offsetInAnchor < lastOffsetForEditing(
m_anchorNode
))
[
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
; }
68
Node*
m_anchorNode
;
69
Node* m_nodeAfterPositionInAnchor; // If this is non-null, m_nodeAfterPositionInAnchor->parentNode() ==
m_anchorNode
;
Position.h
77
void clear() {
m_anchorNode
.clear(); m_offset = 0; m_anchorType = PositionIsOffsetInAnchor; m_isLegacyEditingPosition = false; }
104
Node* anchorNode() const { return
m_anchorNode
.get(); }
109
Node* deprecatedNode() const { return
m_anchorNode
.get(); }
111
Document* document() const { return
m_anchorNode
?
m_anchorNode
->document() : 0; }
118
bool isNull() const { return !
m_anchorNode
; }
119
bool isNotNull() const { return
m_anchorNode
; }
120
bool isOrphan() const { return
m_anchorNode
&& !
m_anchorNode
->inDocument(); }
187
RefPtr<Node>
m_anchorNode
;
[
all
...]
Position.cpp
75
:
m_anchorNode
(anchorNode)
77
, m_anchorType(anchorTypeForLegacyEditingPosition(
m_anchorNode
.get(), m_offset))
83
:
m_anchorNode
(anchorNode)
92
:
m_anchorNode
(anchorNode)
97
ASSERT(!
m_anchorNode
|| !editingIgnoresContent(
m_anchorNode
.get()));
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
)
[
all
...]
Completed in 46 milliseconds