/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Position.h | 82 Position(PassRefPtrWillBeRawPtr<Node> anchorNode, LegacyEditingOffset); 85 Position(PassRefPtrWillBeRawPtr<Node> anchorNode, AnchorType); 90 Position(PassRefPtrWillBeRawPtr<Node> anchorNode, int offset, AnchorType); 123 Node* anchorNode() const { return m_anchorNode.get(); } 140 void moveToPosition(PassRefPtrWillBeRawPtr<Node> anchorNode, int offset); 208 static AnchorType anchorTypeForLegacyEditingPosition(Node* anchorNode, int offset); 228 return a.anchorNode() == b.anchorNode() && a.deprecatedEditingOffset() == b.deprecatedEditingOffset() && a.anchorType() == b.anchorType(); 256 inline Position positionBeforeNode(Node* anchorNode) 258 ASSERT(anchorNode); [all...] |
PositionIterator.h | 49 : 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/html/ |
HTMLTextFormControlElement.cpp | 319 if (!innerEditor || !innerEditor->contains(passedPosition.anchorNode()) || passedPosition.isNull()) 376 ASSERT(startPosition.anchorNode()->shadowHost() == this 377 && endPosition.anchorNode()->shadowHost() == this); 689 || position.containerNode() || !position.anchorNode()->shadowHost() 690 || (position.anchorNode()->parentNode() && position.anchorNode()->parentNode()->isShadowRoot())); 731 HTMLElement* element = toHTMLElement(innerPosition.anchorNode()); 771 if (startPosition.anchorNode()->isTextNode()) 773 if (endPosition.anchorNode()->isTextNode()) 777 for (Node* node = startPosition.anchorNode(); node; node = NodeTraversal::next(*node, innerEditor)) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
DOMSelection.h | 77 Node* anchorNode() const;
|
RenderedPosition.cpp | 49 rendererNode = position.anchorNode()->lastChild(); 57 rendererNode = position.anchorNode()->firstChild(); 60 rendererNode = position.anchorNode()->lastChild(); 64 rendererNode = position.anchorNode();
|
VisibleSelection.cpp | 586 if (m_start.anchorNode()->treeScope() == m_end.anchorNode()->treeScope()) 597 ASSERT(m_start.anchorNode()->treeScope() == m_end.anchorNode()->treeScope()); 800 const unsigned nodeLength = position.anchorNode()->lengthOfContents(); 816 if (!m_start.anchorNode()) 819 fprintf(stderr, "pos: %s ", m_start.anchorNode()->nodeName().utf8().data()); 822 fprintf(stderr, "start: %s ", m_start.anchorNode()->nodeName().utf8().data()); 824 fprintf(stderr, "end: %s ", m_end.anchorNode()->nodeName().utf8().data()); 854 if (start().anchorNode()) { [all...] |
Selection.idl | 42 readonly attribute Node anchorNode;
|
htmlediting.cpp | 156 Node* node = p.parentAnchoredEquivalent().anchorNode(); 920 Element* fromRootEditableElement = position.anchorNode()->rootEditableElement(); 929 if (currentPos.anchorNode()->rootEditableElement() != fromRootEditableElement) 950 if (isHTMLBRElement(*position.upstream().anchorNode())) 954 if (prev != position && inSameContainingBlockFlowElement(prev.anchorNode(), position.anchorNode()) && pr (…) [all...] |
Caret.cpp | 88 if (!position.anchorNode()) 91 if (position.anchorNode() == node) 98 return element.containsIncludingShadowDOM(position.anchorNode());
|
CompositeEditCommand.cpp | 533 if (!isTabHTMLSpanElementTextNode(pos.anchorNode())) 544 return positionInParentBeforeNode(*pos.anchorNode()); 546 return positionInParentAfterNode(*pos.anchorNode()); [all...] |
IndentOutdentCommand.cpp | 85 if (end.anchorNode() == selectedListItem.get() || end.anchorNode()->isDescendantOf(selectedListItem->lastChild())) {
|
FrameSelection.cpp | 238 if (s.base().anchorNode()) { 306 if (!position.anchorNode()) 309 if (position.anchorNode() == node) 316 return element.containsIncludingShadowDOM(position.anchorNode()); 380 if (!position.anchorNode() || position.anchorNode() != node || position.anchorType() != Position::PositionIsOffsetInAnchor) 416 if (!position.anchorNode() || position.anchorType() != Position::PositionIsOffsetInAnchor) 422 if (position.anchorNode() == &oldNode) 425 if (position.anchorNode() == oldNode.parentNode() && positionOffset == offset) 444 if (!position.anchorNode() || position.anchorNode() != &oldNode || position.anchorType() != Position::PositionIsOffsetInAnc (…) [all...] |
DOMSelection.cpp | 53 Node* node = frame->selection().selection().base().anchorNode(); 102 Node* DOMSelection::anchorNode() const
|
InputMethodController.cpp | 322 Node* baseNode = base.anchorNode(); 329 if (!baseNode || baseNode != frame().selection().extent().anchorNode())
|
/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/ui/accessibility/extensions/caretbrowsing/ |
caretbrowsing.js | 661 return (sel.anchorNode != sel.baseNode || 674 return new Cursor(sel.anchorNode, sel.anchorOffset, 675 TraverseUtil.getNodeText(sel.anchorNode)); 697 range.endContainer == sel.anchorNode && 714 range.endContainer == sel.anchorNode && 737 return (sel.anchorNode == start.node && 750 sel.anchorNode == sel.focusNode); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/accessibility/ |
AXObjectCache.h | 132 void handleScrolledToAnchor(const Node* anchorNode);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGSVGElement.h | 110 void setupInitialView(const String& fragmentIdentifier, Element* anchorNode);
|
SVGSVGElement.cpp | 688 void SVGSVGElement::setupInitialView(const String& fragmentIdentifier, Element* anchorNode) 723 if (isSVGViewElement(anchorNode)) { 724 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/devtools/front_end/sdk/ |
DOMModel.js | 714 * @param {?WebInspector.DOMNode} anchorNode 717 copyTo: function(targetNode, anchorNode, callback) 719 this._agent.copyTo(this.id, targetNode.id, anchorNode ? anchorNode.id : undefined, this._domModel._markRevision(this, callback)); 724 * @param {?WebInspector.DOMNode} anchorNode 727 moveTo: function(targetNode, anchorNode, callback) 729 this._agent.moveTo(this.id, targetNode.id, anchorNode ? anchorNode.id : undefined, this._domModel._markRevision(this, callback)); [all...] |