/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | NodeTraversal.cpp | 32 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 D | 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); } 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 D | 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) 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 D | ElementTraversal.h | 68 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 D | NodeRenderingTraversal.cpp | 153 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 D | RenderCounter.cpp | 94 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())
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
H A D | htmlediting.cpp | 613 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 D | InspectorDOMAgent.cpp | 967 static Node* nextNodeWithShadowDOMInMind(const Node& current, const Node* stayWithin, bool includeUserAgentShadowDOM) argument 987 if (node == stayWithin)
|