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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
112 m_inputMethodContext = InputMethodContext::create(element); | 112 m_inputMethodContext = InputMethodContext::create(element); |
113 return *m_inputMethodContext; | 113 return *m_inputMethodContext; |
114 } | 114 } |
115 | 115 |
116 bool hasPseudoElements() const; | 116 bool hasPseudoElements() const; |
117 void clearPseudoElements(); | 117 void clearPseudoElements(); |
118 | 118 |
119 void setCustomElementDefinition(PassRefPtr<CustomElementDefinition> definiti on) { m_customElementDefinition = definition; } | 119 void setCustomElementDefinition(PassRefPtr<CustomElementDefinition> definiti on) { m_customElementDefinition = definition; } |
120 CustomElementDefinition* customElementDefinition() const { return m_customEl ementDefinition.get(); } | 120 CustomElementDefinition* customElementDefinition() const { return m_customEl ementDefinition.get(); } |
121 | 121 |
122 void trace(Visitor* visitor) | |
123 { | |
124 // FIXME: Oilpan: Implement real tracing of the | |
125 // ElementRareData when it has been moved to the | |
126 // oilpan heap and move the ElementShadow tracing | |
127 // to the ElementShadow when that has been moved | |
128 // to the oilpan heap. | |
129 visitor->trace(m_shadow); | |
haraken
2014/05/06 04:20:16
It's confusing that ElementShadow is traced but El
Mads Ager (chromium)
2014/05/06 08:26:00
I would prefer to do that as a followup. Moving mo
| |
130 } | |
131 | |
122 private: | 132 private: |
123 short m_tabindex; | 133 short m_tabindex; |
124 | 134 |
125 IntSize m_savedLayerScrollOffset; | 135 IntSize m_savedLayerScrollOffset; |
126 | 136 |
127 OwnPtr<DatasetDOMStringMap> m_dataset; | 137 OwnPtr<DatasetDOMStringMap> m_dataset; |
128 OwnPtr<ClassList> m_classList; | 138 OwnPtr<ClassList> m_classList; |
129 OwnPtr<ElementShadow> m_shadow; | 139 OwnPtr<ElementShadow> m_shadow; |
130 OwnPtr<NamedNodeMap> m_attributeMap; | 140 OwnPtr<NamedNodeMap> m_attributeMap; |
131 OwnPtr<InputMethodContext> m_inputMethodContext; | 141 OwnPtr<InputMethodContext> m_inputMethodContext; |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
206 } | 216 } |
207 | 217 |
208 inline void ElementRareData::resetStyleState() | 218 inline void ElementRareData::resetStyleState() |
209 { | 219 { |
210 clearElementFlag(StyleAffectedByEmpty); | 220 clearElementFlag(StyleAffectedByEmpty); |
211 } | 221 } |
212 | 222 |
213 } // namespace | 223 } // namespace |
214 | 224 |
215 #endif // ElementRareData_h | 225 #endif // ElementRareData_h |
OLD | NEW |