Home
last modified time | relevance | path

Searched refs:stayWithin (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/dom/
DNodeTraversal.cpp32 Node* NodeTraversal::previousIncludingPseudo(const Node& current, const Node* stayWithin) in previousIncludingPseudo() argument
34 if (current == stayWithin) in previousIncludingPseudo()
44 Node* NodeTraversal::nextIncludingPseudo(const Node& current, const Node* stayWithin) in nextIncludingPseudo() argument
48 if (current == stayWithin) in nextIncludingPseudo()
53 if (parent == stayWithin) in nextIncludingPseudo()
61 …de* NodeTraversal::nextIncludingPseudoSkippingChildren(const Node& current, const Node* stayWithin) in nextIncludingPseudoSkippingChildren() argument
63 if (current == stayWithin) in nextIncludingPseudoSkippingChildren()
68 if (parent == stayWithin) in nextIncludingPseudoSkippingChildren()
86 Node* NodeTraversal::nextAncestorSibling(const Node& current, const Node* stayWithin) in nextAncestorSibling() argument
89 ASSERT(current != stayWithin); in nextAncestorSibling()
[all …]
DNodeTraversal.h42 …c Node* next(const Node& current, const Node* stayWithin) { return traverseNextTemplate(current, s… in next() argument
43 …ext(const ContainerNode& current, const Node* stayWithin) { return traverseNextTemplate(current, s… in next() argument
47 static Node* nextSkippingChildren(const Node&, const Node* stayWithin);
53 static Node* previous(const Node&, const Node* stayWithin = 0);
56 static Node* previousSkippingChildren(const Node&, const Node* stayWithin = 0);
59 static Node* nextPostOrder(const Node&, const Node* stayWithin = 0);
62 static Node* previousPostOrder(const Node&, const Node* stayWithin = 0);
65 static Node* previousIncludingPseudo(const Node&, const Node* stayWithin = 0);
66 static Node* nextIncludingPseudo(const Node&, const Node* stayWithin = 0);
67 static Node* nextIncludingPseudoSkippingChildren(const Node&, const Node* stayWithin = 0);
[all …]
DElementTraversal.h68 …e* next(const ContainerNode& current, const Node* stayWithin) { return nextTemplate(current, stayW… in next() argument
69 …lementType* next(const Node& current, const Node* stayWithin) { return nextTemplate(current, stayW… in next() argument
71 static ElementType* next(const ContainerNode& current, const Node* stayWithin, MatchFunc);
73 static ElementType* previous(const Node&, const Node* stayWithin);
75 static ElementType* previous(const ContainerNode& current, const Node* stayWithin, MatchFunc);
79 static ElementType* nextSkippingChildren(const Node&, const Node* stayWithin);
82 static ElementType* previousIncludingPseudo(const Node&, const Node* stayWithin = 0);
83 static ElementType* nextIncludingPseudo(const Node&, const Node* stayWithin = 0);
84 … static ElementType* nextIncludingPseudoSkippingChildren(const Node&, const Node* stayWithin = 0);
111 static ElementType* nextTemplate(NodeType&, const Node* stayWithin);
[all …]
DLiveNodeListBase.h83 …gElementsForwardToOffset(Element& currentElement, const ContainerNode* stayWithin, unsigned offset…
85 …ElementsBackwardToOffset(Element& currentElement, const ContainerNode* stayWithin, unsigned offset…
121 …gElementsForwardToOffset(Element& currentElement, const ContainerNode* stayWithin, unsigned offset… in traverseMatchingElementsForwardToOffset() argument
124 …ElementTraversal::next(currentElement, stayWithin, isMatch); next; next = ElementTraversal::next(*… in traverseMatchingElementsForwardToOffset()
132 …ElementsBackwardToOffset(Element& currentElement, const ContainerNode* stayWithin, unsigned offset… in traverseMatchingElementsBackwardToOffset() argument
135 …rsal::previous(currentElement, stayWithin, isMatch); previous; previous = ElementTraversal::previo… in traverseMatchingElementsBackwardToOffset()
DNodeRenderingTraversal.cpp153 Node* previous(const Node* node, const Node* stayWithin) in previous() argument
155 if (node == stayWithin) in previous()
205 Node* next(const Node* node, const Node* stayWithin) in next() argument
209 if (node == stayWithin) in next()
214 if (parentNode == stayWithin) in next()
DNodeRenderingTraversal.h62 Node* previous(const Node*, const Node* stayWithin);
63 Node* next(const Node*, const Node* stayWithin);
/external/chromium_org/third_party/WebKit/Source/core/page/
DFrameTree.cpp312 Frame* FrameTree::traverseNext(const Frame* stayWithin) const in traverseNext()
316 ASSERT(!stayWithin || child->tree().isDescendantOf(stayWithin)); in traverseNext()
320 if (m_thisFrame == stayWithin) in traverseNext()
325 ASSERT(!stayWithin || sibling->tree().isDescendantOf(stayWithin)); in traverseNext()
330 while (!sibling && (!stayWithin || frame->tree().parent() != stayWithin)) { in traverseNext()
338 ASSERT(!stayWithin || !sibling || sibling->tree().isDescendantOf(stayWithin)); in traverseNext()
DFrameTree.h53 Frame* traverseNext(const Frame* stayWithin = 0) const;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
DDOMExtension.js131 Node.prototype.traverseNextTextNode = function(stayWithin) argument
133 var node = this.traverseNextNode(stayWithin);
138 node = node.traverseNextNode(stayWithin);
334 Node.prototype.enclosingNodeOrSelfWithClass = function(className, stayWithin) argument
336 …for (var node = this; node && node !== stayWithin && node !== this.ownerDocument; node = node.pare…
684 Node.prototype.traverseNextNode = function(stayWithin) argument
690 if (stayWithin && this === stayWithin)
698 …while (node && !node.nextSibling && (!stayWithin || !node.parentNode || node.parentNode !== stayWi…
710 Node.prototype.traversePreviousNode = function(stayWithin) argument
712 if (stayWithin && this === stayWithin)
Dtreeoutline.js944 TreeElement.prototype.traverseNextTreeElement = function(skipUnrevealed, stayWithin, dontPopulate, … argument
959 if (this === stayWithin)
967 …revealed() ? element.nextSibling : null) : element.nextSibling) && element.parent !== stayWithin) {
DDataGrid.js1622 traverseNextNode: function(skipHidden, stayWithin, dontPopulate, info) argument
1637 if (this === stayWithin)
1645 …oot && !((!skipHidden || node.revealed) ? node.nextSibling : null) && node.parent !== stayWithin) {
/external/chromium_org/third_party/WebKit/Source/wtf/
DTreeNode.h159 … TreeNode<T>::NodeType* traverseNext(const TreeNode<T>* current, const TreeNode<T>* stayWithin = 0)
163 if (current == stayWithin)
168 if (parent == stayWithin)
187 …<T>::NodeType* traverseNextPostOrder(const TreeNode<T>* current, const TreeNode<T>* stayWithin = 0)
189 if (current == stayWithin)
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderCounter.cpp94 static RenderObject* nextInPreOrder(const RenderObject& object, const Element* stayWithin, bool ski… in nextInPreOrder() argument
98 …extIncludingPseudoSkippingChildren(*self, stayWithin) : ElementTraversal::nextIncludingPseudo(*sel… in nextInPreOrder()
100 …extIncludingPseudoSkippingChildren(*next, stayWithin) : ElementTraversal::nextIncludingPseudo(*nex… in nextInPreOrder()
328 Element* stayWithin = parentElement(object); in makeCounterNode() local
330 …derer = nextInPreOrder(object, stayWithin); currentRenderer; currentRenderer = nextInPreOrder(*cur… in makeCounterNode()
340 if (stayWithin == parentElement(*currentRenderer) && currentCounter->hasResetType()) in makeCounterNode()
DCounterNode.cpp100 CounterNode* CounterNode::nextInPreOrderAfterChildren(const CounterNode* stayWithin) const in nextInPreOrderAfterChildren()
102 if (this == stayWithin) in nextInPreOrderAfterChildren()
109 if (!current || current == stayWithin) in nextInPreOrderAfterChildren()
115 CounterNode* CounterNode::nextInPreOrder(const CounterNode* stayWithin) const in nextInPreOrder()
120 return nextInPreOrderAfterChildren(stayWithin); in nextInPreOrder()
DCounterNode.h65 CounterNode* nextInPreOrder(const CounterNode* stayWithin = 0) const;
66 CounterNode* nextInPreOrderAfterChildren(const CounterNode* stayWithin = 0) const;
DRenderObject.cpp414 RenderObject* RenderObject::nextInPreOrder(const RenderObject* stayWithin) const in nextInPreOrder()
419 return nextInPreOrderAfterChildren(stayWithin); in nextInPreOrder()
422 RenderObject* RenderObject::nextInPreOrderAfterChildren(const RenderObject* stayWithin) const in nextInPreOrderAfterChildren()
424 if (this == stayWithin) in nextInPreOrderAfterChildren()
431 if (!current || current == stayWithin) in nextInPreOrderAfterChildren()
448 RenderObject* RenderObject::previousInPreOrder(const RenderObject* stayWithin) const in previousInPreOrder()
450 if (this == stayWithin) in previousInPreOrder()
DRenderObject.h184 RenderObject* nextInPreOrder(const RenderObject* stayWithin) const;
186 RenderObject* nextInPreOrderAfterChildren(const RenderObject* stayWithin) const;
188 RenderObject* previousInPreOrder(const RenderObject* stayWithin) const;
/external/chromium_org/third_party/WebKit/Source/core/editing/
Dhtmlediting.h65 EditingBoundaryCrossingRule = CannotCrossEditingBoundary, Node* stayWithin = 0);
Dhtmlediting.cpp613 …Position& p, bool (*nodeIsOfType)(const Node*), EditingBoundaryCrossingRule rule, Node* stayWithin) in highestEnclosingNodeOfType() argument
617 for (Node* n = p.containerNode(); n && n != stayWithin; n = n->parentNode()) { in highestEnclosingNodeOfType()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorDOMAgent.cpp967 static Node* nextNodeWithShadowDOMInMind(const Node& current, const Node* stayWithin, bool includeU… in nextNodeWithShadowDOMInMind() argument
987 if (node == stayWithin) in nextNodeWithShadowDOMInMind()