HomeSort by relevance Sort by last modified time
    Searched refs:stayWithin (Results 1 - 20 of 20) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/dom/
NodeTraversal.h 37 // 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); }
43 static Node* next(const ContainerNode& current, const Node* stayWithin) { return traverseNextTemplate(current, stayWithin); }
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)
    [all...]
NodeTraversal.cpp 32 Node* NodeTraversal::previousIncludingPseudo(const Node& current, const Node* stayWithin)
34 if (current == stayWithin)
44 Node* NodeTraversal::nextIncludingPseudo(const Node& current, const Node* stayWithin)
48 if (current == stayWithin)
53 if (parent == stayWithin)
61 Node* NodeTraversal::nextIncludingPseudoSkippingChildren(const Node& current, const Node* stayWithin)
63 if (current == stayWithin)
68 if (parent == stayWithin)
86 Node* NodeTraversal::nextAncestorSibling(const Node& current, const Node* stayWithin)
89 ASSERT(current != stayWithin);
    [all...]
ElementTraversal.h 68 static ElementType* next(const ContainerNode& current, const Node* stayWithin) { return nextTemplate(current, stayWithin); }
69 static ElementType* next(const Node& current, const Node* stayWithin) { return nextTemplate(current, stayWithin); }
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)
    [all...]
LiveNodeListBase.h 83 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)
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)) {
NodeRenderingTraversal.h 62 Node* previous(const Node*, const Node* stayWithin);
63 Node* next(const Node*, const Node* stayWithin);
NodeRenderingTraversal.cpp 153 Node* previous(const Node* node, const Node* stayWithin)
155 if (node == stayWithin)
205 Node* next(const Node* node, const Node* stayWithin)
209 if (node == stayWithin)
214 if (parentNode == stayWithin)
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
CounterNode.h 65 CounterNode* nextInPreOrder(const CounterNode* stayWithin = 0) const;
66 CounterNode* nextInPreOrderAfterChildren(const CounterNode* stayWithin = 0) const;
CounterNode.cpp 100 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);
RenderCounter.cpp 94 static RenderObject* nextInPreOrder(const RenderObject& object, const Element* stayWithin, bool skipDescendants = false)
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);
330 for (RenderObject* currentRenderer = nextInPreOrder(object, stayWithin); currentRenderer; currentRenderer = nextInPreOrder(*currentRenderer, stayWithin, skipDescendants)) {
340 if (stayWithin == parentElement(*currentRenderer) && currentCounter->hasResetType())
RenderObject.cpp 414 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)
    [all...]
RenderObject.h 184 RenderObject* nextInPreOrder(const RenderObject* stayWithin) const;
186 RenderObject* nextInPreOrderAfterChildren(const RenderObject* stayWithin) const;
188 RenderObject* previousInPreOrder(const RenderObject* stayWithin) const;
    [all...]
  /external/chromium_org/third_party/WebKit/Source/wtf/
TreeNode.h 159 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/
FrameTree.cpp 312 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...]
FrameTree.h 53 Frame* traverseNext(const Frame* stayWithin = 0) const;
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
DOMExtension.js 128 * @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 && this === stayWithin
    [all...]
treeoutline.js 939 * @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) {
DataGrid.js     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/editing/
htmlediting.h 65 EditingBoundaryCrossingRule = CannotCrossEditingBoundary, Node* stayWithin = 0);
htmlediting.cpp 613 Node* highestEnclosingNodeOfType(const Position& p, bool (*nodeIsOfType)(const Node*), EditingBoundaryCrossingRule rule, Node* stayWithin)
617 for (Node* n = p.containerNode(); n && n != stayWithin; n = n->parentNode()) {
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorDOMAgent.cpp 967 static Node* nextNodeWithShadowDOMInMind(const Node& current, const Node* stayWithin, bool includeUserAgentShadowDOM)
987 if (node == stayWithin)
    [all...]

Completed in 2862 milliseconds