| 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 Apple Inc. All rights
reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights
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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 void cloneChildNodes(ContainerNode* clone); | 120 void cloneChildNodes(ContainerNode* clone); |
| 121 | 121 |
| 122 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; | 122 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; |
| 123 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; | 123 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; |
| 124 virtual LayoutRect boundingBox() const OVERRIDE FINAL; | 124 virtual LayoutRect boundingBox() const OVERRIDE FINAL; |
| 125 virtual void setFocus(bool) OVERRIDE; | 125 virtual void setFocus(bool) OVERRIDE; |
| 126 void focusStateChanged(); | 126 void focusStateChanged(); |
| 127 virtual void setActive(bool = true) OVERRIDE; | 127 virtual void setActive(bool = true) OVERRIDE; |
| 128 virtual void setHovered(bool = true) OVERRIDE; | 128 virtual void setHovered(bool = true) OVERRIDE; |
| 129 | 129 |
| 130 void checkForChildrenAdjacentRuleChanges(); |
| 131 |
| 130 // -------------------------------------------------------------------------
---- | 132 // -------------------------------------------------------------------------
---- |
| 131 // Notification of document structure changes (see core/dom/Node.h for more
notification methods) | 133 // Notification of document structure changes (see core/dom/Node.h for more
notification methods) |
| 132 | 134 |
| 133 // Notifies the node that it's list of children have changed (either by addi
ng or removing child nodes), or a child | 135 // Notifies the node that it's list of children have changed (either by addi
ng or removing child nodes), or a child |
| 134 // node that is of the type CDATA_SECTION_NODE, TEXT_NODE or COMMENT_NODE ha
s changed its value. | 136 // node that is of the type CDATA_SECTION_NODE, TEXT_NODE or COMMENT_NODE ha
s changed its value. |
| 135 virtual void childrenChanged(bool createdByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0); | 137 virtual void childrenChanged(bool createdByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0); |
| 136 | 138 |
| 137 void disconnectDescendantFrames(); | 139 void disconnectDescendantFrames(); |
| 138 | 140 |
| 139 protected: | 141 protected: |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 | 334 |
| 333 RefPtr<Node> m_currentNode; | 335 RefPtr<Node> m_currentNode; |
| 334 unsigned m_currentIndex; | 336 unsigned m_currentIndex; |
| 335 OwnPtr<Vector<RefPtr<Node> > > m_childNodes; // Lazily instantiated. | 337 OwnPtr<Vector<RefPtr<Node> > > m_childNodes; // Lazily instantiated. |
| 336 ChildNodesLazySnapshot* m_nextSnapshot; | 338 ChildNodesLazySnapshot* m_nextSnapshot; |
| 337 }; | 339 }; |
| 338 | 340 |
| 339 } // namespace WebCore | 341 } // namespace WebCore |
| 340 | 342 |
| 341 #endif // ContainerNode_h | 343 #endif // ContainerNode_h |
| OLD | NEW |