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

/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DNodeTraversal.cpp32 Node* NodeTraversal::previousIncludingPseudo(const Node& current, const Node* stayWithin) argument
34 if (current == stayWithin)
44 Node* NodeTraversal::nextIncludingPseudo(const Node& current, const Node* stayWithin) argument
48 if (current == stayWithin)
53 if (parent == stayWithin)
61 Node* NodeTraversal::nextIncludingPseudoSkippingChildren(const Node& current, const Node* stayWithin) argument
63 if (current == stayWithin)
68 if (parent == stayWithin)
86 Node* NodeTraversal::nextAncestorSibling(const Node& current, const Node* stayWithin) argument
89 ASSERT(current != stayWithin);
113 previous(const Node& current, const Node* stayWithin) argument
126 previousSkippingChildren(const Node& current, const Node* stayWithin) argument
141 nextPostOrder(const Node& current, const Node* stayWithin) argument
153 previousAncestorSiblingPostOrder(const Node& current, const Node* stayWithin) argument
165 previousPostOrder(const Node& current, const Node* stayWithin) argument
[all...]
H A DNodeTraversal.h37 // This uses the same order that tags appear in the source file. If the stayWithin
42 static Node* next(const Node& current, const Node* stayWithin) { return traverseNextTemplate(current, stayWithin); } argument
43 static Node* next(const ContainerNode& current, const Node* stayWithin) { return traverseNextTemplate(current, stayWithin); } 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
97 traverseNextTemplate(NodeType& current, const Node* stayWithin) argument
115 nextSkippingChildren(const Node& current, const Node* stayWithin) argument
[all...]
H A DElementTraversal.h68 static ElementType* next(const ContainerNode& current, const Node* stayWithin) { return nextTemplate(current, stayWithin); } argument
69 static ElementType* next(const Node& current, const Node* stayWithin) { return nextTemplate(current, stayWithin); } 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
136 nextTemplate(NodeType& current, const Node* stayWithin) argument
255 nextTemplate(NodeType& current, const Node* stayWithin) argument
265 next(const ContainerNode& current, const Node* stayWithin, MatchFunc isMatch) argument
283 previous(const Node& current, const Node* stayWithin) argument
293 previous(const ContainerNode& current, const Node* stayWithin, MatchFunc isMatch) argument
311 nextSkippingChildren(const Node& current, const Node* stayWithin) argument
320 previousIncludingPseudo(const Node& current, const Node* stayWithin) argument
329 nextIncludingPseudo(const Node& current, const Node* stayWithin) argument
338 nextIncludingPseudoSkippingChildren(const Node& current, const Node* stayWithin) argument
[all...]
H A DLiveNodeListBase.h83 static Element* traverseMatchingElementsForwardToOffset(Element& currentElement, const ContainerNode* stayWithin, unsigned offset, unsigned& currentOffset, MatchFunc);
85 static Element* traverseMatchingElementsBackwardToOffset(Element& currentElement, const ContainerNode* stayWithin, unsigned offset, unsigned& currentOffset, MatchFunc);
121 Element* LiveNodeListBase::traverseMatchingElementsForwardToOffset(Element& currentElement, const ContainerNode* stayWithin, unsigned offset, unsigned& currentOffset, MatchFunc isMatch) argument
124 for (Element* next = ElementTraversal::next(currentElement, stayWithin, isMatch); next; next = ElementTraversal::next(*next, stayWithin, isMatch)) {
132 Element* LiveNodeListBase::traverseMatchingElementsBackwardToOffset(Element& currentElement, const ContainerNode* stayWithin, unsigned offset, unsigned& currentOffset, MatchFunc isMatch)
135 for (Element* previous = ElementTraversal::previous(currentElement, stayWithin, isMatch); previous; previous = ElementTraversal::previous(*previous, stayWithin, isMatch)) {
H A DNodeRenderingTraversal.h62 Node* previous(const Node*, const Node* stayWithin);
63 Node* next(const Node*, const Node* stayWithin);
H A DNodeRenderingTraversal.cpp153 Node* previous(const Node* node, const Node* stayWithin) argument
155 if (node == stayWithin)
205 Node* next(const Node* node, const Node* stayWithin) argument
209 if (node == stayWithin)
214 if (parentNode == stayWithin)
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DCounterNode.h65 CounterNode* nextInPreOrder(const CounterNode* stayWithin = 0) const;
66 CounterNode* nextInPreOrderAfterChildren(const CounterNode* stayWithin = 0) const;
H A DCounterNode.cpp100 CounterNode* CounterNode::nextInPreOrderAfterChildren(const CounterNode* stayWithin) const
102 if (this == stayWithin)
109 if (!current || current == stayWithin)
115 CounterNode* CounterNode::nextInPreOrder(const CounterNode* stayWithin) const
120 return nextInPreOrderAfterChildren(stayWithin);
H A DRenderCounter.cpp94 static RenderObject* nextInPreOrder(const RenderObject& object, const Element* stayWithin, bool skipDescendants = false) argument
98 Element* next = skipDescendants ? ElementTraversal::nextIncludingPseudoSkippingChildren(*self, stayWithin) : ElementTraversal::nextIncludingPseudo(*self, stayWithin);
100 next = skipDescendants ? ElementTraversal::nextIncludingPseudoSkippingChildren(*next, stayWithin) : ElementTraversal::nextIncludingPseudo(*next, stayWithin);
328 Element* stayWithin = parentElement(object); local
330 for (RenderObject* currentRenderer = nextInPreOrder(object, stayWithin); currentRenderer; currentRenderer = nextInPreOrder(*currentRenderer, stayWithin, skipDescendants)) {
340 if (stayWithin == parentElement(*currentRenderer) && currentCounter->hasResetType())
H A DRenderObject.cpp414 RenderObject* RenderObject::nextInPreOrder(const RenderObject* stayWithin) const
419 return nextInPreOrderAfterChildren(stayWithin);
422 RenderObject* RenderObject::nextInPreOrderAfterChildren(const RenderObject* stayWithin) const
424 if (this == stayWithin)
431 if (!current || current == stayWithin)
448 RenderObject* RenderObject::previousInPreOrder(const RenderObject* stayWithin) const
450 if (this == stayWithin)
H A 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/wtf/
H A DTreeNode.h159 inline typename TreeNode<T>::NodeType* traverseNext(const TreeNode<T>* current, const TreeNode<T>* stayWithin = 0)
163 if (current == stayWithin)
168 if (parent == stayWithin)
187 inline typename TreeNode<T>::NodeType* traverseNextPostOrder(const TreeNode<T>* current, const TreeNode<T>* stayWithin = 0)
189 if (current == stayWithin)
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DFrameTree.cpp312 Frame* FrameTree::traverseNext(const Frame* stayWithin) const
316 ASSERT(!stayWithin || child->tree().isDescendantOf(stayWithin));
320 if (m_thisFrame == stayWithin)
325 ASSERT(!stayWithin || sibling->tree().isDescendantOf(stayWithin));
330 while (!sibling && (!stayWithin || frame->tree().parent() != stayWithin)) {
338 ASSERT(!stayWithin || !sibling || sibling->tree().isDescendantOf(stayWithin));
[all...]
H A DFrameTree.h53 Frame* traverseNext(const Frame* stayWithin = 0) const;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
H A DDOMExtension.js128 * @param {!Node=} stayWithin
131 Node.prototype.traverseNextTextNode = function(stayWithin)
133 var node = this.traverseNextNode(stayWithin);
138 node = node.traverseNextNode(stayWithin);
331 * @param {!Element=} stayWithin
334 Node.prototype.enclosingNodeOrSelfWithClass = function(className, stayWithin)
336 for (var node = this; node && node !== stayWithin && node !== this.ownerDocument; node = node.parentNode) {
681 * @param {!Node=} stayWithin
684 Node.prototype.traverseNextNode = function(stayWithin)
690 if (stayWithin
[all...]
H A Dtreeoutline.js939 * @param {(!TreeOutline|!TreeElement|null)=} stayWithin
944 TreeElement.prototype.traverseNextTreeElement = function(skipUnrevealed, stayWithin, dontPopulate, info)
959 if (this === stayWithin)
967 while (element && !element.root && !(skipUnrevealed ? (element.revealed() ? element.nextSibling : null) : element.nextSibling) && element.parent !== stayWithin) {
H A DDataGrid.js1617 * @param {?WebInspector.DataGridNode=} stayWithin
1622 traverseNextNode: function(skipHidden, stayWithin, dontPopulate, info)
1637 if (this === stayWithin)
1645 while (node && !node._isRoot && !((!skipHidden || node.revealed) ? node.nextSibling : null) && node.parent !== stayWithin) {
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A Dhtmlediting.h65 EditingBoundaryCrossingRule = CannotCrossEditingBoundary, Node* stayWithin = 0);
H A Dhtmlediting.cpp613 Node* highestEnclosingNodeOfType(const Position& p, bool (*nodeIsOfType)(const Node*), EditingBoundaryCrossingRule rule, Node* stayWithin) argument
617 for (Node* n = p.containerNode(); n && n != stayWithin; n = n->parentNode()) {
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DInspectorDOMAgent.cpp967 static Node* nextNodeWithShadowDOMInMind(const Node& current, const Node* stayWithin, bool includeUserAgentShadowDOM) argument
987 if (node == stayWithin)

Completed in 6488 milliseconds