Index: third_party/WebKit/Source/core/style/StyleTransformData.h |
diff --git a/third_party/WebKit/Source/core/style/StyleTransformData.h b/third_party/WebKit/Source/core/style/StyleTransformData.h |
index 8b4ecabcaa592b03e979d2bd2f19f25c6896d5a8..36b1eba1cc691c7b8935af77d8b46a68106c5a39 100644 |
--- a/third_party/WebKit/Source/core/style/StyleTransformData.h |
+++ b/third_party/WebKit/Source/core/style/StyleTransformData.h |
@@ -25,6 +25,7 @@ |
#ifndef StyleTransformData_h |
#define StyleTransformData_h |
+#include "core/CoreExport.h" |
#include "core/style/StyleMotionData.h" |
#include "core/style/TransformOrigin.h" |
#include "platform/transforms/RotateTransformOperation.h" |
@@ -36,7 +37,7 @@ |
namespace blink { |
-class StyleTransformData : public RefCounted<StyleTransformData> { |
+class CORE_EXPORT StyleTransformData : public RefCounted<StyleTransformData> { |
public: |
static PassRefPtr<StyleTransformData> create() { |
return adoptRef(new StyleTransformData); |
@@ -49,13 +50,25 @@ class StyleTransformData : public RefCounted<StyleTransformData> { |
bool operator!=(const StyleTransformData& o) const { return !(*this == o); } |
bool has3DTransform() const; |
+ bool transformDataEquivalent(const StyleTransformData&) const; |
+ |
TransformOperations m_operations; |
TransformOrigin m_origin; |
StyleMotionData m_motion; |
+ LengthPoint m_perspectiveOrigin; |
RefPtr<TranslateTransformOperation> m_translate; |
RefPtr<RotateTransformOperation> m_rotate; |
RefPtr<ScaleTransformOperation> m_scale; |
+ float m_perspective; |
+ |
+ unsigned m_transformStyle3D : 1; // ETransformStyle3D |
+ unsigned m_backfaceVisibility : 1; // EBackfaceVisibility |
+ |
+ // Whether the transform (if it exists) is stored in the element's inline |
+ // style. |
+ unsigned m_hasInlineTransform : 1; |
+ |
private: |
StyleTransformData(); |
StyleTransformData(const StyleTransformData&); |