HomeSort by relevance Sort by last modified time
    Searched refs:anchorNode (Results 1 - 25 of 40) 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(); }
140 void moveToPosition(PassRefPtr<Node> anchorNode, int offset);
215 static AnchorType anchorTypeForLegacyEditingPosition(Node* anchorNode, int offset);
235 return a.anchorNode() == b.anchorNode() && a.deprecatedEditingOffset() == b.deprecatedEditingOffset() && a.anchorType() == b.anchorType();
263 inline Position positionBeforeNode(Node* anchorNode)
265 ASSERT(anchorNode);
    [all...]
PositionIterator.h 47 : m_anchorNode(pos.anchorNode())
Position.cpp 83 Position::Position(PassRefPtr<Node> anchorNode, LegacyEditingOffset offset)
84 : m_anchorNode(anchorNode)
92 Position::Position(PassRefPtr<Node> anchorNode, AnchorType anchorType)
93 : m_anchorNode(anchorNode)
105 Position::Position(PassRefPtr<Node> anchorNode, int offset, AnchorType anchorType)
106 : m_anchorNode(anchorNode)
270 Position::AnchorType Position::anchorTypeForLegacyEditingPosition(Node* anchorNode, int offset)
272 if (anchorNode && editingIgnoresContent(anchorNode)) {
280 // 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/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)
361 bool DOMEditor::insertBefore(Node* parentNode, PassRefPtr<Node> node, Node* anchorNode, ExceptionState& exceptionState)
363 return m_history->perform(adoptPtr(new InsertBeforeAction(parentNode, node, anchorNode)), exceptionState);
412 bool DOMEditor::insertBefore(Node* parentNode, PassRefPtr<Node> node, Node* anchorNode, ErrorString* errorString)
415 bool result = insertBefore(parentNode, node, anchorNode, exceptionState);
DOMPatchSupport.cpp 389 Node* anchorNode = parentNode->childNode(oldMap[i].second);
390 if (node.get() == anchorNode)
395 if (!m_domEditor->insertBefore(parentNode, node.release(), anchorNode, exceptionState))
  /external/chromium_org/third_party/WebKit/Source/core/editing/
VisibleSelection.cpp 511 if (m_start.anchorNode()->treeScope() == m_end.anchorNode()->treeScope())
522 ASSERT(m_start.anchorNode()->treeScope() == m_end.anchorNode()->treeScope());
684 if (!m_start.anchorNode())
687 fprintf(stderr, "pos: %s ", m_start.anchorNode()->nodeName().utf8().data());
690 fprintf(stderr, "start: %s ", m_start.anchorNode()->nodeName().utf8().data());
692 fprintf(stderr, "end: %s ", m_end.anchorNode()->nodeName().utf8().data());
722 if (start().anchorNode()) {
723 start().anchorNode()->showTreeAndMark(start().anchorNode(), "S", end().anchorNode(), "E")
    [all...]
RenderedPosition.cpp 47 rendererNode = position.anchorNode()->lastChild();
55 rendererNode = position.anchorNode()->firstChild();
58 rendererNode = position.anchorNode()->lastChild();
62 rendererNode = position.anchorNode();
Caret.cpp 78 if (!position.anchorNode())
81 if (position.anchorNode() == node)
88 return element.containsIncludingShadowDOM(position.anchorNode());
CompositeEditCommand.cpp 552 if (!isTabSpanTextNode(pos.anchorNode()))
563 return positionInParentBeforeNode(pos.anchorNode());
565 return positionInParentAfterNode(pos.anchorNode());
    [all...]
IndentOutdentCommand.cpp 81 if (end.anchorNode() == selectedListItem.get() || end.anchorNode()->isDescendantOf(selectedListItem->lastChild())) {
ModifySelectionListLevel.cpp 55 Node* startListChild = enclosingListChild(selection.start().anchorNode());
60 Node* endListChild = selection.isRange() ? enclosingListChild(selection.end().anchorNode()) : startListChild;
htmlediting.cpp 955 if (node->containsIncludingShadowDOM(position.anchorNode()))
959 if (node->containsIncludingShadowDOM(position.anchorNode()))
1001 if (position.anchorNode()->hasTagName(brTag) && position.atFirstEditingPositionForNode())
1004 if (!position.anchorNode()->renderer())
    [all...]
FrameSelection.cpp 238 if (s.base().anchorNode()) {
303 if (!position.anchorNode())
306 if (position.anchorNode() == node)
313 return element.containsIncludingShadowDOM(position.anchorNode());
381 if (!position.anchorNode() || position.anchorNode() != node || position.anchorType() != Position::PositionIsOffsetInAnchor)
417 if (!position.anchorNode() || position.anchorType() != Position::PositionIsOffsetInAnchor)
423 if (position.anchorNode() == &oldNode)
426 if (position.anchorNode() == oldNode.parentNode() && positionOffset == offset)
445 if (!position.anchorNode() || position.anchorNode() != &oldNode || position.anchorType() != Position::PositionIsOffsetInAnc (…)
    [all...]
InputMethodController.cpp 314 Node* baseNode = base.anchorNode();
321 if (!baseNode || baseNode != m_frame.selection().extent().anchorNode())
DeleteSelectionCommand.cpp 291 if (shouldNotInheritStyleFrom(*m_selectionToDelete.start().anchorNode()))
629 if (!mergeDestination.deepEquivalent().deprecatedNode() || (!mergeDestination.deepEquivalent().deprecatedNode()->isDescendantOf(enclosingBlock(m_upstreamStart.containerNode())) && (!mergeDestination.deepEquivalent().anchorNode()->firstChild() || !m_upstreamStart.containerNode()->firstChild())) || (m_startsAtEmptyLine && mergeDestination != startOfParagraphToMove)) {
    [all...]
InsertTextCommand.cpp 59 if (isTabSpanTextNode(pos.anchorNode())) {
  /external/chromium_org/third_party/WebKit/Source/core/page/
DOMSelection.h 73 Node* anchorNode() const;
Selection.idl 35 readonly attribute Node anchorNode;
DOMSelection.cpp 51 Node* node = frame->selection().selection().base().anchorNode();
101 Node* DOMSelection::anchorNode() const
  /external/chromium_org/third_party/WebKit/Source/core/frame/
FrameView.cpp     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/accessibility/
AXObjectCache.h 129 void handleScrolledToAnchor(const Node* anchorNode);
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGSVGElement.cpp 685 void SVGSVGElement::setupInitialView(const String& fragmentIdentifier, Element* anchorNode)
720 if (anchorNode && anchorNode->hasTagName(SVGNames::viewTag)) {
721 SVGViewElement* viewElement = toSVGViewElement(anchorNode);
SVGSVGElement.h 124 void setupInitialView(const String& fragmentIdentifier, Element* anchorNode);
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLTextFormControlElement.cpp 614 || position.containerNode() || !position.anchorNode()->shadowHost()
615 || (position.anchorNode()->parentNode() && position.anchorNode()->parentNode()->isShadowRoot()));

Completed in 237 milliseconds

1 2