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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 m_inputMethodContext = InputMethodContext::create(element); | 122 m_inputMethodContext = InputMethodContext::create(element); |
123 return *m_inputMethodContext; | 123 return *m_inputMethodContext; |
124 } | 124 } |
125 | 125 |
126 bool hasPseudoElements() const; | 126 bool hasPseudoElements() const; |
127 void clearPseudoElements(); | 127 void clearPseudoElements(); |
128 | 128 |
129 void setCustomElementDefinition(PassRefPtrWillBeRawPtr<CustomElementDefiniti
on> definition) { m_customElementDefinition = definition; } | 129 void setCustomElementDefinition(PassRefPtrWillBeRawPtr<CustomElementDefiniti
on> definition) { m_customElementDefinition = definition; } |
130 CustomElementDefinition* customElementDefinition() const { return m_customEl
ementDefinition.get(); } | 130 CustomElementDefinition* customElementDefinition() const { return m_customEl
ementDefinition.get(); } |
131 | 131 |
132 WillBeHeapVector<RefPtrWillBeMember<Attr> >& ensureAttrNodeList(); | 132 WillBeHeapVector<RefPtrWillBeMember<Attr>>& ensureAttrNodeList(); |
133 WillBeHeapVector<RefPtrWillBeMember<Attr> >* attrNodeList() { return m_attrN
odeList.get(); } | 133 WillBeHeapVector<RefPtrWillBeMember<Attr>>* attrNodeList() { return m_attrNo
deList.get(); } |
134 void removeAttrNodeList() { m_attrNodeList.clear(); } | 134 void removeAttrNodeList() { m_attrNodeList.clear(); } |
135 | 135 |
136 DECLARE_TRACE_AFTER_DISPATCH(); | 136 DECLARE_TRACE_AFTER_DISPATCH(); |
137 | 137 |
138 private: | 138 private: |
139 short m_tabindex; | 139 short m_tabindex; |
140 bool m_isTabStop; | 140 bool m_isTabStop; |
141 | 141 |
142 LayoutSize m_minimumSizeForResizing; | 142 LayoutSize m_minimumSizeForResizing; |
143 IntSize m_savedLayerScrollOffset; | 143 IntSize m_savedLayerScrollOffset; |
144 | 144 |
145 OwnPtrWillBeMember<DatasetDOMStringMap> m_dataset; | 145 OwnPtrWillBeMember<DatasetDOMStringMap> m_dataset; |
146 OwnPtrWillBeMember<ClassList> m_classList; | 146 OwnPtrWillBeMember<ClassList> m_classList; |
147 OwnPtrWillBeMember<ElementShadow> m_shadow; | 147 OwnPtrWillBeMember<ElementShadow> m_shadow; |
148 OwnPtrWillBeMember<NamedNodeMap> m_attributeMap; | 148 OwnPtrWillBeMember<NamedNodeMap> m_attributeMap; |
149 OwnPtrWillBeMember<WillBeHeapVector<RefPtrWillBeMember<Attr> > > m_attrNodeL
ist; | 149 OwnPtrWillBeMember<WillBeHeapVector<RefPtrWillBeMember<Attr>>> m_attrNodeLis
t; |
150 OwnPtrWillBeMember<InputMethodContext> m_inputMethodContext; | 150 OwnPtrWillBeMember<InputMethodContext> m_inputMethodContext; |
151 OwnPtrWillBeMember<ElementAnimations> m_elementAnimations; | 151 OwnPtrWillBeMember<ElementAnimations> m_elementAnimations; |
152 OwnPtrWillBeMember<InlineCSSStyleDeclaration> m_cssomWrapper; | 152 OwnPtrWillBeMember<InlineCSSStyleDeclaration> m_cssomWrapper; |
153 | 153 |
154 RefPtr<LayoutStyle> m_computedStyle; | 154 RefPtr<LayoutStyle> m_computedStyle; |
155 RefPtrWillBeMember<CustomElementDefinition> m_customElementDefinition; | 155 RefPtrWillBeMember<CustomElementDefinition> m_customElementDefinition; |
156 | 156 |
157 RefPtrWillBeMember<PseudoElement> m_generatedBefore; | 157 RefPtrWillBeMember<PseudoElement> m_generatedBefore; |
158 RefPtrWillBeMember<PseudoElement> m_generatedAfter; | 158 RefPtrWillBeMember<PseudoElement> m_generatedAfter; |
159 RefPtrWillBeMember<PseudoElement> m_generatedFirstLetter; | 159 RefPtrWillBeMember<PseudoElement> m_generatedFirstLetter; |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 case FIRST_LETTER: | 240 case FIRST_LETTER: |
241 return m_generatedFirstLetter.get(); | 241 return m_generatedFirstLetter.get(); |
242 default: | 242 default: |
243 return 0; | 243 return 0; |
244 } | 244 } |
245 } | 245 } |
246 | 246 |
247 } // namespace | 247 } // namespace |
248 | 248 |
249 #endif // ElementRareData_h | 249 #endif // ElementRareData_h |
OLD | NEW |