OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011, 2013 Apple Inc. All | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011, 2013 Apple Inc. All |
6 * rights reserved. | 6 * rights reserved. |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 20 matching lines...) Expand all Loading... |
31 #include "core/dom/Node.h" | 31 #include "core/dom/Node.h" |
32 #include "core/html/CollectionType.h" | 32 #include "core/html/CollectionType.h" |
33 #include "wtf/Vector.h" | 33 #include "wtf/Vector.h" |
34 | 34 |
35 namespace blink { | 35 namespace blink { |
36 | 36 |
37 class ClassCollection; | 37 class ClassCollection; |
38 class ExceptionState; | 38 class ExceptionState; |
39 class FloatPoint; | 39 class FloatPoint; |
40 class HTMLCollection; | 40 class HTMLCollection; |
| 41 class NameNodeList; |
41 using StaticElementList = StaticNodeTypeList<Element>; | 42 using StaticElementList = StaticNodeTypeList<Element>; |
| 43 class RadioNodeList; |
42 class TagCollection; | 44 class TagCollection; |
43 | 45 |
44 enum DynamicRestyleFlags { | 46 enum DynamicRestyleFlags { |
45 ChildrenOrSiblingsAffectedByFocus = 1 << 0, | 47 ChildrenOrSiblingsAffectedByFocus = 1 << 0, |
46 ChildrenOrSiblingsAffectedByHover = 1 << 1, | 48 ChildrenOrSiblingsAffectedByHover = 1 << 1, |
47 ChildrenOrSiblingsAffectedByActive = 1 << 2, | 49 ChildrenOrSiblingsAffectedByActive = 1 << 2, |
48 ChildrenOrSiblingsAffectedByDrag = 1 << 3, | 50 ChildrenOrSiblingsAffectedByDrag = 1 << 3, |
49 ChildrenAffectedByFirstChildRules = 1 << 4, | 51 ChildrenAffectedByFirstChildRules = 1 << 4, |
50 ChildrenAffectedByLastChildRules = 1 << 5, | 52 ChildrenAffectedByLastChildRules = 1 << 5, |
51 ChildrenAffectedByDirectAdjacentRules = 1 << 6, | 53 ChildrenAffectedByDirectAdjacentRules = 1 << 6, |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
457 | 459 |
458 inline void getChildNodes(ContainerNode& node, NodeVector& nodes) { | 460 inline void getChildNodes(ContainerNode& node, NodeVector& nodes) { |
459 DCHECK(!nodes.size()); | 461 DCHECK(!nodes.size()); |
460 for (Node* child = node.firstChild(); child; child = child->nextSibling()) | 462 for (Node* child = node.firstChild(); child; child = child->nextSibling()) |
461 nodes.append(child); | 463 nodes.append(child); |
462 } | 464 } |
463 | 465 |
464 } // namespace blink | 466 } // namespace blink |
465 | 467 |
466 #endif // ContainerNode_h | 468 #endif // ContainerNode_h |
OLD | NEW |