| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com> | 3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com> |
| 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 NodeRareData_h | 22 #ifndef NodeRareData_h |
| 23 #define NodeRareData_h | 23 #define NodeRareData_h |
| 24 | 24 |
| 25 #include "core/dom/MutationObserverRegistration.h" | 25 #include "core/dom/MutationObserverRegistration.h" |
| 26 #include "core/dom/NodeListsNodeData.h" | 26 #include "core/dom/NodeListsNodeData.h" |
| 27 #include "platform/geometry/IntRect.h" |
| 27 #include "platform/heap/Handle.h" | 28 #include "platform/heap/Handle.h" |
| 28 #include "wtf/HashSet.h" | 29 #include "wtf/HashSet.h" |
| 29 #include "wtf/OwnPtr.h" | 30 #include "wtf/OwnPtr.h" |
| 30 #include "wtf/PassOwnPtr.h" | 31 #include "wtf/PassOwnPtr.h" |
| 32 #include "wtf/Vector.h" |
| 31 | 33 |
| 32 namespace blink { | 34 namespace blink { |
| 33 | 35 |
| 34 class NodeMutationObserverData final : public NoBaseWillBeGarbageCollected<NodeM
utationObserverData> { | 36 class NodeMutationObserverData final : public NoBaseWillBeGarbageCollected<NodeM
utationObserverData> { |
| 35 WTF_MAKE_NONCOPYABLE(NodeMutationObserverData); | 37 WTF_MAKE_NONCOPYABLE(NodeMutationObserverData); |
| 36 USING_FAST_MALLOC_WILL_BE_REMOVED(NodeMutationObserverData); | 38 USING_FAST_MALLOC_WILL_BE_REMOVED(NodeMutationObserverData); |
| 37 public: | 39 public: |
| 38 WillBeHeapVector<OwnPtrWillBeMember<MutationObserverRegistration>> registry; | 40 WillBeHeapVector<OwnPtrWillBeMember<MutationObserverRegistration>> registry; |
| 39 WillBeHeapHashSet<RawPtrWillBeMember<MutationObserverRegistration>> transien
tRegistry; | 41 WillBeHeapHashSet<RawPtrWillBeMember<MutationObserverRegistration>> transien
tRegistry; |
| 40 | 42 |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 unsigned m_connectedFrameCount : ConnectedFrameCountBits; | 126 unsigned m_connectedFrameCount : ConnectedFrameCountBits; |
| 125 unsigned m_elementFlags : NumberOfElementFlags; | 127 unsigned m_elementFlags : NumberOfElementFlags; |
| 126 unsigned m_restyleFlags : NumberOfDynamicRestyleFlags; | 128 unsigned m_restyleFlags : NumberOfDynamicRestyleFlags; |
| 127 protected: | 129 protected: |
| 128 unsigned m_isElementRareData : 1; | 130 unsigned m_isElementRareData : 1; |
| 129 }; | 131 }; |
| 130 | 132 |
| 131 } // namespace blink | 133 } // namespace blink |
| 132 | 134 |
| 133 #endif // NodeRareData_h | 135 #endif // NodeRareData_h |
| OLD | NEW |