/external/webkit/Source/WebCore/dom/ |
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(); } 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) 230 ASSERT(anchorNode); [all...] |
PositionIterator.h | 47 : m_anchorNode(pos.anchorNode())
|
Position.cpp | 74 Position::Position(PassRefPtr<Node> anchorNode, int offset) 75 : m_anchorNode(anchorNode) 82 Position::Position(PassRefPtr<Node> anchorNode, AnchorType anchorType) 83 : m_anchorNode(anchorNode) 91 Position::Position(PassRefPtr<Node> anchorNode, int offset, AnchorType anchorType) 92 : m_anchorNode(anchorNode) 213 Position::AnchorType Position::anchorTypeForLegacyEditingPosition(Node* anchorNode, int offset) 215 if (anchorNode && editingIgnoresContent(anchorNode)) { 223 // FIXME: This method is confusing (does it return anchorNode() or containerNode()?) and should be renamed or remove [all...] |
/external/webkit/Source/WebCore/editing/ |
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()) {
|
SetSelectionCommand.cpp | 34 : SimpleEditCommand(selection.base().anchorNode()->document())
|
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(), "S", end().anchorNode(), "E") [all...] |
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) 761 if (!anchorNode) 764 ASSERT(anchorNode->isLink()); 766 setEndingSelection(VisibleSelection::selectionFromContentsOfNode(anchorNode)); [all...] |
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) [all...] |
IndentOutdentCommand.cpp | 208 if (endAfterSelection.isNotNull() && !endAfterSelection.deepEquivalent().anchorNode()->inDocument()) 211 if (endOfNextParagraph.isNotNull() && !endOfNextParagraph.deepEquivalent().anchorNode()->inDocument()) {
|
InsertTextCommand.cpp | 53 if (isTabSpanTextNode(pos.anchorNode())) { 146 if (!startPosition.anchorNode()->inDocument())
|
ModifySelectionListLevel.cpp | 55 Node* startListChild = enclosingListChild(selection.start().anchorNode()); 60 Node* endListChild = selection.isRange() ? enclosingListChild(selection.end().anchorNode()) : startListChild;
|
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()) [all...] |
htmlediting.cpp | [all...] |
ApplyBlockElementCommand.cpp | 137 if (endAfterSelection.isNotNull() && !endAfterSelection.deepEquivalent().anchorNode()->inDocument()) 141 if (endOfNextParagraph.isNotNull() && !endOfNextParagraph.deepEquivalent().anchorNode()->inDocument()) {
|
InsertParagraphSeparatorCommand.cpp | 84 m_style->mergeTypingStyle(pos.anchorNode()->document());
|
InsertListCommand.cpp | 146 if (!startOfLastParagraph.deepEquivalent().anchorNode()->inDocument())
|
/external/webkit/LayoutTests/fast/dom/Selection/script-tests/ |
getRangeAt.js | 18 debug("anchorNode: " + sel.anchorNode);
|
/external/webkit/Source/WebCore/accessibility/chromium/ |
AXObjectCacheChromium.cpp | 121 void AXObjectCache::handleScrolledToAnchor(const Node* anchorNode) 125 postPlatformNotification(AccessibilityObject::firstAccessibleObjectFromNode(anchorNode), AXScrolledToAnchor);
|
/external/webkit/Source/WebCore/accessibility/win/ |
AXObjectCacheWin.cpp | 55 void AXObjectCache::handleScrolledToAnchor(const Node* anchorNode) 59 postPlatformNotification(AccessibilityObject::firstAccessibleObjectFromNode(anchorNode), AXScrolledToAnchor);
|
/external/webkit/Source/WebCore/page/ |
DOMSelection.h | 70 Node* anchorNode() const;
|
DOMSelection.idl | 35 readonly attribute Node anchorNode;
|
FrameView.cpp | [all...] |
DOMSelection.cpp | 46 Node* node = frame->selection()->selection().base().anchorNode(); 98 Node* DOMSelection::anchorNode() const
|
/external/webkit/Source/WebKit/android/jni/ |
WebViewCore.cpp | [all...] |
/external/webkit/Source/WebCore/accessibility/ |
AXObjectCache.h | 94 void handleScrolledToAnchor(const Node* anchorNode);
|