Searched defs:anchorNode (Results 1 - 12 of 12) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DPosition.h82 Position(PassRefPtrWillBeRawPtr<Node> anchorNode, LegacyEditingOffset);
85 Position(PassRefPtrWillBeRawPtr<Node> anchorNode, AnchorType);
90 Position(PassRefPtrWillBeRawPtr<Node> anchorNode, int offset, AnchorType);
123 Node* anchorNode() const { return m_anchorNode.get(); } function in class:blink::Position
140 void moveToPosition(PassRefPtrWillBeRawPtr<Node> anchorNode, int offset);
208 static AnchorType anchorTypeForLegacyEditingPosition(Node* anchorNode, int offset);
228 return a.anchorNode() == b.anchorNode() && a.deprecatedEditingOffset() == b.deprecatedEditingOffset() && a.anchorType() == b.anchorType();
256 inline Position positionBeforeNode(Node* anchorNode) argument
258 ASSERT(anchorNode);
262 positionAfterNode(Node* anchorNode) argument
274 firstPositionInNode(Node* anchorNode) argument
281 lastPositionInNode(Node* anchorNode) argument
288 minOffsetForNode(Node* anchorNode, int offset) argument
300 offsetIsBeforeLastNodeOffset(int offset, Node* anchorNode) argument
[all...]
H A DPosition.cpp82 Position::Position(PassRefPtrWillBeRawPtr<Node> anchorNode, LegacyEditingOffset offset) argument
83 : m_anchorNode(anchorNode)
91 Position::Position(PassRefPtrWillBeRawPtr<Node> anchorNode, AnchorType anchorType) argument
92 : m_anchorNode(anchorNode)
104 Position::Position(PassRefPtrWillBeRawPtr<Node> anchorNode, int offset, AnchorType anchorType) argument
105 : m_anchorNode(anchorNode)
268 Position::AnchorType Position::anchorTypeForLegacyEditingPosition(Node* anchorNode, int offset) argument
270 if (anchorNode && editingIgnoresContent(anchorNode)) {
278 // FIXME: This method is confusing (does it return anchorNode() o
[all...]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DDOMEditor.cpp92 InsertBeforeAction(Node* parentNode, PassRefPtrWillBeRawPtr<Node> node, Node* anchorNode) argument
96 , m_anchorNode(anchorNode)
417 bool DOMEditor::insertBefore(Node* parentNode, PassRefPtrWillBeRawPtr<Node> node, Node* anchorNode, ExceptionState& exceptionState) argument
419 return m_history->perform(adoptRefWillBeNoop(new InsertBeforeAction(parentNode, node, anchorNode)), exceptionState);
467 bool DOMEditor::insertBefore(Node* parentNode, PassRefPtrWillBeRawPtr<Node> node, Node* anchorNode, ErrorString* errorString) argument
470 bool result = insertBefore(parentNode, node, anchorNode, exceptionState);
H A DDOMPatchSupport.cpp390 Node* anchorNode = NodeTraversal::childAt(*parentNode, oldMap[i].second); local
391 if (node == anchorNode)
396 if (!m_domEditor->insertBefore(parentNode, node.release(), anchorNode, exceptionState))
H A DInspectorDOMAgent.cpp1372 Node* anchorNode = 0;
1374 anchorNode = assertEditableChildNode(errorString, targetElement, *anchorNodeId);
1375 if (!anchorNode)
1385 if (!m_domEditor->insertBefore(targetElement, clonedNode, anchorNode, errorString))
1410 Node* anchorNode = 0; local
1412 anchorNode = assertEditableChildNode(errorString, targetElement, *anchorNodeId);
1413 if (!anchorNode)
1417 if (!m_domEditor->insertBefore(targetElement, node, anchorNode, errorString))
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DDOMSelection.cpp53 Node* node = frame->selection().selection().base().anchorNode();
102 Node* DOMSelection::anchorNode() const function in class:blink::DOMSelection
H A DCompositeEditCommand.cpp533 if (!isTabHTMLSpanElementTextNode(pos.anchorNode()))
544 return positionInParentBeforeNode(*pos.anchorNode());
546 return positionInParentAfterNode(*pos.anchorNode());
889 if (isHTMLBRElement(*p.anchorNode())) {
890 removeNode(p.anchorNode());
894 deleteTextFromNode(toText(p.anchorNode()), p.offsetInContainerNode(), 1);
972 void CompositeEditCommand::pushAnchorElementDown(Element* anchorNode) argument
974 if (!anchorNode)
977 ASSERT(anchorNode->isLink());
979 setEndingSelection(VisibleSelection::selectionFromContentsOfNode(anchorNode));
[all...]
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
H A DAXObjectCache.cpp1023 void AXObjectCache::handleScrolledToAnchor(const Node* anchorNode) argument
1027 postPlatformNotification(AXObject::firstAccessibleObjectFromNode(anchorNode), AXScrolledToAnchor);
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGSVGElement.cpp688 void SVGSVGElement::setupInitialView(const String& fragmentIdentifier, Element* anchorNode) argument
723 if (isSVGViewElement(anchorNode)) {
724 SVGViewElement& viewElement = toSVGViewElement(*anchorNode);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/elements/
H A DElementsTreeOutline.js717 var anchorNode; variable
725 anchorNode = dragTargetNode;
729 this._treeElementBeingDragged._node.moveTo(parentNode, anchorNode, this._selectNodeAfterEdit.bind(this, wasExpanded));
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DFrameView.cpp1383 Element* anchorNode = m_frame->document()->findAnchor(name); local
1386 m_frame->document()->setCSSTarget(anchorNode);
1390 svg->setupInitialView(name, anchorNode);
1391 if (!anchorNode)
1397 if (!anchorNode && !(name.isEmpty() || equalIgnoringCase(name, "top")))
1400 maintainScrollPositionAtAnchor(anchorNode ? static_cast<Node*>(anchorNode) : m_frame->document());
1403 // If anchorNode is not focusable, setFocusedElement() will still clear focus, which matches the behavior of other browsers.
1404 if (anchorNode)
1405 m_frame->document()->setFocusedElement(anchorNode);
1410 maintainScrollPositionAtAnchor(Node* anchorNode) argument
1897 RefPtrWillBeRawPtr<Node> anchorNode = m_maintainScrollPositionAnchor; local
[all...]
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DWebFrameTest.cpp1941 RefPtrWillBeRawPtr<Node> anchorNode = webViewHelper.webViewImpl()->mainFrameImpl()->frame()->eventHandler().hitTestResultAtPoint(anchorPoint, HitTestRequest::ReadOnly | HitTestRequest::Active).innerNode(); local
1942 ASSERT(anchorNode);
1946 = computeRelativeOffset(anchorPoint, anchorNode->boundingBox());
1950 = computeRelativeOffset(newAnchorPoint, anchorNode->boundingBox());

Completed in 5718 milliseconds