Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/dom/
DNodeTraversal.h39 Node* next(const Node&, const Node* stayWithin);
41 Node* next(const ContainerNode&, const Node* stayWithin);
45 Node* nextSkippingChildren(const Node&, const Node* stayWithin);
47 Node* nextSkippingChildren(const ContainerNode&, const Node* stayWithin);
50 Node* previous(const Node&, const Node* stayWithin = 0);
53 Node* previousSkippingChildren(const Node&, const Node* stayWithin = 0);
56 Node* nextPostOrder(const Node&, const Node* stayWithin = 0);
59 Node* previousPostOrder(const Node&, const Node* stayWithin = 0);
60 Node* previousSkippingChildrenPostOrder(const Node&, const Node* stayWithin = 0);
63 Node* previousIncludingPseudo(const Node&, const Node* stayWithin = 0);
[all …]
DElementTraversal.h41 Element* next(const Node&, const Node* stayWithin);
43 Element* next(const ContainerNode&, const Node* stayWithin);
47 Element* nextSkippingChildren(const Node&, const Node* stayWithin);
49 Element* nextSkippingChildren(const ContainerNode&, const Node* stayWithin);
52 Element* previousIncludingPseudo(const Node&, const Node* stayWithin = 0);
53 Element* nextIncludingPseudo(const Node&, const Node* stayWithin = 0);
54 Element* nextIncludingPseudoSkippingChildren(const Node&, const Node* stayWithin = 0);
83 inline Element* traverseNextElementTemplate(NodeType& current, const Node* stayWithin) in traverseNextElementTemplate() argument
85 Node* node = NodeTraversal::next(current, stayWithin); in traverseNextElementTemplate()
87 node = NodeTraversal::nextSkippingChildren(*node, stayWithin); in traverseNextElementTemplate()
[all …]
DNodeTraversal.cpp33 Node* previousIncludingPseudo(const Node& current, const Node* stayWithin) in previousIncludingPseudo() argument
35 if (current == stayWithin) in previousIncludingPseudo()
45 Node* nextIncludingPseudo(const Node& current, const Node* stayWithin) in nextIncludingPseudo() argument
49 if (current == stayWithin) in nextIncludingPseudo()
54 if (parent == stayWithin) in nextIncludingPseudo()
62 Node* nextIncludingPseudoSkippingChildren(const Node& current, const Node* stayWithin) in nextIncludingPseudoSkippingChildren() argument
64 if (current == stayWithin) in nextIncludingPseudoSkippingChildren()
69 if (parent == stayWithin) in nextIncludingPseudoSkippingChildren()
87 Node* nextAncestorSibling(const Node& current, const Node* stayWithin) in nextAncestorSibling() argument
90 ASSERT(current != stayWithin); in nextAncestorSibling()
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DDOMExtension.js123 Node.prototype.traverseNextTextNode = function(stayWithin) argument
125 var node = this.traverseNextNode(stayWithin);
130 node = node.traverseNextNode(stayWithin);
257 Node.prototype.enclosingNodeOrSelfWithClass = function(className, stayWithin) argument
259 …for (var node = this; node && node !== stayWithin && node !== this.ownerDocument; node = node.pare…
514 Node.prototype.traverseNextNode = function(stayWithin) argument
520 if (stayWithin && this === stayWithin)
528 …while (node && !node.nextSibling && (!stayWithin || !node.parentNode || node.parentNode !== stayWi…
536 Node.prototype.traversePreviousNode = function(stayWithin) argument
538 if (stayWithin && this === stayWithin)
Dtreeoutline.js906 TreeElement.prototype.traverseNextTreeElement = function(skipUnrevealed, stayWithin, dontPopulate, … argument
921 if (this === stayWithin)
929 …revealed() ? element.nextSibling : null) : element.nextSibling) && element.parent !== stayWithin) {
DDataGrid.js1649 traverseNextNode: function(skipHidden, stayWithin, dontPopulate, info) argument
1664 if (this === stayWithin)
1672 …oot && !((!skipHidden || node.revealed) ? node.nextSibling : null) && node.parent !== stayWithin) {
/external/chromium_org/third_party/WebKit/Source/core/page/
DFrameTree.cpp269 Frame* FrameTree::traverseNext(const Frame* stayWithin) const in traverseNext()
273 ASSERT(!stayWithin || child->tree().isDescendantOf(stayWithin)); in traverseNext()
277 if (m_thisFrame == stayWithin) in traverseNext()
282 ASSERT(!stayWithin || sibling->tree().isDescendantOf(stayWithin)); in traverseNext()
287 while (!sibling && (!stayWithin || frame->tree().parent() != stayWithin)) { in traverseNext()
295 ASSERT(!stayWithin || !sibling || sibling->tree().isDescendantOf(stayWithin)); in traverseNext()
DFrameTree.h58 Frame* traverseNext(const Frame* stayWithin = 0) const;
/external/chromium_org/third_party/WebKit/Source/wtf/
DTreeNode.h147 … TreeNode<T>::NodeType* traverseNext(const TreeNode<T>* current, const TreeNode<T>* stayWithin = 0)
151 if (current == stayWithin)
156 if (parent == stayWithin)
175 …<T>::NodeType* traverseNextPostOrder(const TreeNode<T>* current, const TreeNode<T>* stayWithin = 0)
177 if (current == stayWithin)
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderCounter.cpp95 static RenderObject* nextInPreOrder(const RenderObject& object, const Element* stayWithin, bool ski… in nextInPreOrder() argument
99 …extIncludingPseudoSkippingChildren(*self, stayWithin) : ElementTraversal::nextIncludingPseudo(*sel… in nextInPreOrder()
101 …extIncludingPseudoSkippingChildren(*next, stayWithin) : ElementTraversal::nextIncludingPseudo(*nex… in nextInPreOrder()
329 Element* stayWithin = parentElement(object); in makeCounterNode() local
331 …derer = nextInPreOrder(object, stayWithin); currentRenderer; currentRenderer = nextInPreOrder(*cur… in makeCounterNode()
341 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;
DTextAutosizer.cpp586 …reOrderSkippingDescendantsOfContainers(const RenderObject* current, const RenderObject* stayWithin) in nextInPreOrderSkippingDescendantsOfContainers() argument
588 if (current == stayWithin || !isAutosizingContainer(current)) in nextInPreOrderSkippingDescendantsOfContainers()
589 return current->nextInPreOrder(stayWithin); in nextInPreOrderSkippingDescendantsOfContainers()
590 return current->nextInPreOrderAfterChildren(stayWithin); in nextInPreOrderSkippingDescendantsOfContainers()
DTextAutosizer.h89 …nextInPreOrderSkippingDescendantsOfContainers(const RenderObject*, const RenderObject* stayWithin);
DRenderObject.h180 RenderObject* nextInPreOrder(const RenderObject* stayWithin) const;
182 RenderObject* nextInPreOrderAfterChildren(const RenderObject* stayWithin) const;
184 RenderObject* previousInPreOrder(const RenderObject* stayWithin) const;
DRenderObject.cpp384 RenderObject* RenderObject::nextInPreOrder(const RenderObject* stayWithin) const in nextInPreOrder()
389 return nextInPreOrderAfterChildren(stayWithin); in nextInPreOrder()
392 RenderObject* RenderObject::nextInPreOrderAfterChildren(const RenderObject* stayWithin) const in nextInPreOrderAfterChildren()
394 if (this == stayWithin) in nextInPreOrderAfterChildren()
401 if (!current || current == stayWithin) in nextInPreOrderAfterChildren()
418 RenderObject* RenderObject::previousInPreOrder(const RenderObject* stayWithin) const in previousInPreOrder()
420 if (this == stayWithin) in previousInPreOrder()
/external/chromium_org/third_party/WebKit/Source/core/editing/
Dhtmlediting.h59 EditingBoundaryCrossingRule = CannotCrossEditingBoundary, Node* stayWithin = 0);
Dhtmlediting.cpp587 …Position& p, bool (*nodeIsOfType)(const Node*), EditingBoundaryCrossingRule rule, Node* stayWithin) in highestEnclosingNodeOfType() argument
591 for (Node* n = p.containerNode(); n && n != stayWithin; n = n->parentNode()) { in highestEnclosingNodeOfType()