m_anchorNode 83 Source/core/dom/Position.cpp : m_anchorNode(anchorNode) m_anchorNode 85 Source/core/dom/Position.cpp , m_anchorType(anchorTypeForLegacyEditingPosition(m_anchorNode.get(), m_offset)) m_anchorNode 88 Source/core/dom/Position.cpp ASSERT(!m_anchorNode || !m_anchorNode->isPseudoElement()); m_anchorNode 92 Source/core/dom/Position.cpp : m_anchorNode(anchorNode) m_anchorNode 97 Source/core/dom/Position.cpp ASSERT(!m_anchorNode || !m_anchorNode->isPseudoElement()); m_anchorNode 101 Source/core/dom/Position.cpp && (m_anchorNode->isTextNode() || editingIgnoresContent(m_anchorNode.get())))); m_anchorNode 105 Source/core/dom/Position.cpp : m_anchorNode(anchorNode) m_anchorNode 110 Source/core/dom/Position.cpp ASSERT(!m_anchorNode || !m_anchorNode->isPseudoElement()); m_anchorNode 116 Source/core/dom/Position.cpp : m_anchorNode(textNode) m_anchorNode 121 Source/core/dom/Position.cpp ASSERT(m_anchorNode); m_anchorNode 128 Source/core/dom/Position.cpp m_anchorNode = node; m_anchorNode 131 Source/core/dom/Position.cpp m_anchorType = anchorTypeForLegacyEditingPosition(m_anchorNode.get(), m_offset); m_anchorNode 138 Source/core/dom/Position.cpp m_anchorType = anchorTypeForLegacyEditingPosition(m_anchorNode.get(), m_offset); m_anchorNode 143 Source/core/dom/Position.cpp if (!m_anchorNode) m_anchorNode 150 Source/core/dom/Position.cpp return m_anchorNode.get(); m_anchorNode 153 Source/core/dom/Position.cpp return m_anchorNode->parentNode(); m_anchorNode 163 Source/core/dom/Position.cpp return m_anchorNode && m_anchorNode->isTextNode() ? toText(m_anchorNode) : 0; m_anchorNode 169 Source/core/dom/Position.cpp ASSERT(!m_anchorNode || !m_anchorNode->isTextNode()); m_anchorNode 178 Source/core/dom/Position.cpp if (!m_anchorNode) m_anchorNode 185 Source/core/dom/Position.cpp return lastOffsetInNode(m_anchorNode.get()); m_anchorNode 187 Source/core/dom/Position.cpp return minOffsetForNode(m_anchorNode.get(), m_offset); m_anchorNode 189 Source/core/dom/Position.cpp return m_anchorNode->nodeIndex(); m_anchorNode 191 Source/core/dom/Position.cpp return m_anchorNode->nodeIndex() + 1; m_anchorNode 201 Source/core/dom/Position.cpp return lastOffsetForEditing(m_anchorNode.get()); m_anchorNode 208 Source/core/dom/Position.cpp if (!m_anchorNode) m_anchorNode 213 Source/core/dom/Position.cpp if (m_anchorNode->parentNode() && (editingIgnoresContent(m_anchorNode.get()) || isRenderedTableElement(m_anchorNode.get()))) m_anchorNode 214 Source/core/dom/Position.cpp return positionInParentBeforeNode(*m_anchorNode); m_anchorNode 215 Source/core/dom/Position.cpp return Position(m_anchorNode.get(), 0, PositionIsOffsetInAnchor); m_anchorNode 217 Source/core/dom/Position.cpp if (!m_anchorNode->offsetInCharacters() m_anchorNode 218 Source/core/dom/Position.cpp && (m_anchorType == PositionIsAfterAnchor || m_anchorType == PositionIsAfterChildren || static_cast<unsigned>(m_offset) == m_anchorNode->countChildren()) m_anchorNode 219 Source/core/dom/Position.cpp && (editingIgnoresContent(m_anchorNode.get()) || isRenderedTableElement(m_anchorNode.get())) m_anchorNode 221 Source/core/dom/Position.cpp return positionInParentAfterNode(*m_anchorNode); m_anchorNode 229 Source/core/dom/Position.cpp if (!m_anchorNode) m_anchorNode 236 Source/core/dom/Position.cpp return m_anchorNode->lastChild(); m_anchorNode 238 Source/core/dom/Position.cpp return m_anchorNode->traverseToChildAt(m_offset - 1); // -1 converts to traverseToChildAt((unsigned)-1) and returns null. m_anchorNode 240 Source/core/dom/Position.cpp return m_anchorNode->previousSibling(); m_anchorNode 242 Source/core/dom/Position.cpp return m_anchorNode.get(); m_anchorNode 250 Source/core/dom/Position.cpp if (!m_anchorNode) m_anchorNode 255 Source/core/dom/Position.cpp return m_anchorNode->firstChild(); m_anchorNode 259 Source/core/dom/Position.cpp return m_anchorNode->traverseToChildAt(m_offset); m_anchorNode 261 Source/core/dom/Position.cpp return m_anchorNode.get(); m_anchorNode 263 Source/core/dom/Position.cpp return m_anchorNode->nextSibling(); m_anchorNode 426 Source/core/dom/Position.cpp if (!m_anchorNode) m_anchorNode 429 Source/core/dom/Position.cpp Node* documentElement = m_anchorNode->document().documentElement(); m_anchorNode 433 Source/core/dom/Position.cpp Node* boundary = m_anchorNode.get(); m_anchorNode 434 Source/core/dom/Position.cpp while (boundary != documentElement && boundary->nonShadowBoundaryParentNode() && m_anchorNode->rendererIsEditable() == boundary->parentNode()->rendererIsEditable()) m_anchorNode 596 Source/core/dom/Position.cpp PositionIterator lastVisible = m_anchorType == PositionIsAfterAnchor ? createLegacyEditingPosition(m_anchorNode.get(), caretMaxOffset(m_anchorNode.get())) : *this; m_anchorNode 719 Source/core/dom/Position.cpp PositionIterator lastVisible = m_anchorType == PositionIsAfterAnchor ? createLegacyEditingPosition(m_anchorNode.get(), caretMaxOffset(m_anchorNode.get())) : *this; m_anchorNode 899 Source/core/dom/Position.cpp if (isHTMLHtmlElement(*m_anchorNode)) m_anchorNode 903 Source/core/dom/Position.cpp if (toRenderBlock(renderer)->logicalHeight() || isHTMLBodyElement(*m_anchorNode)) { m_anchorNode 906 Source/core/dom/Position.cpp return m_anchorNode->rendererIsEditable() && !Position::nodeIsUserSelectNone(deprecatedNode()) && atEditingBoundary(); m_anchorNode 909 Source/core/dom/Position.cpp LocalFrame* frame = m_anchorNode->document().frame(); m_anchorNode 911 Source/core/dom/Position.cpp return (caretBrowsing || m_anchorNode->rendererIsEditable()) && !Position::nodeIsUserSelectNone(deprecatedNode()) && atEditingBoundary(); m_anchorNode 1307 Source/core/dom/Position.cpp for (const RenderObject* r = m_anchorNode->renderer(); r; r = r->parent()) { m_anchorNode 94 Source/core/dom/Position.h void clear() { m_anchorNode.clear(); m_offset = 0; m_anchorType = PositionIsOffsetInAnchor; m_isLegacyEditingPosition = false; } m_anchorNode 123 Source/core/dom/Position.h Node* anchorNode() const { return m_anchorNode.get(); } m_anchorNode 128 Source/core/dom/Position.h Node* deprecatedNode() const { return m_anchorNode.get(); } m_anchorNode 130 Source/core/dom/Position.h Document* document() const { return m_anchorNode ? &m_anchorNode->document() : 0; } m_anchorNode 131 Source/core/dom/Position.h bool inDocument() const { return m_anchorNode && m_anchorNode->inDocument(); } m_anchorNode 143 Source/core/dom/Position.h bool isNull() const { return !m_anchorNode; } m_anchorNode 144 Source/core/dom/Position.h bool isNotNull() const { return m_anchorNode; } m_anchorNode 145 Source/core/dom/Position.h bool isOrphan() const { return m_anchorNode && !m_anchorNode->inDocument(); } m_anchorNode 217 Source/core/dom/Position.h RefPtr<Node> m_anchorNode; m_anchorNode 40 Source/core/dom/PositionIterator.cpp ASSERT(m_nodeAfterPositionInAnchor->parentNode() == m_anchorNode); m_anchorNode 43 Source/core/dom/PositionIterator.cpp return positionBeforeNode(m_anchorNode); m_anchorNode 46 Source/core/dom/PositionIterator.cpp if (m_anchorNode->hasChildren()) m_anchorNode 47 Source/core/dom/PositionIterator.cpp return lastPositionInOrAfterNode(m_anchorNode); m_anchorNode 48 Source/core/dom/PositionIterator.cpp return createLegacyEditingPosition(m_anchorNode, m_offsetInAnchor); m_anchorNode 53 Source/core/dom/PositionIterator.cpp if (!m_anchorNode) m_anchorNode 57 Source/core/dom/PositionIterator.cpp m_anchorNode = m_nodeAfterPositionInAnchor; m_anchorNode 58 Source/core/dom/PositionIterator.cpp m_nodeAfterPositionInAnchor = m_anchorNode->firstChild(); m_anchorNode 63 Source/core/dom/PositionIterator.cpp if (!m_anchorNode->hasChildren() && m_offsetInAnchor < lastOffsetForEditing(m_anchorNode)) m_anchorNode 64 Source/core/dom/PositionIterator.cpp m_offsetInAnchor = Position::uncheckedNextOffset(m_anchorNode, m_offsetInAnchor); m_anchorNode 66 Source/core/dom/PositionIterator.cpp m_nodeAfterPositionInAnchor = m_anchorNode; m_anchorNode 67 Source/core/dom/PositionIterator.cpp m_anchorNode = m_nodeAfterPositionInAnchor->parentNode(); m_anchorNode 75 Source/core/dom/PositionIterator.cpp if (!m_anchorNode) m_anchorNode 79 Source/core/dom/PositionIterator.cpp m_anchorNode = m_nodeAfterPositionInAnchor->previousSibling(); m_anchorNode 80 Source/core/dom/PositionIterator.cpp if (m_anchorNode) { m_anchorNode 82 Source/core/dom/PositionIterator.cpp m_offsetInAnchor = m_anchorNode->hasChildren() ? 0 : lastOffsetForEditing(m_anchorNode); m_anchorNode 85 Source/core/dom/PositionIterator.cpp m_anchorNode = m_nodeAfterPositionInAnchor->parentNode(); m_anchorNode 91 Source/core/dom/PositionIterator.cpp if (m_anchorNode->hasChildren()) { m_anchorNode 92 Source/core/dom/PositionIterator.cpp m_anchorNode = m_anchorNode->lastChild(); m_anchorNode 93 Source/core/dom/PositionIterator.cpp m_offsetInAnchor = m_anchorNode->hasChildren()? 0: lastOffsetForEditing(m_anchorNode); m_anchorNode 96 Source/core/dom/PositionIterator.cpp m_offsetInAnchor = Position::uncheckedPreviousOffset(m_anchorNode, m_offsetInAnchor); m_anchorNode 98 Source/core/dom/PositionIterator.cpp m_nodeAfterPositionInAnchor = m_anchorNode; m_anchorNode 99 Source/core/dom/PositionIterator.cpp m_anchorNode = m_anchorNode->parentNode(); m_anchorNode 106 Source/core/dom/PositionIterator.cpp if (!m_anchorNode) m_anchorNode 108 Source/core/dom/PositionIterator.cpp if (m_anchorNode->parentNode()) m_anchorNode 110 Source/core/dom/PositionIterator.cpp return (!m_anchorNode->hasChildren() && !m_offsetInAnchor) || (m_nodeAfterPositionInAnchor && !m_nodeAfterPositionInAnchor->previousSibling()); m_anchorNode 115 Source/core/dom/PositionIterator.cpp if (!m_anchorNode) m_anchorNode 119 Source/core/dom/PositionIterator.cpp return !m_anchorNode->parentNode() && (m_anchorNode->hasChildren() || m_offsetInAnchor >= lastOffsetForEditing(m_anchorNode)); m_anchorNode 124 Source/core/dom/PositionIterator.cpp if (!m_anchorNode) m_anchorNode 127 Source/core/dom/PositionIterator.cpp return !m_anchorNode->hasChildren() && !m_offsetInAnchor; m_anchorNode 133 Source/core/dom/PositionIterator.cpp if (!m_anchorNode) m_anchorNode 137 Source/core/dom/PositionIterator.cpp return m_anchorNode->hasChildren() || m_offsetInAnchor >= lastOffsetForEditing(m_anchorNode); m_anchorNode 142 Source/core/dom/PositionIterator.cpp if (!m_anchorNode) m_anchorNode 145 Source/core/dom/PositionIterator.cpp RenderObject* renderer = m_anchorNode->renderer(); m_anchorNode 163 Source/core/dom/PositionIterator.cpp return !m_offsetInAnchor && (!m_anchorNode->hasChildren() || m_nodeAfterPositionInAnchor) && !Position::nodeIsUserSelectNone(m_anchorNode->parentNode()); m_anchorNode 166 Source/core/dom/PositionIterator.cpp return !Position::nodeIsUserSelectNone(m_anchorNode) && Position(*this).inRenderedText(); m_anchorNode 168 Source/core/dom/PositionIterator.cpp if (isRenderedTableElement(m_anchorNode) || editingIgnoresContent(m_anchorNode)) m_anchorNode 169 Source/core/dom/PositionIterator.cpp return (atStartOfNode() || atEndOfNode()) && !Position::nodeIsUserSelectNone(m_anchorNode->parentNode()); m_anchorNode 171 Source/core/dom/PositionIterator.cpp if (!isHTMLHtmlElement(*m_anchorNode) && renderer->isRenderBlockFlow()) { m_anchorNode 172 Source/core/dom/PositionIterator.cpp if (toRenderBlock(renderer)->logicalHeight() || isHTMLBodyElement(*m_anchorNode)) { m_anchorNode 174 Source/core/dom/PositionIterator.cpp return atStartOfNode() && !Position::nodeIsUserSelectNone(m_anchorNode); m_anchorNode 175 Source/core/dom/PositionIterator.cpp return m_anchorNode->rendererIsEditable() && !Position::nodeIsUserSelectNone(m_anchorNode) && Position(*this).atEditingBoundary(); m_anchorNode 40 Source/core/dom/PositionIterator.h : m_anchorNode(0) m_anchorNode 47 Source/core/dom/PositionIterator.h : m_anchorNode(pos.anchorNode()) m_anchorNode 48 Source/core/dom/PositionIterator.h , m_nodeAfterPositionInAnchor(m_anchorNode->traverseToChildAt(pos.deprecatedEditingOffset())) m_anchorNode 57 Source/core/dom/PositionIterator.h Node* node() const { return m_anchorNode; } m_anchorNode 67 Source/core/dom/PositionIterator.h Node* m_anchorNode; m_anchorNode 61 Source/core/inspector/DOMEditor.cpp m_anchorNode = m_node->nextSibling(); m_anchorNode 67 Source/core/inspector/DOMEditor.cpp m_parentNode->insertBefore(m_node.get(), m_anchorNode.get(), exceptionState); m_anchorNode 80 Source/core/inspector/DOMEditor.cpp RefPtr<Node> m_anchorNode; m_anchorNode 101 Source/core/inspector/DOMEditor.cpp m_parentNode->insertBefore(m_node.get(), m_anchorNode.get(), exceptionState); m_anchorNode 119 Source/core/inspector/DOMEditor.cpp m_parentNode->insertBefore(m_node.get(), m_anchorNode.get(), exceptionState); m_anchorNode 126 Source/core/inspector/DOMEditor.cpp RefPtr<Node> m_anchorNode; m_anchorNode 81 Source/web/ViewportAnchor.cpp m_anchorNode.clear(); m_anchorNode 101 Source/web/ViewportAnchor.cpp m_anchorNode = node; m_anchorNode 109 Source/web/ViewportAnchor.cpp if (!m_anchorNode || !m_anchorNode->inDocument()) m_anchorNode 112 Source/web/ViewportAnchor.cpp const LayoutRect currentNodeBounds = m_anchorNode->boundingBox(); m_anchorNode 69 Source/web/ViewportAnchor.h RefPtr<WebCore::Node> m_anchorNode;