| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009, 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, |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 DatasetDOMStringMap* dataset() const { return m_dataset.get(); } | 95 DatasetDOMStringMap* dataset() const { return m_dataset.get(); } |
| 96 void setDataset(PassOwnPtrWillBeRawPtr<DatasetDOMStringMap> dataset) { m_dat
aset = dataset; } | 96 void setDataset(PassOwnPtrWillBeRawPtr<DatasetDOMStringMap> dataset) { m_dat
aset = dataset; } |
| 97 | 97 |
| 98 LayoutSize minimumSizeForResizing() const { return m_minimumSizeForResizing;
} | 98 LayoutSize minimumSizeForResizing() const { return m_minimumSizeForResizing;
} |
| 99 void setMinimumSizeForResizing(LayoutSize size) { m_minimumSizeForResizing =
size; } | 99 void setMinimumSizeForResizing(LayoutSize size) { m_minimumSizeForResizing =
size; } |
| 100 | 100 |
| 101 IntSize savedLayerScrollOffset() const { return m_savedLayerScrollOffset; } | 101 IntSize savedLayerScrollOffset() const { return m_savedLayerScrollOffset; } |
| 102 void setSavedLayerScrollOffset(IntSize size) { m_savedLayerScrollOffset = si
ze; } | 102 void setSavedLayerScrollOffset(IntSize size) { m_savedLayerScrollOffset = si
ze; } |
| 103 | 103 |
| 104 ElementAnimations* elementAnimations() { return m_elementAnimations.get(); } | 104 ElementAnimations* elementAnimations() { return m_elementAnimations.get(); } |
| 105 void setElementAnimations(PassOwnPtrWillBeRawPtr<ElementAnimations> elementA
nimations) | 105 void setElementAnimations(ElementAnimations* elementAnimations) |
| 106 { | 106 { |
| 107 m_elementAnimations = elementAnimations; | 107 m_elementAnimations = elementAnimations; |
| 108 } | 108 } |
| 109 | 109 |
| 110 bool hasPseudoElements() const; | 110 bool hasPseudoElements() const; |
| 111 void clearPseudoElements(); | 111 void clearPseudoElements(); |
| 112 | 112 |
| 113 uint32_t incrementProxyCount() { return ++m_proxyCount; } | 113 uint32_t incrementProxyCount() { return ++m_proxyCount; } |
| 114 uint32_t decrementProxyCount() | 114 uint32_t decrementProxyCount() |
| 115 { | 115 { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 134 unsigned short m_proxyCount; | 134 unsigned short m_proxyCount; |
| 135 | 135 |
| 136 LayoutSize m_minimumSizeForResizing; | 136 LayoutSize m_minimumSizeForResizing; |
| 137 IntSize m_savedLayerScrollOffset; | 137 IntSize m_savedLayerScrollOffset; |
| 138 | 138 |
| 139 OwnPtrWillBeMember<DatasetDOMStringMap> m_dataset; | 139 OwnPtrWillBeMember<DatasetDOMStringMap> m_dataset; |
| 140 OwnPtrWillBeMember<ClassList> m_classList; | 140 OwnPtrWillBeMember<ClassList> m_classList; |
| 141 OwnPtrWillBeMember<ElementShadow> m_shadow; | 141 OwnPtrWillBeMember<ElementShadow> m_shadow; |
| 142 OwnPtrWillBeMember<NamedNodeMap> m_attributeMap; | 142 OwnPtrWillBeMember<NamedNodeMap> m_attributeMap; |
| 143 OwnPtrWillBeMember<AttrNodeList> m_attrNodeList; | 143 OwnPtrWillBeMember<AttrNodeList> m_attrNodeList; |
| 144 OwnPtrWillBeMember<ElementAnimations> m_elementAnimations; | 144 PersistentWillBeMember<ElementAnimations> m_elementAnimations; |
| 145 OwnPtrWillBeMember<InlineCSSStyleDeclaration> m_cssomWrapper; | 145 OwnPtrWillBeMember<InlineCSSStyleDeclaration> m_cssomWrapper; |
| 146 | 146 |
| 147 RefPtr<ComputedStyle> m_computedStyle; | 147 RefPtr<ComputedStyle> m_computedStyle; |
| 148 RefPtrWillBeMember<CustomElementDefinition> m_customElementDefinition; | 148 RefPtrWillBeMember<CustomElementDefinition> m_customElementDefinition; |
| 149 | 149 |
| 150 RefPtrWillBeMember<PseudoElement> m_generatedBefore; | 150 RefPtrWillBeMember<PseudoElement> m_generatedBefore; |
| 151 RefPtrWillBeMember<PseudoElement> m_generatedAfter; | 151 RefPtrWillBeMember<PseudoElement> m_generatedAfter; |
| 152 RefPtrWillBeMember<PseudoElement> m_generatedFirstLetter; | 152 RefPtrWillBeMember<PseudoElement> m_generatedFirstLetter; |
| 153 RefPtrWillBeMember<PseudoElement> m_backdrop; | 153 RefPtrWillBeMember<PseudoElement> m_backdrop; |
| 154 | 154 |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 case FIRST_LETTER: | 233 case FIRST_LETTER: |
| 234 return m_generatedFirstLetter.get(); | 234 return m_generatedFirstLetter.get(); |
| 235 default: | 235 default: |
| 236 return 0; | 236 return 0; |
| 237 } | 237 } |
| 238 } | 238 } |
| 239 | 239 |
| 240 } // namespace | 240 } // namespace |
| 241 | 241 |
| 242 #endif // ElementRareData_h | 242 #endif // ElementRareData_h |
| OLD | NEW |