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