OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2000 Frederik Holljen (frederik.holljen@hig.no) | 3 * Copyright (C) 2000 Frederik Holljen (frederik.holljen@hig.no) |
4 * Copyright (C) 2001 Peter Kelly (pmk@post.com) | 4 * Copyright (C) 2001 Peter Kelly (pmk@post.com) |
5 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 5 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) |
6 * Copyright (C) 2004, 2008 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2008 Apple Inc. All 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 12 matching lines...) Expand all Loading... |
23 */ | 23 */ |
24 | 24 |
25 #include "config.h" | 25 #include "config.h" |
26 #include "core/dom/NodeIterator.h" | 26 #include "core/dom/NodeIterator.h" |
27 | 27 |
28 #include "bindings/v8/ExceptionMessages.h" | 28 #include "bindings/v8/ExceptionMessages.h" |
29 #include "bindings/v8/ExceptionState.h" | 29 #include "bindings/v8/ExceptionState.h" |
30 #include "bindings/v8/ScriptState.h" | 30 #include "bindings/v8/ScriptState.h" |
31 #include "core/dom/Document.h" | 31 #include "core/dom/Document.h" |
32 #include "core/dom/ExceptionCode.h" | 32 #include "core/dom/ExceptionCode.h" |
33 #include "core/dom/NodeFilter.h" | |
34 #include "core/dom/NodeTraversal.h" | 33 #include "core/dom/NodeTraversal.h" |
35 | 34 |
36 namespace WebCore { | 35 namespace WebCore { |
37 | 36 |
38 NodeIterator::NodePointer::NodePointer() | 37 NodeIterator::NodePointer::NodePointer() |
39 { | 38 { |
40 } | 39 } |
41 | 40 |
42 NodeIterator::NodePointer::NodePointer(PassRefPtr<Node> n, bool b) | 41 NodeIterator::NodePointer::NodePointer(PassRefPtr<Node> n, bool b) |
43 : node(n) | 42 : node(n) |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 node = NodeTraversal::previous(*node, root()); | 220 node = NodeTraversal::previous(*node, root()); |
222 } | 221 } |
223 if (node) | 222 if (node) |
224 referenceNode.node = node; | 223 referenceNode.node = node; |
225 } | 224 } |
226 } | 225 } |
227 } | 226 } |
228 | 227 |
229 | 228 |
230 } // namespace WebCore | 229 } // namespace WebCore |
OLD | NEW |