| OLD | NEW |
| 1 /* | 1 /* |
| 2 Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 2004, 2005 Rob Buis <buis@kde.org> | 3 2004, 2005 Rob Buis <buis@kde.org> |
| 4 Copyright (C) Research In Motion Limited 2010. All rights reserved. | 4 Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 5 | 5 |
| 6 Based on khtml code by: | 6 Based on khtml code by: |
| 7 Copyright (C) 2000-2003 Lars Knoll (knoll@kde.org) | 7 Copyright (C) 2000-2003 Lars Knoll (knoll@kde.org) |
| 8 (C) 2000 Antti Koivisto (koivisto@kde.org) | 8 (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 9 (C) 2000-2003 Dirk Mueller (mueller@kde.org) | 9 (C) 2000-2003 Dirk Mueller (mueller@kde.org) |
| 10 (C) 2002-2003 Apple Computer, Inc. | 10 (C) 2002-2003 Apple Computer, Inc. |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 Color visitedLinkPaintColor; | 133 Color visitedLinkPaintColor; |
| 134 String visitedLinkPaintUri; | 134 String visitedLinkPaintUri; |
| 135 | 135 |
| 136 private: | 136 private: |
| 137 StyleFillData(); | 137 StyleFillData(); |
| 138 StyleFillData(const StyleFillData&); | 138 StyleFillData(const StyleFillData&); |
| 139 }; | 139 }; |
| 140 | 140 |
| 141 class StyleStrokeData : public RefCounted<StyleStrokeData> { | 141 class StyleStrokeData : public RefCounted<StyleStrokeData> { |
| 142 public: | 142 public: |
| 143 static PassRefPtr<StyleStrokeData> create() { return adoptRef(new StyleS
trokeData); } | 143 static PassRefPtr<StyleStrokeData> create() |
| 144 PassRefPtr<StyleStrokeData> copy() const { return adoptRef(new StyleStro
keData(*this)); } | 144 { |
| 145 return adoptRef(new StyleStrokeData); |
| 146 } |
| 147 |
| 148 PassRefPtr<StyleStrokeData> copy() const |
| 149 { |
| 150 return adoptRef(new StyleStrokeData(*this)); |
| 151 } |
| 145 | 152 |
| 146 bool operator==(const StyleStrokeData&) const; | 153 bool operator==(const StyleStrokeData&) const; |
| 147 bool operator!=(const StyleStrokeData& other) const | 154 bool operator!=(const StyleStrokeData& other) const |
| 148 { | 155 { |
| 149 return !(*this == other); | 156 return !(*this == other); |
| 150 } | 157 } |
| 151 | 158 |
| 152 float opacity; | 159 float opacity; |
| 153 float miterLimit; | 160 float miterLimit; |
| 154 | 161 |
| 155 RefPtr<SVGLength> width; | 162 RefPtrWillBePersistent<SVGLength> width; |
| 156 RefPtr<SVGLength> dashOffset; | 163 RefPtrWillBePersistent<SVGLength> dashOffset; |
| 157 RefPtr<SVGLengthList> dashArray; | 164 RefPtrWillBePersistent<SVGLengthList> dashArray; |
| 158 | 165 |
| 159 SVGPaintType paintType; | 166 SVGPaintType paintType; |
| 160 Color paintColor; | 167 Color paintColor; |
| 161 String paintUri; | 168 String paintUri; |
| 162 SVGPaintType visitedLinkPaintType; | 169 SVGPaintType visitedLinkPaintType; |
| 163 Color visitedLinkPaintColor; | 170 Color visitedLinkPaintColor; |
| 164 String visitedLinkPaintUri; | 171 String visitedLinkPaintUri; |
| 165 | 172 |
| 166 private: | 173 private: |
| 167 StyleStrokeData(); | 174 StyleStrokeData(); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 196 bool operator==(const StyleMiscData&) const; | 203 bool operator==(const StyleMiscData&) const; |
| 197 bool operator!=(const StyleMiscData& other) const | 204 bool operator!=(const StyleMiscData& other) const |
| 198 { | 205 { |
| 199 return !(*this == other); | 206 return !(*this == other); |
| 200 } | 207 } |
| 201 | 208 |
| 202 Color floodColor; | 209 Color floodColor; |
| 203 float floodOpacity; | 210 float floodOpacity; |
| 204 Color lightingColor; | 211 Color lightingColor; |
| 205 | 212 |
| 206 RefPtr<SVGLength> baselineShiftValue; | 213 RefPtrWillBePersistent<SVGLength> baselineShiftValue; |
| 207 | 214 |
| 208 private: | 215 private: |
| 209 StyleMiscData(); | 216 StyleMiscData(); |
| 210 StyleMiscData(const StyleMiscData&); | 217 StyleMiscData(const StyleMiscData&); |
| 211 }; | 218 }; |
| 212 | 219 |
| 213 // Non-inherited resources | 220 // Non-inherited resources |
| 214 class StyleResourceData : public RefCounted<StyleResourceData> { | 221 class StyleResourceData : public RefCounted<StyleResourceData> { |
| 215 public: | 222 public: |
| 216 static PassRefPtr<StyleResourceData> create() { return adoptRef(new Styl
eResourceData); } | 223 static PassRefPtr<StyleResourceData> create() { return adoptRef(new Styl
eResourceData); } |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 AtomicString markerEnd; | 255 AtomicString markerEnd; |
| 249 | 256 |
| 250 private: | 257 private: |
| 251 StyleInheritedResourceData(); | 258 StyleInheritedResourceData(); |
| 252 StyleInheritedResourceData(const StyleInheritedResourceData&); | 259 StyleInheritedResourceData(const StyleInheritedResourceData&); |
| 253 }; | 260 }; |
| 254 | 261 |
| 255 } // namespace blink | 262 } // namespace blink |
| 256 | 263 |
| 257 #endif // SVGRenderStyleDefs_h | 264 #endif // SVGRenderStyleDefs_h |
| OLD | NEW |