OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 bool m_widthSet : 1; | 166 bool m_widthSet : 1; |
167 bool m_heightSet : 1; | 167 bool m_heightSet : 1; |
168 bool m_viewBoxSet : 1; | 168 bool m_viewBoxSet : 1; |
169 bool m_preserveAspectRatioSet : 1; | 169 bool m_preserveAspectRatioSet : 1; |
170 bool m_patternUnitsSet : 1; | 170 bool m_patternUnitsSet : 1; |
171 bool m_patternContentUnitsSet : 1; | 171 bool m_patternContentUnitsSet : 1; |
172 bool m_patternTransformSet : 1; | 172 bool m_patternTransformSet : 1; |
173 bool m_patternContentElementSet : 1; | 173 bool m_patternContentElementSet : 1; |
174 }; | 174 }; |
175 | 175 |
| 176 #if ENABLE(OILPAN) |
| 177 // Wrapper object for the PatternAttributes part object. |
| 178 class PatternAttributesWrapper : public GarbageCollectedFinalized<PatternAttribu
tesWrapper> { |
| 179 public: |
| 180 static PatternAttributesWrapper* create() |
| 181 { |
| 182 return new PatternAttributesWrapper; |
| 183 } |
| 184 |
| 185 PatternAttributes& attributes() { return m_attributes; } |
| 186 void set(const PatternAttributes& attributes) { m_attributes = attributes; } |
| 187 void trace(Visitor* visitor) { visitor->trace(m_attributes); } |
| 188 |
| 189 private: |
| 190 PatternAttributesWrapper() |
| 191 { |
| 192 } |
| 193 |
| 194 PatternAttributes m_attributes; |
| 195 }; |
| 196 #endif |
| 197 |
176 } // namespace blink | 198 } // namespace blink |
177 | 199 |
178 #endif // PatternAttributes_h | 200 #endif // PatternAttributes_h |
OLD | NEW |