| 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 12 matching lines...) Expand all Loading... |
| 23 along with this library; see the file COPYING.LIB. If not, write to | 23 along with this library; see the file COPYING.LIB. If not, write to |
| 24 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 24 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 25 Boston, MA 02110-1301, USA. | 25 Boston, MA 02110-1301, USA. |
| 26 */ | 26 */ |
| 27 | 27 |
| 28 #ifndef SVGLayoutStyleDefs_h | 28 #ifndef SVGLayoutStyleDefs_h |
| 29 #define SVGLayoutStyleDefs_h | 29 #define SVGLayoutStyleDefs_h |
| 30 | 30 |
| 31 #include "core/svg/SVGLength.h" | 31 #include "core/svg/SVGLength.h" |
| 32 #include "core/svg/SVGLengthList.h" | 32 #include "core/svg/SVGLengthList.h" |
| 33 #include "platform/Length.h" |
| 33 #include "wtf/OwnPtr.h" | 34 #include "wtf/OwnPtr.h" |
| 34 #include "wtf/PassOwnPtr.h" | 35 #include "wtf/PassOwnPtr.h" |
| 35 #include "wtf/RefCounted.h" | 36 #include "wtf/RefCounted.h" |
| 36 #include "wtf/RefPtr.h" | 37 #include "wtf/RefPtr.h" |
| 37 | 38 |
| 38 namespace blink { | 39 namespace blink { |
| 39 | 40 |
| 40 enum SVGPaintType { | 41 enum SVGPaintType { |
| 41 SVG_PAINTTYPE_RGBCOLOR, | 42 SVG_PAINTTYPE_RGBCOLOR, |
| 42 SVG_PAINTTYPE_NONE, | 43 SVG_PAINTTYPE_NONE, |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 | 253 |
| 253 AtomicString markerStart; | 254 AtomicString markerStart; |
| 254 AtomicString markerMid; | 255 AtomicString markerMid; |
| 255 AtomicString markerEnd; | 256 AtomicString markerEnd; |
| 256 | 257 |
| 257 private: | 258 private: |
| 258 StyleInheritedResourceData(); | 259 StyleInheritedResourceData(); |
| 259 StyleInheritedResourceData(const StyleInheritedResourceData&); | 260 StyleInheritedResourceData(const StyleInheritedResourceData&); |
| 260 }; | 261 }; |
| 261 | 262 |
| 263 // Positioning and sizing properties. |
| 264 class StyleLayoutData : public RefCounted<StyleLayoutData> { |
| 265 public: |
| 266 static PassRefPtr<StyleLayoutData> create() { return adoptRef(new StyleL
ayoutData); } |
| 267 PassRefPtr<StyleLayoutData> copy() const; |
| 268 bool operator==(const StyleLayoutData&) const; |
| 269 bool operator!=(const StyleLayoutData& other) const |
| 270 { |
| 271 return !(*this == other); |
| 272 } |
| 273 Length x; |
| 274 Length y; |
| 275 private: |
| 276 StyleLayoutData(); |
| 277 StyleLayoutData(const StyleLayoutData&); |
| 278 }; |
| 279 |
| 262 } // namespace blink | 280 } // namespace blink |
| 263 | 281 |
| 264 #endif // SVGLayoutStyleDefs_h | 282 #endif // SVGLayoutStyleDefs_h |
| OLD | NEW |