/external/webkit/Source/WebCore/dom/ |
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(); } in anchorNode() function 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.deprecatedEditingOffse… 228 inline Position positionBeforeNode(Node* anchorNode) in positionBeforeNode() argument 230 ASSERT(anchorNode); in positionBeforeNode() 231 return Position(anchorNode, Position::PositionIsBeforeAnchor); in positionBeforeNode() [all …]
|
D | Position.cpp | 74 Position::Position(PassRefPtr<Node> anchorNode, int offset) in Position() argument 75 : m_anchorNode(anchorNode) in Position() 82 Position::Position(PassRefPtr<Node> anchorNode, AnchorType anchorType) in Position() argument 83 : m_anchorNode(anchorNode) in Position() 91 Position::Position(PassRefPtr<Node> anchorNode, int offset, AnchorType anchorType) in Position() argument 92 : m_anchorNode(anchorNode) in Position() 213 Position::AnchorType Position::anchorTypeForLegacyEditingPosition(Node* anchorNode, int offset) in anchorTypeForLegacyEditingPosition() argument 215 if (anchorNode && editingIgnoresContent(anchorNode)) { in anchorTypeForLegacyEditingPosition() 226 Node* n = anchorNode(); in element() 1269 if (anchorNode()) { in showTreeForThis() [all …]
|
D | PositionIterator.h | 47 : m_anchorNode(pos.anchorNode()) in PositionIterator()
|
/external/webkit/Source/WebCore/editing/ |
D | VisibleSelection.cpp | 126 return Range::create(start.anchorNode()->document(), start, end); in firstRange() 138 m_start.anchorNode()->document()->updateLayout(); in toNormalizedRange() 182 return Range::create(s.anchorNode()->document(), s, e); in toNormalizedRange() 587 if (!m_start.anchorNode()) in debugPosition() 590 fprintf(stderr, "pos: %s ", m_start.anchorNode()->nodeName().utf8().data()); in debugPosition() 593 fprintf(stderr, "start: %s ", m_start.anchorNode()->nodeName().utf8().data()); in debugPosition() 595 fprintf(stderr, "end: %s ", m_end.anchorNode()->nodeName().utf8().data()); in debugPosition() 625 if (start().anchorNode()) { in showTreeForThis() 626 start().anchorNode()->showTreeAndMark(start().anchorNode(), "S", end().anchorNode(), "E"); in showTreeForThis()
|
D | MoveSelectionCommand.cpp | 35 …: CompositeEditCommand(position.anchorNode()->document()), m_fragment(fragment), m_position(positi… in MoveSelectionCommand() 65 if (!pos.anchorNode()->inDocument()) in doApply() 69 if (!pos.anchorNode()->inDocument()) { in doApply()
|
D | CompositeEditCommand.cpp | 345 if (!isTabSpanTextNode(pos.anchorNode())) in positionOutsideTabSpan() 349 return positionInParentAfterNode(pos.anchorNode()); in positionOutsideTabSpan() 351 return positionInParentBeforeNode(pos.anchorNode()); in positionOutsideTabSpan() 679 if (p.anchorNode()->hasTagName(brTag)) { in removePlaceholderAt() 680 removeNode(p.anchorNode()); in removePlaceholderAt() 684 deleteTextFromNode(static_cast<Text*>(p.anchorNode()), p.offsetInContainerNode(), 1); in removePlaceholderAt() 759 void CompositeEditCommand::pushAnchorElementDown(Node* anchorNode) in pushAnchorElementDown() argument 761 if (!anchorNode) in pushAnchorElementDown() 764 ASSERT(anchorNode->isLink()); in pushAnchorElementDown() 766 setEndingSelection(VisibleSelection::selectionFromContentsOfNode(anchorNode)); in pushAnchorElementDown() [all …]
|
D | SelectionController.cpp | 158 if (s.base().anchorNode()) { in setSelection() 159 Document* document = s.base().anchorNode()->document(); in setSelection() 212 if (!position.anchorNode()) in removingNodeRemovesPosition() 215 if (position.anchorNode() == node) in removingNodeRemovesPosition() 222 …return element->contains(position.anchorNode()) || element->contains(position.anchorNode()->shadow… in removingNodeRemovesPosition() 270 RefPtr<Document> document = m_selection.start().anchorNode()->document(); in respondToNodeModification() 284 …if (!position.anchorNode() || position.anchorNode() != node || position.anchorType() != Position::… in shouldRemovePositionAfterAdoptingTextReplacement() 962 Frame* frame = pos.anchorNode()->document()->frame(); in xPosForVerticalArrowNavigation() 1039 …if (isNone() || !m_selection.start().anchorNode()->inDocument() || !m_selection.end().anchorNode()… in updateCaretRect() 1044 m_selection.start().anchorNode()->document()->updateStyleIfNeeded(); in updateCaretRect() [all …]
|
D | DeleteSelectionCommand.cpp | 88 : CompositeEditCommand(selection.start().anchorNode()->document()), in DeleteSelectionCommand() 328 if (node->contains(position.anchorNode())) in updatePositionForNodeRemoval() 332 if (node->contains(position.anchorNode())) in updatePositionForNodeRemoval() 517 …)->isDescendantOf(m_downstreamEnd.deprecatedNode()) && m_downstreamEnd.anchorNode()->inDocument() … in handleGeneralDelete() 534 … } else if (!(startNodeWasDescendantOfEndNode && !m_upstreamStart.anchorNode()->inDocument())) { in handleGeneralDelete() 586 if (!m_downstreamEnd.anchorNode()->inDocument() || !m_upstreamStart.anchorNode()->inDocument()) in mergeParagraphs()
|
D | SetSelectionCommand.cpp | 34 : SimpleEditCommand(selection.base().anchorNode()->document()) in SetSelectionCommand()
|
D | InsertTextCommand.cpp | 53 if (isTabSpanTextNode(pos.anchorNode())) { in positionInsideTextNode() 146 if (!startPosition.anchorNode()->inDocument()) in input()
|
D | htmlediting.cpp | 998 if (position.anchorNode()->hasTagName(brTag) && position.atFirstEditingPositionForNode()) in lineBreakExistsAtPosition() 1001 if (!position.anchorNode()->renderer()) in lineBreakExistsAtPosition() 1004 …if (!position.anchorNode()->isTextNode() || !position.anchorNode()->renderer()->style()->preserveN… in lineBreakExistsAtPosition() 1007 Text* textNode = static_cast<Text*>(position.anchorNode()); in lineBreakExistsAtPosition() 1046 …RefPtr<Range> range = Range::create(p.anchorNode()->document(), firstPositionInNode(p.anchorNode()… in indexForVisiblePosition()
|
D | IndentOutdentCommand.cpp | 208 …if (endAfterSelection.isNotNull() && !endAfterSelection.deepEquivalent().anchorNode()->inDocument(… in outdentRegion() 211 …if (endOfNextParagraph.isNotNull() && !endOfNextParagraph.deepEquivalent().anchorNode()->inDocumen… in outdentRegion()
|
D | ModifySelectionListLevel.cpp | 55 Node* startListChild = enclosingListChild(selection.start().anchorNode()); in getStartEndListChildren() 60 …Node* endListChild = selection.isRange() ? enclosingListChild(selection.end().anchorNode()) : star… in getStartEndListChildren()
|
D | ApplyBlockElementCommand.cpp | 137 …if (endAfterSelection.isNotNull() && !endAfterSelection.deepEquivalent().anchorNode()->inDocument(… in formatSelection() 141 …if (endOfNextParagraph.isNotNull() && !endOfNextParagraph.deepEquivalent().anchorNode()->inDocumen… in formatSelection()
|
/external/webkit/Source/WebCore/accessibility/win/ |
D | AXObjectCacheWin.cpp | 55 void AXObjectCache::handleScrolledToAnchor(const Node* anchorNode) in handleScrolledToAnchor() argument 59 …postPlatformNotification(AccessibilityObject::firstAccessibleObjectFromNode(anchorNode), AXScrolle… in handleScrolledToAnchor()
|
/external/webkit/Source/WebCore/accessibility/chromium/ |
D | AXObjectCacheChromium.cpp | 121 void AXObjectCache::handleScrolledToAnchor(const Node* anchorNode) in handleScrolledToAnchor() argument 125 …postPlatformNotification(AccessibilityObject::firstAccessibleObjectFromNode(anchorNode), AXScrolle… in handleScrolledToAnchor()
|
/external/webkit/Source/WebCore/page/ |
D | FrameView.cpp | 1430 Element* anchorNode = m_frame->document()->findAnchor(name); in scrollToAnchor() local 1442 if (anchorNode && anchorNode->hasTagName(SVGNames::viewTag)) { in scrollToAnchor() 1443 …fPtr<SVGViewElement> viewElement = anchorNode->hasTagName(SVGNames::viewTag) ? static_cast<SVGView… in scrollToAnchor() 1458 m_frame->document()->setCSSTarget(anchorNode); // Setting to null will clear the current target. in scrollToAnchor() 1461 if (!anchorNode && !(name.isEmpty() || equalIgnoringCase(name, "top"))) in scrollToAnchor() 1464 … maintainScrollPositionAtAnchor(anchorNode ? static_cast<Node*>(anchorNode) : m_frame->document()); in scrollToAnchor() 1468 void FrameView::maintainScrollPositionAtAnchor(Node* anchorNode) in maintainScrollPositionAtAnchor() argument 1470 m_maintainScrollPositionAnchor = anchorNode; in maintainScrollPositionAtAnchor() 1937 RefPtr<Node> anchorNode = m_maintainScrollPositionAnchor; in scrollToAnchor() local 1938 if (!anchorNode) in scrollToAnchor() [all …]
|
D | DOMSelection.h | 70 Node* anchorNode() const;
|
D | DOMSelection.cpp | 46 Node* node = frame->selection()->selection().base().anchorNode(); in selectionShadowAncestor() 98 Node* DOMSelection::anchorNode() const in anchorNode() function in WebCore::DOMSelection
|
D | DOMSelection.idl | 35 readonly attribute Node anchorNode;
|
/external/webkit/Source/WebKit/android/jni/ |
D | WebViewCore.cpp | 1571 Node* node = pos.anchorNode(); in setSelectionCaretInfo() 1608 || !selection.start().anchorNode() in createSelectText() 1609 || !selection.start().anchorNode()->renderer() in createSelectText() 1610 || !selection.end().anchorNode() in createSelectText() 1611 || !selection.end().anchorNode()->renderer()) in createSelectText() 1712 Node* node = pos.anchorNode(); in trimSelectionPosition() 2307 Node* anchorNode = selection->anchorNode(); in modifySelectionTextNavigationAxis() local 2308 if (anchorNode->isElementNode()) { in modifySelectionTextNavigationAxis() 2325 anchorNode = selection->anchorNode(); in modifySelectionTextNavigationAxis() 2326 if (anchorNode->isTextNode()) { in modifySelectionTextNavigationAxis() [all …]
|
/external/webkit/LayoutTests/fast/dom/Selection/script-tests/ |
D | getRangeAt.js | 18 debug("anchorNode: " + sel.anchorNode);
|
/external/chromium-trace/src/shared/js/cr/ui/ |
D | bubble.js | 109 set anchorNode(node) { setter in Bubble
|
D | expandable_bubble.js | 67 set anchorNode(node) { setter in ExpandableBubble
|
/external/webkit/Source/WebCore/accessibility/ |
D | AXObjectCache.h | 94 void handleScrolledToAnchor(const Node* anchorNode);
|