OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007 Apple Inc. All rights reserved. |
3 * (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> | 3 * (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
14 * | 14 * |
15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
19 * | 19 * |
20 */ | 20 */ |
21 | 21 |
22 #ifndef ContainerNodeAlgorithms_h | 22 #ifndef ContainerNodeAlgorithms_h |
23 #define ContainerNodeAlgorithms_h | 23 #define ContainerNodeAlgorithms_h |
24 | 24 |
25 #include "core/dom/Document.h" | 25 #include "core/dom/Document.h" |
26 #include "core/dom/NodeTraversal.h" | 26 #include "core/dom/NodeTraversal.h" |
27 #include "core/html/HTMLFrameOwnerElement.h" | 27 #include "core/html/HTMLFrameOwnerElement.h" |
28 #include "core/inspector/InspectorInstrumentation.h" | 28 #include "core/inspector/InspectorInstrumentation.h" |
29 #include "core/page/Frame.h" | 29 #include "wtf/Assertions.h" |
30 #include <wtf/Assertions.h> | |
31 | 30 |
32 namespace WebCore { | 31 namespace WebCore { |
33 | 32 |
34 class ChildNodeInsertionNotifier { | 33 class ChildNodeInsertionNotifier { |
35 public: | 34 public: |
36 explicit ChildNodeInsertionNotifier(ContainerNode* insertionPoint) | 35 explicit ChildNodeInsertionNotifier(ContainerNode* insertionPoint) |
37 : m_insertionPoint(insertionPoint) | 36 : m_insertionPoint(insertionPoint) |
38 { | 37 { |
39 } | 38 } |
40 | 39 |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 for (Node* child = m_root->firstChild(); child; child = child->nextSibli
ng()) | 329 for (Node* child = m_root->firstChild(); child; child = child->nextSibli
ng()) |
331 collectFrameOwners(child); | 330 collectFrameOwners(child); |
332 } | 331 } |
333 | 332 |
334 disconnectCollectedFrameOwners(); | 333 disconnectCollectedFrameOwners(); |
335 } | 334 } |
336 | 335 |
337 } // namespace WebCore | 336 } // namespace WebCore |
338 | 337 |
339 #endif // ContainerNodeAlgorithms_h | 338 #endif // ContainerNodeAlgorithms_h |
OLD | NEW |