HomeSort by relevance Sort by last modified time
    Searched refs:anchorNode (Results 1 - 25 of 45) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/core/dom/
Position.h 82 Position(PassRefPtr<Node> anchorNode, LegacyEditingOffset);
85 Position(PassRefPtr<Node> anchorNode, AnchorType);
90 Position(PassRefPtr<Node> anchorNode, int offset, AnchorType);
123 Node* anchorNode() const { return m_anchorNode.get(); }
139 void moveToPosition(PassRefPtr<Node> anchorNode, int offset);
214 static AnchorType anchorTypeForLegacyEditingPosition(Node* anchorNode, int offset);
234 return a.anchorNode() == b.anchorNode() && a.deprecatedEditingOffset() == b.deprecatedEditingOffset() && a.anchorType() == b.anchorType();
262 inline Position positionBeforeNode(Node* anchorNode)
264 ASSERT(anchorNode);
    [all...]
PositionIterator.h 47 : m_anchorNode(pos.anchorNode())
Position.cpp 81 Position::Position(PassRefPtr<Node> anchorNode, LegacyEditingOffset offset)
82 : m_anchorNode(anchorNode)
90 Position::Position(PassRefPtr<Node> anchorNode, AnchorType anchorType)
91 : m_anchorNode(anchorNode)
103 Position::Position(PassRefPtr<Node> anchorNode, int offset, AnchorType anchorType)
104 : m_anchorNode(anchorNode)
268 Position::AnchorType Position::anchorTypeForLegacyEditingPosition(Node* anchorNode, int offset)
270 if (anchorNode && editingIgnoresContent(anchorNode)) {
278 // FIXME: This method is confusing (does it return anchorNode() or containerNode()?) and should be renamed or remove
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/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())
71 if (!pos.anchorNode()->inDocument()) {
SetSelectionCommand.cpp 35 : SimpleEditCommand(selection.base().anchorNode()->document())
VisibleSelection.cpp 136 return Range::create(start.anchorNode()->document(), start, end);
148 m_start.anchorNode()->document()->updateLayout();
192 return Range::create(s.anchorNode()->document(), s, e);
509 if (m_start.anchorNode()->treeScope() == m_end.anchorNode()->treeScope())
520 ASSERT(m_start.anchorNode()->treeScope() == m_end.anchorNode()->treeScope());
682 if (!m_start.anchorNode())
685 fprintf(stderr, "pos: %s ", m_start.anchorNode()->nodeName().utf8().data());
688 fprintf(stderr, "start: %s ", m_start.anchorNode()->nodeName().utf8().data())
    [all...]
Caret.cpp 83 if (!position.anchorNode())
86 if (position.anchorNode() == node)
93 return element->containsIncludingShadowDOM(position.anchorNode());
98 RefPtr<Document> document = position.anchorNode()->document();
RenderedPosition.cpp 48 rendererNode = position.anchorNode()->lastChild();
56 rendererNode = position.anchorNode()->firstChild();
59 rendererNode = position.anchorNode()->lastChild();
63 rendererNode = position.anchorNode();
CompositeEditCommand.cpp 532 if (!isTabSpanTextNode(pos.anchorNode()))
543 return positionInParentBeforeNode(pos.anchorNode());
545 return positionInParentAfterNode(pos.anchorNode());
    [all...]
htmlediting.cpp 964 if (node->containsIncludingShadowDOM(position.anchorNode()))
968 if (node->containsIncludingShadowDOM(position.anchorNode()))
    [all...]
DeleteSelectionCommand.cpp 89 : CompositeEditCommand(selection.start().anchorNode()->document())
291 if (shouldNotInheritStyleFrom(*m_selectionToDelete.start().anchorNode()))
535 if (m_downstreamEnd.deprecatedNode() != startNode && !m_upstreamStart.deprecatedNode()->isDescendantOf(m_downstreamEnd.deprecatedNode()) && m_downstreamEnd.anchorNode()->inDocument() && m_downstreamEnd.deprecatedEditingOffset() >= caretMinOffset(m_downstreamEnd.deprecatedNode())) {
552 } else if (!(startNodeWasDescendantOfEndNode && !m_upstreamStart.anchorNode()->inDocument())) {
604 if (!m_downstreamEnd.anchorNode()->inDocument() || !m_upstreamStart.anchorNode()->inDocument())
    [all...]
IndentOutdentCommand.cpp 209 if (endAfterSelection.isNotNull() && !endAfterSelection.deepEquivalent().anchorNode()->inDocument())
212 if (endOfNextParagraph.isNotNull() && !endOfNextParagraph.deepEquivalent().anchorNode()->inDocument()) {
InsertTextCommand.cpp 59 if (isTabSpanTextNode(pos.anchorNode())) {
178 if (!startPosition.anchorNode()->inDocument())
ModifySelectionListLevel.cpp 55 Node* startListChild = enclosingListChild(selection.start().anchorNode());
60 Node* endListChild = selection.isRange() ? enclosingListChild(selection.end().anchorNode()) : startListChild;
FrameSelection.cpp 242 if (s.base().anchorNode()) {
243 Document* document = s.base().anchorNode()->document();
307 if (!position.anchorNode())
310 if (position.anchorNode() == node)
317 return element->containsIncludingShadowDOM(position.anchorNode());
322 RefPtr<Document> document = position.anchorNode()->document();
391 if (!position.anchorNode() || position.anchorNode() != node || position.anchorType() != Position::PositionIsOffsetInAnchor)
562 if (Node* rootUserSelectAll = Position::rootUserSelectAllForNode(pos.deepEquivalent().anchorNode()))
    [all...]
ApplyBlockElementCommand.cpp 145 if (endAfterSelection.isNotNull() && !endAfterSelection.deepEquivalent().anchorNode()->inDocument())
149 if (endOfNextParagraph.isNotNull() && !endOfNextParagraph.deepEquivalent().anchorNode()->inDocument()) {
InputMethodController.cpp 318 Node* baseNode = base.anchorNode();
325 if (!baseNode || baseNode != m_frame->selection()->extent().anchorNode())
InsertParagraphSeparatorCommand.cpp 84 m_style->mergeTypingStyle(pos.anchorNode()->document());
304 if (visiblePos.deepEquivalent().anchorNode()->renderer()->isBR()) {
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
DOMEditor.h 52 bool insertBefore(Node* parentNode, PassRefPtr<Node>, Node* anchorNode, ExceptionState&);
61 bool insertBefore(Node* parentNode, PassRefPtr<Node>, Node* anchorNode, ErrorString*);
DOMEditor.cpp 86 InsertBeforeAction(Node* parentNode, PassRefPtr<Node> node, Node* anchorNode)
90 , m_anchorNode(anchorNode)
360 bool DOMEditor::insertBefore(Node* parentNode, PassRefPtr<Node> node, Node* anchorNode, ExceptionState& es)
362 return m_history->perform(adoptPtr(new InsertBeforeAction(parentNode, node, anchorNode)), es);
411 bool DOMEditor::insertBefore(Node* parentNode, PassRefPtr<Node> node, Node* anchorNode, ErrorString* errorString)
414 bool result = insertBefore(parentNode, node, anchorNode, es);
  /external/chromium_org/third_party/WebKit/Source/core/page/
DOMSelection.h 73 Node* anchorNode() const;
Selection.idl 35 readonly attribute Node anchorNode;
FrameView.cpp     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGSVGElement.cpp 682 void SVGSVGElement::setupInitialView(const String& fragmentIdentifier, Element* anchorNode)
717 if (anchorNode && anchorNode->hasTagName(SVGNames::viewTag)) {
718 if (SVGViewElement* viewElement = anchorNode->hasTagName(SVGNames::viewTag) ? static_cast<SVGViewElement*>(anchorNode) : 0) {
SVGSVGElement.h 123 void setupInitialView(const String& fragmentIdentifier, Element* anchorNode);

Completed in 528 milliseconds

1 2