| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 RefPtrWillBeMember<SVGLength> m_x2; | 71 RefPtrWillBeMember<SVGLength> m_x2; |
| 72 RefPtrWillBeMember<SVGLength> m_y2; | 72 RefPtrWillBeMember<SVGLength> m_y2; |
| 73 | 73 |
| 74 // Property states | 74 // Property states |
| 75 bool m_x1Set : 1; | 75 bool m_x1Set : 1; |
| 76 bool m_y1Set : 1; | 76 bool m_y1Set : 1; |
| 77 bool m_x2Set : 1; | 77 bool m_x2Set : 1; |
| 78 bool m_y2Set : 1; | 78 bool m_y2Set : 1; |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 #if ENABLE(OILPAN) |
| 82 // Wrapper object for the LinearGradientAttributes part object. |
| 83 class LinearGradientAttributesWrapper : public GarbageCollectedFinalized<LinearG
radientAttributesWrapper> { |
| 84 public: |
| 85 static LinearGradientAttributesWrapper* create() |
| 86 { |
| 87 return new LinearGradientAttributesWrapper; |
| 88 } |
| 89 |
| 90 LinearGradientAttributes& attributes() { return m_attributes; } |
| 91 void set(const LinearGradientAttributes& attributes) { m_attributes = attrib
utes; } |
| 92 void trace(Visitor* visitor) { visitor->trace(m_attributes); } |
| 93 |
| 94 private: |
| 95 LinearGradientAttributesWrapper() |
| 96 { |
| 97 } |
| 98 |
| 99 LinearGradientAttributes m_attributes; |
| 100 }; |
| 101 #endif |
| 102 |
| 81 } // namespace blink | 103 } // namespace blink |
| 82 | 104 |
| 83 #endif | 105 #endif |
| 84 | 106 |
| 85 // vim:ts=4:noet | 107 // vim:ts=4:noet |
| OLD | NEW |