| 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 r
ights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011, 2013 Apple Inc. All r
ights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 #include "core/html/CollectionType.h" | 29 #include "core/html/CollectionType.h" |
| 30 #include "wtf/OwnPtr.h" | 30 #include "wtf/OwnPtr.h" |
| 31 #include "wtf/Vector.h" | 31 #include "wtf/Vector.h" |
| 32 | 32 |
| 33 namespace blink { | 33 namespace blink { |
| 34 | 34 |
| 35 class ClassCollection; | 35 class ClassCollection; |
| 36 class ExceptionState; | 36 class ExceptionState; |
| 37 class FloatPoint; | 37 class FloatPoint; |
| 38 class HTMLCollection; | 38 class HTMLCollection; |
| 39 template <typename NodeType> class StaticNodeTypeList; | |
| 40 using StaticElementList = StaticNodeTypeList<Element>; | 39 using StaticElementList = StaticNodeTypeList<Element>; |
| 41 class TagCollection; | 40 class TagCollection; |
| 42 | 41 |
| 43 enum DynamicRestyleFlags { | 42 enum DynamicRestyleFlags { |
| 44 ChildrenOrSiblingsAffectedByFocus = 1 << 0, | 43 ChildrenOrSiblingsAffectedByFocus = 1 << 0, |
| 45 ChildrenOrSiblingsAffectedByHover = 1 << 1, | 44 ChildrenOrSiblingsAffectedByHover = 1 << 1, |
| 46 ChildrenOrSiblingsAffectedByActive = 1 << 2, | 45 ChildrenOrSiblingsAffectedByActive = 1 << 2, |
| 47 ChildrenOrSiblingsAffectedByDrag = 1 << 3, | 46 ChildrenOrSiblingsAffectedByDrag = 1 << 3, |
| 48 ChildrenAffectedByFirstChildRules = 1 << 4, | 47 ChildrenAffectedByFirstChildRules = 1 << 4, |
| 49 ChildrenAffectedByLastChildRules = 1 << 5, | 48 ChildrenAffectedByLastChildRules = 1 << 5, |
| (...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 inline void getChildNodes(ContainerNode& node, NodeVector& nodes) | 341 inline void getChildNodes(ContainerNode& node, NodeVector& nodes) |
| 343 { | 342 { |
| 344 ASSERT(!nodes.size()); | 343 ASSERT(!nodes.size()); |
| 345 for (Node* child = node.firstChild(); child; child = child->nextSibling()) | 344 for (Node* child = node.firstChild(); child; child = child->nextSibling()) |
| 346 nodes.append(child); | 345 nodes.append(child); |
| 347 } | 346 } |
| 348 | 347 |
| 349 } // namespace blink | 348 } // namespace blink |
| 350 | 349 |
| 351 #endif // ContainerNode_h | 350 #endif // ContainerNode_h |
| OLD | NEW |