Index: Source/core/rendering/style/SVGRenderStyleDefs.h |
diff --git a/Source/core/rendering/style/SVGRenderStyleDefs.h b/Source/core/rendering/style/SVGRenderStyleDefs.h |
index 2c0ee620c100a71ba5175805621f01ceb22fe577..dec202259d6a5c9393378c1b4e9e3b382f92bd39 100644 |
--- a/Source/core/rendering/style/SVGRenderStyleDefs.h |
+++ b/Source/core/rendering/style/SVGRenderStyleDefs.h |
@@ -30,6 +30,7 @@ |
#include "core/svg/SVGLength.h" |
#include "core/svg/SVGLengthList.h" |
+#include "platform/Length.h" |
#include "wtf/OwnPtr.h" |
#include "wtf/PassOwnPtr.h" |
#include "wtf/RefCounted.h" |
@@ -259,6 +260,23 @@ namespace blink { |
StyleInheritedResourceData(const StyleInheritedResourceData&); |
}; |
+ // Positioning and sizing properties. |
+ class StyleLayoutData : public RefCounted<StyleLayoutData> { |
+ public: |
+ static PassRefPtr<StyleLayoutData> create() { return adoptRef(new StyleLayoutData); } |
+ PassRefPtr<StyleLayoutData> copy() const; |
+ bool operator==(const StyleLayoutData&) const; |
+ bool operator!=(const StyleLayoutData& other) const |
+ { |
+ return !(*this == other); |
+ } |
+ Length x; |
+ Length y; |
+ private: |
+ StyleLayoutData(); |
+ StyleLayoutData(const StyleLayoutData&); |
+ }; |
+ |
} // namespace blink |
#endif // SVGRenderStyleDefs_h |