/external/webkit/Source/WebCore/dom/ |
H A D | Position.h | 68 Position(PassRefPtr<Node> anchorNode, int offset); 71 Position(PassRefPtr<Node> anchorNode, AnchorType); 73 Position(PassRefPtr<Node> anchorNode, int offset, AnchorType); 104 Node* anchorNode() const { return m_anchorNode.get(); } function in class:WebCore::Position 115 void moveToPosition(PassRefPtr<Node> anchorNode, int offset); 185 static AnchorType anchorTypeForLegacyEditingPosition(Node* anchorNode, int offset); 200 return a.anchorNode() == b.anchorNode() && a.deprecatedEditingOffset() == b.deprecatedEditingOffset() && a.anchorType() == b.anchorType(); 228 inline Position positionBeforeNode(Node* anchorNode) argument 230 ASSERT(anchorNode); 234 positionAfterNode(Node* anchorNode) argument 246 firstPositionInNode(Node* anchorNode) argument 251 lastPositionInNode(Node* anchorNode) argument [all...] |
H A D | PositionIterator.h | 47 : m_anchorNode(pos.anchorNode())
|
H A D | Position.cpp | 74 Position::Position(PassRefPtr<Node> anchorNode, int offset) argument 75 : m_anchorNode(anchorNode) 82 Position::Position(PassRefPtr<Node> anchorNode, AnchorType anchorType) argument 83 : m_anchorNode(anchorNode) 91 Position::Position(PassRefPtr<Node> anchorNode, int offset, AnchorType anchorType) argument 92 : m_anchorNode(anchorNode) 213 Position::AnchorType Position::anchorTypeForLegacyEditingPosition(Node* anchorNode, int offset) argument 215 if (anchorNode && editingIgnoresContent(anchorNode)) { 223 // FIXME: This method is confusing (does it return anchorNode() o [all...] |
/external/webkit/Source/WebCore/editing/ |
H A D | MoveSelectionCommand.cpp | 35 : CompositeEditCommand(position.anchorNode()->document()), m_fragment(fragment), m_position(position), m_smartInsert(smartInsert), m_smartDelete(smartDelete) 65 if (!pos.anchorNode()->inDocument()) 69 if (!pos.anchorNode()->inDocument()) {
|
H A D | SetSelectionCommand.cpp | 34 : SimpleEditCommand(selection.base().anchorNode()->document())
|
H A D | VisibleSelection.cpp | 126 return Range::create(start.anchorNode()->document(), start, end); 138 m_start.anchorNode()->document()->updateLayout(); 182 return Range::create(s.anchorNode()->document(), s, e); 587 if (!m_start.anchorNode()) 590 fprintf(stderr, "pos: %s ", m_start.anchorNode()->nodeName().utf8().data()); 593 fprintf(stderr, "start: %s ", m_start.anchorNode()->nodeName().utf8().data()); 595 fprintf(stderr, "end: %s ", m_end.anchorNode()->nodeName().utf8().data()); 625 if (start().anchorNode()) { 626 start().anchorNode()->showTreeAndMark(start().anchorNode(), " [all...] |
H A D | CompositeEditCommand.cpp | 345 if (!isTabSpanTextNode(pos.anchorNode())) 349 return positionInParentAfterNode(pos.anchorNode()); 351 return positionInParentBeforeNode(pos.anchorNode()); 679 if (p.anchorNode()->hasTagName(brTag)) { 680 removeNode(p.anchorNode()); 684 deleteTextFromNode(static_cast<Text*>(p.anchorNode()), p.offsetInContainerNode(), 1); 759 void CompositeEditCommand::pushAnchorElementDown(Node* anchorNode) argument 761 if (!anchorNode) 764 ASSERT(anchorNode->isLink()); 766 setEndingSelection(VisibleSelection::selectionFromContentsOfNode(anchorNode)); [all...] |
H A D | SelectionController.cpp | 158 if (s.base().anchorNode()) { 159 Document* document = s.base().anchorNode()->document(); 212 if (!position.anchorNode()) 215 if (position.anchorNode() == node) 222 return element->contains(position.anchorNode()) || element->contains(position.anchorNode()->shadowAncestorNode()); 270 RefPtr<Document> document = m_selection.start().anchorNode()->document(); 284 if (!position.anchorNode() || position.anchorNode() != node || position.anchorType() != Position::PositionIsOffsetInAnchor) 962 Frame* frame = pos.anchorNode() [all...] |
H A D | IndentOutdentCommand.cpp | 208 if (endAfterSelection.isNotNull() && !endAfterSelection.deepEquivalent().anchorNode()->inDocument()) 211 if (endOfNextParagraph.isNotNull() && !endOfNextParagraph.deepEquivalent().anchorNode()->inDocument()) {
|
H A D | InsertTextCommand.cpp | 53 if (isTabSpanTextNode(pos.anchorNode())) { 146 if (!startPosition.anchorNode()->inDocument())
|
H A D | ModifySelectionListLevel.cpp | 55 Node* startListChild = enclosingListChild(selection.start().anchorNode()); 60 Node* endListChild = selection.isRange() ? enclosingListChild(selection.end().anchorNode()) : startListChild;
|
H A D | DeleteSelectionCommand.cpp | 88 : CompositeEditCommand(selection.start().anchorNode()->document()), 328 if (node->contains(position.anchorNode())) 332 if (node->contains(position.anchorNode())) 517 if (m_downstreamEnd.deprecatedNode() != startNode && !m_upstreamStart.deprecatedNode()->isDescendantOf(m_downstreamEnd.deprecatedNode()) && m_downstreamEnd.anchorNode()->inDocument() && m_downstreamEnd.deprecatedEditingOffset() >= caretMinOffset(m_downstreamEnd.deprecatedNode())) { 534 } else if (!(startNodeWasDescendantOfEndNode && !m_upstreamStart.anchorNode()->inDocument())) { 586 if (!m_downstreamEnd.anchorNode()->inDocument() || !m_upstreamStart.anchorNode()->inDocument())
|
H A D | htmlediting.cpp | 998 if (position.anchorNode()->hasTagName(brTag) && position.atFirstEditingPositionForNode()) 1001 if (!position.anchorNode()->renderer()) 1004 if (!position.anchorNode()->isTextNode() || !position.anchorNode()->renderer()->style()->preserveNewline()) 1007 Text* textNode = static_cast<Text*>(position.anchorNode()); 1046 RefPtr<Range> range = Range::create(p.anchorNode()->document(), firstPositionInNode(p.anchorNode()->document()->documentElement()),
|
H A D | ApplyBlockElementCommand.cpp | 137 if (endAfterSelection.isNotNull() && !endAfterSelection.deepEquivalent().anchorNode()->inDocument()) 141 if (endOfNextParagraph.isNotNull() && !endOfNextParagraph.deepEquivalent().anchorNode()->inDocument()) {
|
/external/webkit/LayoutTests/fast/dom/Selection/script-tests/ |
H A D | getRangeAt.js | 18 debug("anchorNode: " + sel.anchorNode);
|
/external/webkit/Source/WebCore/accessibility/chromium/ |
H A D | AXObjectCacheChromium.cpp | 121 void AXObjectCache::handleScrolledToAnchor(const Node* anchorNode) argument 125 postPlatformNotification(AccessibilityObject::firstAccessibleObjectFromNode(anchorNode), AXScrolledToAnchor);
|
/external/webkit/Source/WebCore/accessibility/win/ |
H A D | AXObjectCacheWin.cpp | 55 void AXObjectCache::handleScrolledToAnchor(const Node* anchorNode) argument 59 postPlatformNotification(AccessibilityObject::firstAccessibleObjectFromNode(anchorNode), AXScrolledToAnchor);
|
/external/webkit/Source/WebCore/page/ |
H A D | DOMSelection.h | 70 Node* anchorNode() const;
|
H A D | DOMSelection.idl | 35 readonly attribute Node anchorNode;
|
H A D | FrameView.cpp | 1430 Element* anchorNode = m_frame->document()->findAnchor(name); local 1442 if (anchorNode && anchorNode->hasTagName(SVGNames::viewTag)) { 1443 RefPtr<SVGViewElement> viewElement = anchorNode->hasTagName(SVGNames::viewTag) ? static_cast<SVGViewElement*>(anchorNode) : 0; 1458 m_frame->document()->setCSSTarget(anchorNode); // Setting to null will clear the current target. 1461 if (!anchorNode && !(name.isEmpty() || equalIgnoringCase(name, "top"))) 1464 maintainScrollPositionAtAnchor(anchorNode ? static_cast<Node*>(anchorNode) : m_frame->document()); 1468 void FrameView::maintainScrollPositionAtAnchor(Node* anchorNode) argument 1937 RefPtr<Node> anchorNode = m_maintainScrollPositionAnchor; local [all...] |
H A D | DOMSelection.cpp | 46 Node* node = frame->selection()->selection().base().anchorNode(); 98 Node* DOMSelection::anchorNode() const function in class:WebCore::DOMSelection
|
/external/webkit/Source/WebKit/android/jni/ |
H A D | WebViewCore.cpp | 1571 Node* node = pos.anchorNode(); 1608 || !selection.start().anchorNode() 1609 || !selection.start().anchorNode()->renderer() 1610 || !selection.end().anchorNode() 1611 || !selection.end().anchorNode()->renderer()) 1712 Node* node = pos.anchorNode(); 2307 Node* anchorNode = selection->anchorNode(); 2308 if (anchorNode->isElementNode()) { 2325 anchorNode 2512 getNextAnchorNode(Node* anchorNode, bool ignoreFirstNode, int direction) argument 2543 Node* anchorNode = getImplicitBoundaryNode(selection->anchorNode(), local [all...] |
/external/chromium-trace/src/shared/js/cr/ui/ |
H A D | bubble.js | 109 set anchorNode(node) {
|
H A D | expandable_bubble.js | 67 set anchorNode(node) {
|
/external/webkit/Source/WebCore/accessibility/ |
H A D | AXObjectCache.h | 94 void handleScrolledToAnchor(const Node* anchorNode);
|