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 10 matching lines...) Expand all Loading... |
21 * | 21 * |
22 */ | 22 */ |
23 | 23 |
24 #ifndef ContainerNode_h | 24 #ifndef ContainerNode_h |
25 #define ContainerNode_h | 25 #define ContainerNode_h |
26 | 26 |
27 #include "bindings/core/v8/ExceptionStatePlaceholder.h" | 27 #include "bindings/core/v8/ExceptionStatePlaceholder.h" |
28 #include "core/CoreExport.h" | 28 #include "core/CoreExport.h" |
29 #include "core/dom/Node.h" | 29 #include "core/dom/Node.h" |
30 #include "core/html/CollectionType.h" | 30 #include "core/html/CollectionType.h" |
31 #include "wtf/OwnPtr.h" | |
32 #include "wtf/Vector.h" | 31 #include "wtf/Vector.h" |
33 | 32 |
34 namespace blink { | 33 namespace blink { |
35 | 34 |
36 class ClassCollection; | 35 class ClassCollection; |
37 class ExceptionState; | 36 class ExceptionState; |
38 class FloatPoint; | 37 class FloatPoint; |
39 class HTMLCollection; | 38 class HTMLCollection; |
40 using StaticElementList = StaticNodeTypeList<Element>; | 39 using StaticElementList = StaticNodeTypeList<Element>; |
41 class TagCollection; | 40 class TagCollection; |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 inline void getChildNodes(ContainerNode& node, NodeVector& nodes) | 335 inline void getChildNodes(ContainerNode& node, NodeVector& nodes) |
337 { | 336 { |
338 DCHECK(!nodes.size()); | 337 DCHECK(!nodes.size()); |
339 for (Node* child = node.firstChild(); child; child = child->nextSibling()) | 338 for (Node* child = node.firstChild(); child; child = child->nextSibling()) |
340 nodes.append(child); | 339 nodes.append(child); |
341 } | 340 } |
342 | 341 |
343 } // namespace blink | 342 } // namespace blink |
344 | 343 |
345 #endif // ContainerNode_h | 344 #endif // ContainerNode_h |
OLD | NEW |