| 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 // Wrapper object for the PatternAttributes part object. | 176 // Wrapper object for the PatternAttributes part object. |
| 177 class PatternAttributesWrapper : public GarbageCollected<PatternAttributesWrappe
r> { | 177 class PatternAttributesWrapper : public GarbageCollectedFinalized<PatternAttribu
tesWrapper> { |
| 178 public: | 178 public: |
| 179 static PatternAttributesWrapper* create() | 179 static PatternAttributesWrapper* create() |
| 180 { | 180 { |
| 181 return new PatternAttributesWrapper; | 181 return new PatternAttributesWrapper; |
| 182 } | 182 } |
| 183 | 183 |
| 184 PatternAttributes& attributes() { return m_attributes; } | 184 PatternAttributes& attributes() { return m_attributes; } |
| 185 void set(const PatternAttributes& attributes) { m_attributes = attributes; } | 185 void set(const PatternAttributes& attributes) { m_attributes = attributes; } |
| 186 DEFINE_INLINE_TRACE() { visitor->trace(m_attributes); } | 186 DEFINE_INLINE_TRACE() { visitor->trace(m_attributes); } |
| 187 | 187 |
| 188 private: | 188 private: |
| 189 PatternAttributesWrapper() | 189 PatternAttributesWrapper() |
| 190 { | 190 { |
| 191 } | 191 } |
| 192 | 192 |
| 193 PatternAttributes m_attributes; | 193 PatternAttributes m_attributes; |
| 194 }; | 194 }; |
| 195 | 195 |
| 196 } // namespace blink | 196 } // namespace blink |
| 197 | 197 |
| 198 #endif // PatternAttributes_h | 198 #endif // PatternAttributes_h |
| OLD | NEW |