| 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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 void notifyNodeInserted(Node&, ChildrenChangeSource = ChildrenChangeSourceAP
I); | 257 void notifyNodeInserted(Node&, ChildrenChangeSource = ChildrenChangeSourceAP
I); |
| 258 void notifyNodeInsertedInternal(Node&, NodeVector& postInsertionNotification
Targets); | 258 void notifyNodeInsertedInternal(Node&, NodeVector& postInsertionNotification
Targets); |
| 259 void notifyNodeRemoved(Node&); | 259 void notifyNodeRemoved(Node&); |
| 260 | 260 |
| 261 bool hasRestyleFlag(DynamicRestyleFlags mask) const { return hasRareData() &
& hasRestyleFlagInternal(mask); } | 261 bool hasRestyleFlag(DynamicRestyleFlags mask) const { return hasRareData() &
& hasRestyleFlagInternal(mask); } |
| 262 bool hasRestyleFlags() const { return hasRareData() && hasRestyleFlagsIntern
al(); } | 262 bool hasRestyleFlags() const { return hasRareData() && hasRestyleFlagsIntern
al(); } |
| 263 void setRestyleFlag(DynamicRestyleFlags); | 263 void setRestyleFlag(DynamicRestyleFlags); |
| 264 bool hasRestyleFlagInternal(DynamicRestyleFlags) const; | 264 bool hasRestyleFlagInternal(DynamicRestyleFlags) const; |
| 265 bool hasRestyleFlagsInternal() const; | 265 bool hasRestyleFlagsInternal() const; |
| 266 | 266 |
| 267 void collectChildrenAndRemoveFromOldParentWithCheck(const Node* next, const
Node* oldChild, Node& newChild, NodeVector&, ExceptionState&) const; | 267 bool collectChildrenAndRemoveFromOldParentWithCheck(const Node* next, const
Node* oldChild, Node& newChild, NodeVector&, ExceptionState&) const; |
| 268 inline bool checkAcceptChildGuaranteedNodeTypes(const Node& newChild, const
Node* oldChild, ExceptionState&) const; | 268 inline bool checkAcceptChildGuaranteedNodeTypes(const Node& newChild, const
Node* oldChild, ExceptionState&) const; |
| 269 inline bool checkAcceptChild(const Node* newChild, const Node* oldChild, Exc
eptionState&) const; | 269 inline bool checkAcceptChild(const Node* newChild, const Node* oldChild, Exc
eptionState&) const; |
| 270 inline bool checkParserAcceptChild(const Node& newChild) const; | 270 inline bool checkParserAcceptChild(const Node& newChild) const; |
| 271 inline bool containsConsideringHostElements(const Node&) const; | 271 inline bool containsConsideringHostElements(const Node&) const; |
| 272 inline bool isChildTypeAllowed(const Node& child) const; | 272 inline bool isChildTypeAllowed(const Node& child) const; |
| 273 | 273 |
| 274 bool getUpperLeftCorner(FloatPoint&) const; | 274 bool getUpperLeftCorner(FloatPoint&) const; |
| 275 bool getLowerRightCorner(FloatPoint&) const; | 275 bool getLowerRightCorner(FloatPoint&) const; |
| 276 | 276 |
| 277 Member<Node> m_firstChild; | 277 Member<Node> m_firstChild; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 inline void getChildNodes(ContainerNode& node, NodeVector& nodes) | 351 inline void getChildNodes(ContainerNode& node, NodeVector& nodes) |
| 352 { | 352 { |
| 353 DCHECK(!nodes.size()); | 353 DCHECK(!nodes.size()); |
| 354 for (Node* child = node.firstChild(); child; child = child->nextSibling()) | 354 for (Node* child = node.firstChild(); child; child = child->nextSibling()) |
| 355 nodes.append(child); | 355 nodes.append(child); |
| 356 } | 356 } |
| 357 | 357 |
| 358 } // namespace blink | 358 } // namespace blink |
| 359 | 359 |
| 360 #endif // ContainerNode_h | 360 #endif // ContainerNode_h |
| OLD | NEW |