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

1 2

  /external/chromium_org/third_party/WebKit/Source/core/dom/
Position.h 83 Position(PassRefPtrWillBeRawPtr<Node> anchorNode, LegacyEditingOffset);
86 Position(PassRefPtrWillBeRawPtr<Node> anchorNode, AnchorType);
91 Position(PassRefPtrWillBeRawPtr<Node> anchorNode, int offset, AnchorType);
124 Node* anchorNode() const { return m_anchorNode.get(); }
141 void moveToPosition(PassRefPtrWillBeRawPtr<Node> anchorNode, int offset);
216 static AnchorType anchorTypeForLegacyEditingPosition(Node* anchorNode, int offset);
236 return a.anchorNode() == b.anchorNode() && a.deprecatedEditingOffset() == b.deprecatedEditingOffset() && a.anchorType() == b.anchorType();
264 inline Position positionBeforeNode(Node* anchorNode)
266 ASSERT(anchorNode);
    [all...]
PositionIterator.h 48 : m_anchorNode(pos.anchorNode())
Position.cpp 82 Position::Position(PassRefPtrWillBeRawPtr<Node> anchorNode, LegacyEditingOffset offset)
83 : m_anchorNode(anchorNode)
91 Position::Position(PassRefPtrWillBeRawPtr<Node> anchorNode, AnchorType anchorType)
92 : m_anchorNode(anchorNode)
104 Position::Position(PassRefPtrWillBeRawPtr<Node> anchorNode, int offset, AnchorType anchorType)
105 : 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/inspector/
DOMEditor.h 55 bool insertBefore(Node* parentNode, PassRefPtrWillBeRawPtr<Node>, Node* anchorNode, ExceptionState&);
64 bool insertBefore(Node* parentNode, PassRefPtrWillBeRawPtr<Node>, Node* anchorNode, ErrorString*);
DOMEditor.cpp 92 InsertBeforeAction(Node* parentNode, PassRefPtrWillBeRawPtr<Node> node, Node* anchorNode)
96 , m_anchorNode(anchorNode)
417 bool DOMEditor::insertBefore(Node* parentNode, PassRefPtrWillBeRawPtr<Node> node, Node* anchorNode, ExceptionState& exceptionState)
419 return m_history->perform(adoptRefWillBeNoop(new InsertBeforeAction(parentNode, node, anchorNode)), exceptionState);
467 bool DOMEditor::insertBefore(Node* parentNode, PassRefPtrWillBeRawPtr<Node> node, Node* anchorNode, ErrorString* errorString)
470 bool result = insertBefore(parentNode, node, anchorNode, exceptionState);
  /external/chromium_org/third_party/WebKit/Source/core/editing/
RenderedPosition.cpp 47 rendererNode = position.anchorNode()->lastChild();
55 rendererNode = position.anchorNode()->firstChild();
58 rendererNode = position.anchorNode()->lastChild();
62 rendererNode = position.anchorNode();
VisibleSelection.cpp 572 if (m_start.anchorNode()->treeScope() == m_end.anchorNode()->treeScope())
583 ASSERT(m_start.anchorNode()->treeScope() == m_end.anchorNode()->treeScope());
786 const unsigned nodeLength = position.anchorNode()->lengthOfContents();
802 if (!m_start.anchorNode())
805 fprintf(stderr, "pos: %s ", m_start.anchorNode()->nodeName().utf8().data());
808 fprintf(stderr, "start: %s ", m_start.anchorNode()->nodeName().utf8().data());
810 fprintf(stderr, "end: %s ", m_end.anchorNode()->nodeName().utf8().data());
840 if (start().anchorNode()) {
    [all...]
Caret.cpp 79 if (!position.anchorNode())
82 if (position.anchorNode() == node)
89 return element.containsIncludingShadowDOM(position.anchorNode());
CompositeEditCommand.cpp 522 if (!isTabSpanTextNode(pos.anchorNode()))
533 return positionInParentBeforeNode(*pos.anchorNode());
535 return positionInParentAfterNode(*pos.anchorNode());
    [all...]
htmlediting.cpp 156 Node* node = p.parentAnchoredEquivalent().anchorNode();
916 if (node.containsIncludingShadowDOM(position.anchorNode()))
920 if (node.containsIncludingShadowDOM(position.anchorNode()))
962 if (isHTMLBRElement(*position.anchorNode()) && position.atFirstEditingPositionForNode())
965 if (!position.anchorNode()->renderer())
    [all...]
IndentOutdentCommand.cpp 81 if (end.anchorNode() == selectedListItem.get() || end.anchorNode()->isDescendantOf(selectedListItem->lastChild())) {
FrameSelection.cpp 236 if (s.base().anchorNode()) {
304 if (!position.anchorNode())
307 if (position.anchorNode() == node)
314 return element.containsIncludingShadowDOM(position.anchorNode());
382 if (!position.anchorNode() || position.anchorNode() != node || position.anchorType() != Position::PositionIsOffsetInAnchor)
418 if (!position.anchorNode() || position.anchorType() != Position::PositionIsOffsetInAnchor)
424 if (position.anchorNode() == &oldNode)
427 if (position.anchorNode() == oldNode.parentNode() && positionOffset == offset)
446 if (!position.anchorNode() || position.anchorNode() != &oldNode || position.anchorType() != Position::PositionIsOffsetInAnc (…)
    [all...]
InputMethodController.cpp 322 Node* baseNode = base.anchorNode();
329 if (!baseNode || baseNode != m_frame.selection().extent().anchorNode())
DeleteSelectionCommand.cpp 281 if (shouldNotInheritStyleFrom(*m_selectionToDelete.start().anchorNode()))
625 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 50 if (isTabSpanTextNode(pos.anchorNode())) {
  /external/chromium_org/third_party/WebKit/Source/core/page/
DOMSelection.h 76 Node* anchorNode() const;
Selection.idl 36 readonly attribute Node anchorNode;
DOMSelection.cpp 52 Node* node = frame->selection().selection().base().anchorNode();
102 Node* DOMSelection::anchorNode() const
  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/
user_commands.js 117 var anchorNode = null;
125 if (sel == null || sel.anchorNode == null || sel.focusNode == null) {
126 anchorNode = cvox.ChromeVox.navigationManager.getCurrentNode();
129 anchorNode = sel.anchorNode;
133 // See if we can set focus to either anchorNode or focusNode.
135 if (anchorNode == null || focusNode == null) {
138 if (cvox.DomUtil.isFocusable(anchorNode)) {
139 anchorNode.focus();
146 if (cvox.DomUtil.isFocusable(anchorNode.parentNode))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/frame/
FrameView.cpp     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGSVGElement.h 109 void setupInitialView(const String& fragmentIdentifier, Element* anchorNode);
SVGSVGElement.cpp 696 void SVGSVGElement::setupInitialView(const String& fragmentIdentifier, Element* anchorNode)
731 if (isSVGViewElement(anchorNode)) {
732 SVGViewElement& viewElement = toSVGViewElement(*anchorNode);
  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
selection_util.js 461 if (!sel || !sel.anchorNode || !sel.focusNode) {
464 if (sel.anchorNode.tagName && (sel.anchorNode.tagName == tagName)) {
470 if (sel.anchorNode.parentNode.tagName &&
471 (sel.anchorNode.parentNode.tagName == tagName)) {
526 var cursorNode = sel.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()));
  /external/chromium_org/third_party/WebKit/Source/core/accessibility/
AXObjectCache.h 131 void handleScrolledToAnchor(const Node* anchorNode);

Completed in 898 milliseconds

1 2