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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 | 87 |
88 // Property states | 88 // Property states |
89 bool m_cxSet : 1; | 89 bool m_cxSet : 1; |
90 bool m_cySet : 1; | 90 bool m_cySet : 1; |
91 bool m_rSet : 1; | 91 bool m_rSet : 1; |
92 bool m_fxSet : 1; | 92 bool m_fxSet : 1; |
93 bool m_fySet : 1; | 93 bool m_fySet : 1; |
94 bool m_frSet : 1; | 94 bool m_frSet : 1; |
95 }; | 95 }; |
96 | 96 |
| 97 #if ENABLE(OILPAN) |
| 98 // Wrapper object for the RadialGradientAttributes part object. |
| 99 class RadialGradientAttributesWrapper : public GarbageCollectedFinalized<RadialG
radientAttributesWrapper> { |
| 100 public: |
| 101 static RadialGradientAttributesWrapper* create() |
| 102 { |
| 103 return new RadialGradientAttributesWrapper; |
| 104 } |
| 105 |
| 106 RadialGradientAttributes& attributes() { return m_attributes; } |
| 107 void set(const RadialGradientAttributes& attributes) { m_attributes = attrib
utes; } |
| 108 void trace(Visitor* visitor) { visitor->trace(m_attributes); } |
| 109 |
| 110 private: |
| 111 RadialGradientAttributesWrapper() |
| 112 { |
| 113 } |
| 114 |
| 115 RadialGradientAttributes m_attributes; |
| 116 }; |
| 117 #endif |
| 118 |
97 } // namespace blink | 119 } // namespace blink |
98 | 120 |
99 #endif | 121 #endif |
OLD | NEW |