anchorNode 1055 Source/core/accessibility/AXObjectCache.cpp void AXObjectCache::handleScrolledToAnchor(const Node* anchorNode) anchorNode 1059 Source/core/accessibility/AXObjectCache.cpp postPlatformNotification(AXObject::firstAccessibleObjectFromNode(anchorNode), AXScrolledToAnchor); anchorNode 129 Source/core/accessibility/AXObjectCache.h void handleScrolledToAnchor(const Node* anchorNode); anchorNode 82 Source/core/dom/Position.cpp Position::Position(PassRefPtr<Node> anchorNode, LegacyEditingOffset offset) anchorNode 83 Source/core/dom/Position.cpp : m_anchorNode(anchorNode) anchorNode 91 Source/core/dom/Position.cpp Position::Position(PassRefPtr<Node> anchorNode, AnchorType anchorType) anchorNode 92 Source/core/dom/Position.cpp : m_anchorNode(anchorNode) anchorNode 104 Source/core/dom/Position.cpp Position::Position(PassRefPtr<Node> anchorNode, int offset, AnchorType anchorType) anchorNode 105 Source/core/dom/Position.cpp : m_anchorNode(anchorNode) anchorNode 269 Source/core/dom/Position.cpp Position::AnchorType Position::anchorTypeForLegacyEditingPosition(Node* anchorNode, int offset) anchorNode 271 Source/core/dom/Position.cpp if (anchorNode && editingIgnoresContent(anchorNode)) { anchorNode 282 Source/core/dom/Position.cpp Node* n = anchorNode(); anchorNode 1372 Source/core/dom/Position.cpp if (anchorNode()) { anchorNode 1373 Source/core/dom/Position.cpp anchorNode()->showTreeForThis(); anchorNode 82 Source/core/dom/Position.h Position(PassRefPtr<Node> anchorNode, LegacyEditingOffset); anchorNode 85 Source/core/dom/Position.h Position(PassRefPtr<Node> anchorNode, AnchorType); anchorNode 90 Source/core/dom/Position.h Position(PassRefPtr<Node> anchorNode, int offset, AnchorType); anchorNode 123 Source/core/dom/Position.h Node* anchorNode() const { return m_anchorNode.get(); } anchorNode 140 Source/core/dom/Position.h void moveToPosition(PassRefPtr<Node> anchorNode, int offset); anchorNode 215 Source/core/dom/Position.h static AnchorType anchorTypeForLegacyEditingPosition(Node* anchorNode, int offset); anchorNode 235 Source/core/dom/Position.h return a.anchorNode() == b.anchorNode() && a.deprecatedEditingOffset() == b.deprecatedEditingOffset() && a.anchorType() == b.anchorType(); anchorNode 263 Source/core/dom/Position.h inline Position positionBeforeNode(Node* anchorNode) anchorNode 265 Source/core/dom/Position.h ASSERT(anchorNode); anchorNode 266 Source/core/dom/Position.h return Position(anchorNode, Position::PositionIsBeforeAnchor); anchorNode 269 Source/core/dom/Position.h inline Position positionAfterNode(Node* anchorNode) anchorNode 271 Source/core/dom/Position.h ASSERT(anchorNode); anchorNode 272 Source/core/dom/Position.h return Position(anchorNode, Position::PositionIsAfterAnchor); anchorNode 281 Source/core/dom/Position.h inline Position firstPositionInNode(Node* anchorNode) anchorNode 283 Source/core/dom/Position.h if (anchorNode->isTextNode()) anchorNode 284 Source/core/dom/Position.h return Position(anchorNode, 0, Position::PositionIsOffsetInAnchor); anchorNode 285 Source/core/dom/Position.h return Position(anchorNode, Position::PositionIsBeforeChildren); anchorNode 288 Source/core/dom/Position.h inline Position lastPositionInNode(Node* anchorNode) anchorNode 290 Source/core/dom/Position.h if (anchorNode->isTextNode()) anchorNode 291 Source/core/dom/Position.h return Position(anchorNode, lastOffsetInNode(anchorNode), Position::PositionIsOffsetInAnchor); anchorNode 292 Source/core/dom/Position.h return Position(anchorNode, Position::PositionIsAfterChildren); anchorNode 295 Source/core/dom/Position.h inline int minOffsetForNode(Node* anchorNode, int offset) anchorNode 297 Source/core/dom/Position.h if (anchorNode->offsetInCharacters()) anchorNode 298 Source/core/dom/Position.h return std::min(offset, anchorNode->maxCharacterOffset()); anchorNode 301 Source/core/dom/Position.h for (Node* node = anchorNode->firstChild(); node && newOffset < offset; node = node->nextSibling()) anchorNode 307 Source/core/dom/Position.h inline bool offsetIsBeforeLastNodeOffset(int offset, Node* anchorNode) anchorNode 309 Source/core/dom/Position.h if (anchorNode->offsetInCharacters()) anchorNode 310 Source/core/dom/Position.h return offset < anchorNode->maxCharacterOffset(); anchorNode 313 Source/core/dom/Position.h for (Node* node = anchorNode->firstChild(); node && currentOffset < offset; node = node->nextSibling()) anchorNode 47 Source/core/dom/PositionIterator.h : m_anchorNode(pos.anchorNode()) anchorNode 78 Source/core/editing/Caret.cpp if (!position.anchorNode()) anchorNode 81 Source/core/editing/Caret.cpp if (position.anchorNode() == node) anchorNode 88 Source/core/editing/Caret.cpp return element.containsIncludingShadowDOM(position.anchorNode()); anchorNode 512 Source/core/editing/CompositeEditCommand.cpp if (!isTabSpanTextNode(pos.anchorNode())) anchorNode 523 Source/core/editing/CompositeEditCommand.cpp return positionInParentBeforeNode(*pos.anchorNode()); anchorNode 525 Source/core/editing/CompositeEditCommand.cpp return positionInParentAfterNode(*pos.anchorNode()); anchorNode 868 Source/core/editing/CompositeEditCommand.cpp if (isHTMLBRElement(*p.anchorNode())) { anchorNode 869 Source/core/editing/CompositeEditCommand.cpp removeNode(p.anchorNode()); anchorNode 873 Source/core/editing/CompositeEditCommand.cpp deleteTextFromNode(toText(p.anchorNode()), p.offsetInContainerNode(), 1); anchorNode 947 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::pushAnchorElementDown(Node* anchorNode) anchorNode 949 Source/core/editing/CompositeEditCommand.cpp if (!anchorNode) anchorNode 952 Source/core/editing/CompositeEditCommand.cpp ASSERT(anchorNode->isLink()); anchorNode 954 Source/core/editing/CompositeEditCommand.cpp setEndingSelection(VisibleSelection::selectionFromContentsOfNode(anchorNode)); anchorNode 955 Source/core/editing/CompositeEditCommand.cpp applyStyledElement(toElement(anchorNode)); anchorNode 957 Source/core/editing/CompositeEditCommand.cpp if (anchorNode->inDocument()) anchorNode 958 Source/core/editing/CompositeEditCommand.cpp removeNodePreservingChildren(anchorNode); anchorNode 979 Source/core/editing/CompositeEditCommand.cpp if (start.anchorNode() != outerNode && lastNode->isElementNode() && start.anchorNode()->isDescendantOf(outerNode.get())) { anchorNode 1041 Source/core/editing/CompositeEditCommand.cpp Node* destinationNode = destination.deepEquivalent().anchorNode(); anchorNode 277 Source/core/editing/DeleteSelectionCommand.cpp if (shouldNotInheritStyleFrom(*m_selectionToDelete.start().anchorNode())) anchorNode 621 Source/core/editing/DeleteSelectionCommand.cpp if (!mergeDestination.deepEquivalent().deprecatedNode() || (!mergeDestination.deepEquivalent().deprecatedNode()->isDescendantOf(enclosingBlock(m_upstreamStart.containerNode())) && (!mergeDestination.deepEquivalent().anchorNode()->firstChild() || !m_upstreamStart.containerNode()->firstChild())) || (m_startsAtEmptyLine && mergeDestination != startOfParagraphToMove)) { anchorNode 758 Source/core/editing/DeleteSelectionCommand.cpp if (node == m_endingPosition.anchorNode()) anchorNode 762 Source/core/editing/DeleteSelectionCommand.cpp node = m_endingPosition.anchorNode(); anchorNode 232 Source/core/editing/FrameSelection.cpp if (s.base().anchorNode()) { anchorNode 300 Source/core/editing/FrameSelection.cpp if (!position.anchorNode()) anchorNode 303 Source/core/editing/FrameSelection.cpp if (position.anchorNode() == node) anchorNode 310 Source/core/editing/FrameSelection.cpp return element.containsIncludingShadowDOM(position.anchorNode()); anchorNode 378 Source/core/editing/FrameSelection.cpp if (!position.anchorNode() || position.anchorNode() != node || position.anchorType() != Position::PositionIsOffsetInAnchor) anchorNode 414 Source/core/editing/FrameSelection.cpp if (!position.anchorNode() || position.anchorType() != Position::PositionIsOffsetInAnchor) anchorNode 420 Source/core/editing/FrameSelection.cpp if (position.anchorNode() == &oldNode) anchorNode 423 Source/core/editing/FrameSelection.cpp if (position.anchorNode() == oldNode.parentNode() && positionOffset == offset) anchorNode 442 Source/core/editing/FrameSelection.cpp if (!position.anchorNode() || position.anchorNode() != &oldNode || position.anchorType() != Position::PositionIsOffsetInAnchor) anchorNode 599 Source/core/editing/FrameSelection.cpp if (Node* rootUserSelectAll = Position::rootUserSelectAllForNode(pos.deepEquivalent().anchorNode())) anchorNode 1624 Source/core/editing/FrameSelection.cpp return focusedElement->containsIncludingShadowDOM(m_selection.start().anchorNode()); anchorNode 81 Source/core/editing/IndentOutdentCommand.cpp if (end.anchorNode() == selectedListItem.get() || end.anchorNode()->isDescendantOf(selectedListItem->lastChild())) { anchorNode 322 Source/core/editing/InputMethodController.cpp Node* baseNode = base.anchorNode(); anchorNode 329 Source/core/editing/InputMethodController.cpp if (!baseNode || baseNode != m_frame.selection().extent().anchorNode()) anchorNode 319 Source/core/editing/InsertParagraphSeparatorCommand.cpp if (visiblePos.deepEquivalent().anchorNode()->renderer()->isBR()) { anchorNode 50 Source/core/editing/InsertTextCommand.cpp if (isTabSpanTextNode(pos.anchorNode())) { anchorNode 47 Source/core/editing/RenderedPosition.cpp rendererNode = position.anchorNode()->lastChild(); anchorNode 55 Source/core/editing/RenderedPosition.cpp rendererNode = position.anchorNode()->firstChild(); anchorNode 58 Source/core/editing/RenderedPosition.cpp rendererNode = position.anchorNode()->lastChild(); anchorNode 62 Source/core/editing/RenderedPosition.cpp rendererNode = position.anchorNode(); anchorNode 1485 Source/core/editing/ReplaceSelectionCommand.cpp RefPtr<Node> nodeAfterInsertionPos = endingSelection().end().downstream().anchorNode(); anchorNode 656 Source/core/editing/VisiblePosition.cpp Node* node = m_deepPosition.anchorNode(); anchorNode 570 Source/core/editing/VisibleSelection.cpp if (m_start.anchorNode()->treeScope() == m_end.anchorNode()->treeScope()) anchorNode 581 Source/core/editing/VisibleSelection.cpp ASSERT(m_start.anchorNode()->treeScope() == m_end.anchorNode()->treeScope()); anchorNode 769 Source/core/editing/VisibleSelection.cpp if (!m_start.anchorNode()) anchorNode 772 Source/core/editing/VisibleSelection.cpp fprintf(stderr, "pos: %s ", m_start.anchorNode()->nodeName().utf8().data()); anchorNode 775 Source/core/editing/VisibleSelection.cpp fprintf(stderr, "start: %s ", m_start.anchorNode()->nodeName().utf8().data()); anchorNode 777 Source/core/editing/VisibleSelection.cpp fprintf(stderr, "end: %s ", m_end.anchorNode()->nodeName().utf8().data()); anchorNode 807 Source/core/editing/VisibleSelection.cpp if (start().anchorNode()) { anchorNode 808 Source/core/editing/VisibleSelection.cpp start().anchorNode()->showTreeAndMark(start().anchorNode(), "S", end().anchorNode(), "E"); anchorNode 909 Source/core/editing/htmlediting.cpp if (node.containsIncludingShadowDOM(position.anchorNode())) anchorNode 913 Source/core/editing/htmlediting.cpp if (node.containsIncludingShadowDOM(position.anchorNode())) anchorNode 955 Source/core/editing/htmlediting.cpp if (isHTMLBRElement(*position.anchorNode()) && position.atFirstEditingPositionForNode()) anchorNode 958 Source/core/editing/htmlediting.cpp if (!position.anchorNode()->renderer()) anchorNode 961 Source/core/editing/htmlediting.cpp if (!position.anchorNode()->isTextNode() || !position.anchorNode()->renderer()->style()->preserveNewline()) anchorNode 964 Source/core/editing/htmlediting.cpp Text* textNode = toText(position.anchorNode()); anchorNode 1010 Source/core/editing/htmlediting.cpp ShadowRoot* shadowRoot = p.anchorNode()->containingShadowRoot(); anchorNode 809 Source/core/editing/markup.cpp if (Node* node = range.startPosition().anchorNode()) { anchorNode 1581 Source/core/frame/FrameView.cpp Element* anchorNode = m_frame->document()->findAnchor(name); anchorNode 1584 Source/core/frame/FrameView.cpp m_frame->document()->setCSSTarget(anchorNode); anchorNode 1588 Source/core/frame/FrameView.cpp svg->setupInitialView(name, anchorNode); anchorNode 1589 Source/core/frame/FrameView.cpp if (!anchorNode) anchorNode 1595 Source/core/frame/FrameView.cpp if (!anchorNode && !(name.isEmpty() || equalIgnoringCase(name, "top"))) anchorNode 1598 Source/core/frame/FrameView.cpp maintainScrollPositionAtAnchor(anchorNode ? static_cast<Node*>(anchorNode) : m_frame->document()); anchorNode 1601 Source/core/frame/FrameView.cpp if (anchorNode && anchorNode->isFocusable()) anchorNode 1602 Source/core/frame/FrameView.cpp m_frame->document()->setFocusedElement(anchorNode); anchorNode 1607 Source/core/frame/FrameView.cpp void FrameView::maintainScrollPositionAtAnchor(Node* anchorNode) anchorNode 1609 Source/core/frame/FrameView.cpp m_maintainScrollPositionAnchor = anchorNode; anchorNode 1995 Source/core/frame/FrameView.cpp RefPtr<Node> anchorNode = m_maintainScrollPositionAnchor; anchorNode 1996 Source/core/frame/FrameView.cpp if (!anchorNode) anchorNode 1999 Source/core/frame/FrameView.cpp if (!anchorNode->renderer()) anchorNode 2003 Source/core/frame/FrameView.cpp if (anchorNode != m_frame->document()) anchorNode 2004 Source/core/frame/FrameView.cpp rect = anchorNode->boundingBox(); anchorNode 2008 Source/core/frame/FrameView.cpp anchorNode->renderer()->scrollRectToVisible(rect, ScrollAlignment::alignToEdgeIfNeeded, ScrollAlignment::alignTopAlways); anchorNode 2011 Source/core/frame/FrameView.cpp cache->handleScrolledToAnchor(anchorNode.get()); anchorNode 2014 Source/core/frame/FrameView.cpp m_maintainScrollPositionAnchor = anchorNode; anchorNode 611 Source/core/html/HTMLTextFormControlElement.cpp || position.containerNode() || !position.anchorNode()->shadowHost() anchorNode 612 Source/core/html/HTMLTextFormControlElement.cpp || (position.anchorNode()->parentNode() && position.anchorNode()->parentNode()->isShadowRoot())); anchorNode 86 Source/core/inspector/DOMEditor.cpp InsertBeforeAction(Node* parentNode, PassRefPtr<Node> node, Node* anchorNode) anchorNode 90 Source/core/inspector/DOMEditor.cpp , m_anchorNode(anchorNode) anchorNode 362 Source/core/inspector/DOMEditor.cpp bool DOMEditor::insertBefore(Node* parentNode, PassRefPtr<Node> node, Node* anchorNode, ExceptionState& exceptionState) anchorNode 364 Source/core/inspector/DOMEditor.cpp return m_history->perform(adoptRef(new InsertBeforeAction(parentNode, node, anchorNode)), exceptionState); anchorNode 412 Source/core/inspector/DOMEditor.cpp bool DOMEditor::insertBefore(Node* parentNode, PassRefPtr<Node> node, Node* anchorNode, ErrorString* errorString) anchorNode 415 Source/core/inspector/DOMEditor.cpp bool result = insertBefore(parentNode, node, anchorNode, exceptionState); anchorNode 52 Source/core/inspector/DOMEditor.h bool insertBefore(Node* parentNode, PassRefPtr<Node>, Node* anchorNode, ExceptionState&); anchorNode 61 Source/core/inspector/DOMEditor.h bool insertBefore(Node* parentNode, PassRefPtr<Node>, Node* anchorNode, ErrorString*); anchorNode 393 Source/core/inspector/DOMPatchSupport.cpp Node* anchorNode = parentNode->traverseToChildAt(oldMap[i].second); anchorNode 394 Source/core/inspector/DOMPatchSupport.cpp if (node == anchorNode) anchorNode 399 Source/core/inspector/DOMPatchSupport.cpp if (!m_domEditor->insertBefore(parentNode, node.release(), anchorNode, exceptionState)) anchorNode 1307 Source/core/inspector/InspectorDOMAgent.cpp Node* anchorNode = 0; anchorNode 1309 Source/core/inspector/InspectorDOMAgent.cpp anchorNode = assertEditableNode(errorString, *anchorNodeId); anchorNode 1310 Source/core/inspector/InspectorDOMAgent.cpp if (!anchorNode) anchorNode 1312 Source/core/inspector/InspectorDOMAgent.cpp if (anchorNode->parentNode() != targetElement) { anchorNode 1318 Source/core/inspector/InspectorDOMAgent.cpp if (!m_domEditor->insertBefore(targetElement, node, anchorNode, errorString)) anchorNode 52 Source/core/page/DOMSelection.cpp Node* node = frame->selection().selection().base().anchorNode(); anchorNode 76 Source/core/page/DOMSelection.h Node* anchorNode() const; anchorNode 742 Source/core/svg/SVGSVGElement.cpp void SVGSVGElement::setupInitialView(const String& fragmentIdentifier, Element* anchorNode) anchorNode 777 Source/core/svg/SVGSVGElement.cpp if (isSVGViewElement(anchorNode)) { anchorNode 778 Source/core/svg/SVGSVGElement.cpp SVGViewElement& viewElement = toSVGViewElement(*anchorNode); anchorNode 121 Source/core/svg/SVGSVGElement.h void setupInitialView(const String& fragmentIdentifier, Element* anchorNode); anchorNode 2034 Source/web/tests/WebFrameTest.cpp RefPtr<WebCore::Node> anchorNode = webViewHelper.webViewImpl()->mainFrameImpl()->frame()->eventHandler().hitTestResultAtPoint(anchorPoint, HitTestRequest::ReadOnly | HitTestRequest::Active | HitTestRequest::ConfusingAndOftenMisusedDisallowShadowContent).innerNode(); anchorNode 2035 Source/web/tests/WebFrameTest.cpp ASSERT(anchorNode); anchorNode 2039 Source/web/tests/WebFrameTest.cpp = computeRelativeOffset(anchorPoint, anchorNode->boundingBox()); anchorNode 2043 Source/web/tests/WebFrameTest.cpp = computeRelativeOffset(newAnchorPoint, anchorNode->boundingBox());