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

/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DNodeTraversal.h36 // This uses the same order that tags appear in the source file. If the stayWithin
41 static Node* next(const Node& current, const Node* stayWithin) { return traverseNextTemplate(current, stayWithin); } argument
42 static Node* next(const ContainerNode& current, const Node* stayWithin) { return traverseNextTemplate(current, stayWithin); } argument
47 static Node* nextSkippingChildren(const Node& current, const Node* stayWithin) { return traverseNextSkippingChildrenTemplate(current, stayWithin); } argument
48 static Node* nextSkippingChildren(const ContainerNode& current, const Node* stayWithin) { return traverseNextSkippingChildrenTemplate(current, stayWithin); } argument
52 static Node* previous(const Node&, const Node* stayWithin
93 traverseNextTemplate(NodeType& current, const Node* stayWithin) argument
113 traverseNextSkippingChildrenTemplate(NodeType& current, const Node* stayWithin) argument
[all...]
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);
107 previous(const Node& current, const Node* stayWithin) argument
120 previousSkippingChildren(const Node& current, const Node* stayWithin) argument
135 nextPostOrder(const Node& current, const Node* stayWithin) argument
147 previousAncestorSiblingPostOrder(const Node& current, const Node* stayWithin) argument
159 previousPostOrder(const Node& current, const Node* stayWithin) argument
[all...]
H A DElementTraversal.h58 static ElementType* next(const ContainerNode& current, const Node* stayWithin) { return nextTemplate(current, stayWithin); } argument
59 static ElementType* next(const Node& current, const Node* stayWithin) { return nextTemplate(current, stayWithin); } argument
62 static ElementType* previous(const ContainerNode& current, const Node* stayWithin) { return previousTemplate(current, stayWithin); } argument
63 static ElementType* previous(const Node& current, const Node* stayWithin) { return previousTemplate(current, stayWithin); } argument
68 static ElementType* nextSkippingChildren(const ContainerNode& current, const Node* stayWithin) { return nextSkippingChildrenTemplate(current, stayWithin); } argument
69 nextSkippingChildren(const Node& current, const Node* stayWithin) argument
140 nextTemplate(NodeType& current, const Node* stayWithin) argument
160 previousTemplate(NodeType& current, const Node* stayWithin) argument
239 nextTemplate(NodeType& current, const Node* stayWithin) argument
259 previousTemplate(NodeType& current, const Node* stayWithin) argument
279 nextSkippingChildrenTemplate(NodeType& current, const Node* stayWithin) argument
288 previousIncludingPseudo(const Node& current, const Node* stayWithin) argument
297 nextIncludingPseudo(const Node& current, const Node* stayWithin) argument
306 nextIncludingPseudoSkippingChildren(const Node& current, const Node* stayWithin) argument
[all...]
H A DNodeRenderingTraversal.h63 Node* previous(const Node*, const Node* stayWithin);
64 Node* next(const Node*, const Node* stayWithin);
H A DNodeRenderingTraversal.cpp155 Node* previous(const Node* node, const Node* stayWithin) argument
157 if (node == stayWithin)
207 Node* next(const Node* node, const Node* stayWithin) argument
211 if (node == stayWithin)
216 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.cpp95 static RenderObject* nextInPreOrder(const RenderObject& object, const Element* stayWithin, bool skipDescendants = false) argument
99 Element* next = skipDescendants ? ElementTraversal::nextIncludingPseudoSkippingChildren(*self, stayWithin) : ElementTraversal::nextIncludingPseudo(*self, stayWithin);
101 next = skipDescendants ? ElementTraversal::nextIncludingPseudoSkippingChildren(*next, stayWithin) : ElementTraversal::nextIncludingPseudo(*next, stayWithin);
329 Element* stayWithin = parentElement(object); local
331 for (RenderObject* currentRenderer = nextInPreOrder(object, stayWithin); currentRenderer; currentRenderer = nextInPreOrder(*currentRenderer, stayWithin, skipDescendants)) {
341 if (stayWithin == parentElement(*currentRenderer) && currentCounter->hasResetType())
H A DTextAutosizer.h114 static RenderObject* nextInPreOrderSkippingDescendantsOfContainers(const RenderObject*, const RenderObject* stayWithin);
H A DTextAutosizer.cpp750 RenderObject* TextAutosizer::nextInPreOrderSkippingDescendantsOfContainers(const RenderObject* current, const RenderObject* stayWithin) argument
752 if (current == stayWithin || !isAutosizingContainer(current))
753 return current->nextInPreOrder(stayWithin);
754 return current->nextInPreOrderAfterChildren(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;
H A DRenderObject.cpp377 RenderObject* RenderObject::nextInPreOrder(const RenderObject* stayWithin) const
382 return nextInPreOrderAfterChildren(stayWithin);
385 RenderObject* RenderObject::nextInPreOrderAfterChildren(const RenderObject* stayWithin) const
387 if (this == stayWithin)
394 if (!current || current == stayWithin)
411 RenderObject* RenderObject::previousInPreOrder(const RenderObject* stayWithin) const
413 if (this == stayWithin)
/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.cpp310 Frame* FrameTree::traverseNext(const Frame* stayWithin) const
314 ASSERT(!stayWithin || child->tree().isDescendantOf(stayWithin));
318 if (m_thisFrame == stayWithin)
323 ASSERT(!stayWithin || sibling->tree().isDescendantOf(stayWithin));
328 while (!sibling && (!stayWithin || frame->tree().parent() != stayWithin)) {
336 ASSERT(!stayWithin || !sibling || sibling->tree().isDescendantOf(stayWithin));
[all...]
H A DFrameTree.h51 Frame* traverseNext(const Frame* stayWithin = 0) const;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/common/
H A DDOMExtension.js128 * @param {!Node=} stayWithin
131 Node.prototype.traverseNextTextNode = function(stayWithin)
133 var node = this.traverseNextNode(stayWithin);
138 node = node.traverseNextNode(stayWithin);
338 * @param {!Element=} stayWithin
341 Node.prototype.enclosingNodeOrSelfWithClass = function(className, stayWithin)
343 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...]
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A Dhtmlediting.h59 EditingBoundaryCrossingRule = CannotCrossEditingBoundary, Node* stayWithin = 0);
H A Dhtmlediting.cpp591 Node* highestEnclosingNodeOfType(const Position& p, bool (*nodeIsOfType)(const Node*), EditingBoundaryCrossingRule rule, Node* stayWithin) argument
595 for (Node* n = p.containerNode(); n && n != stayWithin; n = n->parentNode()) {
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
H A Dtreeoutline.js914 * @param {(!TreeOutline|!TreeElement|null)=} stayWithin
919 TreeElement.prototype.traverseNextTreeElement = function(skipUnrevealed, stayWithin, dontPopulate, info)
934 if (this === stayWithin)
942 while (element && !element.root && !(skipUnrevealed ? (element.revealed() ? element.nextSibling : null) : element.nextSibling) && element.parent !== stayWithin) {
H A DDataGrid.js1671 * @param {?WebInspector.DataGridNode=} stayWithin
1676 traverseNextNode: function(skipHidden, stayWithin, dontPopulate, info)
1691 if (this === stayWithin)
1699 while (node && !node._isRoot && !((!skipHidden || node.revealed) ? node.nextSibling : null) && node.parent !== stayWithin) {

Completed in 640 milliseconds