Searched refs:anchorNode (Results 1 - 14 of 14) sorted by relevance

/external/webkit/WebCore/dom/
H A DPosition.h72 Position(PassRefPtr<Node> anchorNode, int offset);
75 Position(PassRefPtr<Node> anchorNode, AnchorType);
77 Position(PassRefPtr<Node> anchorNode, int offset, AnchorType);
106 Node* anchorNode() const { return m_anchorNode.get(); } function in class:WebCore::Position
115 void moveToPosition(PassRefPtr<Node> anchorNode, int offset);
177 static AnchorType anchorTypeForLegacyEditingPosition(Node* anchorNode, int offset);
192 return a.anchorNode() == b.anchorNode() && a.deprecatedEditingOffset() == b.deprecatedEditingOffset();
220 inline Position positionBeforeNode(Node* anchorNode) argument
222 ASSERT(anchorNode);
226 positionAfterNode(Node* anchorNode) argument
238 firstPositionInNode(Node* anchorNode) argument
243 lastPositionInNode(Node* anchorNode) argument
[all...]
H A DPositionIterator.h47 : m_anchorNode(pos.anchorNode())
H A DPosition.cpp76 Position::Position(PassRefPtr<Node> anchorNode, int offset) argument
77 : m_anchorNode(anchorNode)
84 Position::Position(PassRefPtr<Node> anchorNode, AnchorType anchorType) argument
85 : m_anchorNode(anchorNode)
93 Position::Position(PassRefPtr<Node> anchorNode, int offset, AnchorType anchorType) argument
94 : m_anchorNode(anchorNode)
185 Position::AnchorType Position::anchorTypeForLegacyEditingPosition(Node* anchorNode, int offset) argument
187 if (anchorNode && editingIgnoresContent(anchorNode)) {
195 // FIXME: This method is confusing (does it return anchorNode() o
[all...]
/external/webkit/WebCore/editing/
H A Dhtmlediting.h127 inline Position firstDeepEditingPositionForNode(Node* anchorNode) argument
129 ASSERT(anchorNode);
130 return Position(anchorNode, 0);
133 inline Position lastDeepEditingPositionForNode(Node* anchorNode) argument
135 ASSERT(anchorNode);
136 return Position(anchorNode, lastOffsetForEditing(anchorNode));
H A DCompositeEditCommand.cpp627 if (p.anchorNode()->hasTagName(brTag)) {
628 removeNode(p.anchorNode());
632 deleteTextFromNode(static_cast<Text*>(p.anchorNode()), p.offsetInContainerNode(), 1);
704 void CompositeEditCommand::pushAnchorElementDown(Node* anchorNode) argument
706 if (!anchorNode)
709 ASSERT(anchorNode->isLink());
711 setEndingSelection(VisibleSelection::selectionFromContentsOfNode(anchorNode));
712 applyStyledElement(static_cast<Element*>(anchorNode));
713 // Clones of anchorNode have been pushed down, now remove it.
714 if (anchorNode
[all...]
H A DReplaceSelectionCommand.cpp1190 if (start.anchorNode() != end.anchorNode() || !start.anchorNode()->isTextNode())
1193 replaceTextInNode(static_cast<Text*>(start.anchorNode()), start.offsetInContainerNode(), end.offsetInContainerNode() - start.offsetInContainerNode(), text);
1195 end = Position(start.anchorNode(), start.offsetInContainerNode() + text.length());
H A Dhtmlediting.cpp1035 if (position.anchorNode()->hasTagName(brTag) && position.atFirstEditingPositionForNode())
1038 if (!position.anchorNode()->isTextNode() || !position.anchorNode()->renderer()->style()->preserveNewline())
1041 Text* textNode = static_cast<Text*>(position.anchorNode());
/external/webkit/WebCore/accessibility/win/
H A DAXObjectCacheWin.cpp55 void AXObjectCache::handleScrolledToAnchor(const Node* anchorNode) argument
59 postPlatformNotification(AccessibilityObject::firstAccessibleObjectFromNode(anchorNode), AXScrolledToAnchor);
/external/webkit/WebCore/page/
H A DDOMSelection.h71 Node* anchorNode() const;
H A DDOMSelection.idl35 readonly attribute Node anchorNode;
H A DFrameView.cpp890 Element* anchorNode = m_frame->document()->findAnchor(name); local
902 if (anchorNode && anchorNode->hasTagName(SVGNames::viewTag)) {
903 RefPtr<SVGViewElement> viewElement = anchorNode->hasTagName(SVGNames::viewTag) ? static_cast<SVGViewElement*>(anchorNode) : 0;
915 m_frame->document()->setCSSTarget(anchorNode); // Setting to null will clear the current target.
918 if (!anchorNode && !(name.isEmpty() || equalIgnoringCase(name, "top")))
925 maintainScrollPositionAtAnchor(anchorNode ? static_cast<Node*>(anchorNode) : m_frame->document());
932 void FrameView::maintainScrollPositionAtAnchor(Node* anchorNode) argument
1366 RefPtr<Node> anchorNode = m_maintainScrollPositionAnchor; local
[all...]
H A DDOMSelection.cpp46 Node* node = frame->selection()->selection().base().anchorNode();
98 Node* DOMSelection::anchorNode() const function in class:WebCore::DOMSelection
/external/webkit/WebCore/accessibility/
H A DAXObjectCache.h90 void handleScrolledToAnchor(const Node* anchorNode);
/external/webkit/WebKit/android/nav/
H A DCacheBuilder.cpp1207 const HTMLAnchorElement* anchorNode = local
1209 if (!anchorNode->isFocusable() && !HasTriggerEvent(node))
1215 KURL href = anchorNode->href();

Completed in 118 milliseconds