| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 void removeBetween(Node* previousChild, Node* nextChild, Node& oldChild); | 132 void removeBetween(Node* previousChild, Node* nextChild, Node& oldChild); |
| 133 void insertBeforeCommon(Node& nextChild, Node& oldChild); | 133 void insertBeforeCommon(Node& nextChild, Node& oldChild); |
| 134 void appendChildCommon(Node& child); | 134 void appendChildCommon(Node& child); |
| 135 void updateTreeAfterInsertion(Node& child); | 135 void updateTreeAfterInsertion(Node& child); |
| 136 void willRemoveChildren(); | 136 void willRemoveChildren(); |
| 137 void willRemoveChild(Node& child); | 137 void willRemoveChild(Node& child); |
| 138 void removeDetachedChildrenInContainer(ContainerNode&); | 138 void removeDetachedChildrenInContainer(ContainerNode&); |
| 139 void addChildNodesToDeletionQueue(Node*&, Node*&, ContainerNode&); | 139 void addChildNodesToDeletionQueue(Node*&, Node*&, ContainerNode&); |
| 140 | 140 |
| 141 void notifyNodeInserted(Node&, ChildrenChangeSource = ChildrenChangeSourceAP
I); | 141 void notifyNodeInserted(Node&, ChildrenChangeSource = ChildrenChangeSourceAP
I); |
| 142 void notifyNodeInsertedInternal(Node&, NodeVector& postInsertionNotification
Targets); | 142 void notifyNodeInsertedInternal(Node&); |
| 143 void notifyNodeRemoved(Node&); | 143 void notifyNodeRemoved(Node&); |
| 144 | 144 |
| 145 inline void checkAcceptChildType(const Node* newChild, ExceptionState&) cons
t; | 145 inline void checkAcceptChildType(const Node* newChild, ExceptionState&) cons
t; |
| 146 inline void checkAcceptChildHierarchy(const Node& newChild, const Node* oldC
hild, ExceptionState&) const; | 146 inline void checkAcceptChildHierarchy(const Node& newChild, const Node* oldC
hild, ExceptionState&) const; |
| 147 inline bool containsConsideringHostElements(const Node&) const; | 147 inline bool containsConsideringHostElements(const Node&) const; |
| 148 | 148 |
| 149 void attachChildren(const AttachContext& = AttachContext()); | 149 void attachChildren(const AttachContext& = AttachContext()); |
| 150 void detachChildren(const AttachContext& = AttachContext()); | 150 void detachChildren(const AttachContext& = AttachContext()); |
| 151 | 151 |
| 152 bool getUpperLeftCorner(FloatPoint&) const; | 152 bool getUpperLeftCorner(FloatPoint&) const; |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 inline void getChildNodes(ContainerNode& node, NodeVector& nodes) | 219 inline void getChildNodes(ContainerNode& node, NodeVector& nodes) |
| 220 { | 220 { |
| 221 ASSERT(!nodes.size()); | 221 ASSERT(!nodes.size()); |
| 222 for (Node* child = node.firstChild(); child; child = child->nextSibling()) | 222 for (Node* child = node.firstChild(); child; child = child->nextSibling()) |
| 223 nodes.append(child); | 223 nodes.append(child); |
| 224 } | 224 } |
| 225 | 225 |
| 226 } // namespace blink | 226 } // namespace blink |
| 227 | 227 |
| 228 #endif // SKY_ENGINE_CORE_DOM_CONTAINERNODE_H_ | 228 #endif // SKY_ENGINE_CORE_DOM_CONTAINERNODE_H_ |
| OLD | NEW |