Chromium Code Reviews| Index: Source/core/style/StyleTransformData.h |
| diff --git a/Source/core/style/StyleTransformData.h b/Source/core/style/StyleTransformData.h |
| index 9cdc73705246efd3281a56101ffabe6c258c3e8d..de7d686f38b58797f6c752d4d22f2e01a5440293 100644 |
| --- a/Source/core/style/StyleTransformData.h |
| +++ b/Source/core/style/StyleTransformData.h |
| @@ -27,7 +27,10 @@ |
| #include "core/style/StyleMotionData.h" |
| #include "core/style/TransformOrigin.h" |
| +#include "platform/transforms/RotateTransformOperation.h" |
| +#include "platform/transforms/ScaleTransformOperation.h" |
| #include "platform/transforms/TransformOperations.h" |
| +#include "platform/transforms/TranslateTransformOperation.h" |
| #include "wtf/PassRefPtr.h" |
| #include "wtf/RefCounted.h" |
| @@ -43,10 +46,18 @@ public: |
| { |
| return !(*this == o); |
| } |
| + void setTranslate(PassRefPtr<TranslateTransformOperation>); |
|
dstockwell
2015/06/12 00:17:58
Do we need setters when the members are public?
soonm
2015/06/12 06:18:49
Removed setters.
|
| + void setRotate(PassRefPtr<RotateTransformOperation>); |
| + void setScale(PassRefPtr<ScaleTransformOperation>); |
| + |
| + bool has3DTransformProperties() const; |
| TransformOperations m_operations; |
| TransformOrigin m_origin; |
| StyleMotionData m_motion; |
| + RefPtr<TranslateTransformOperation> m_translate; |
| + RefPtr<RotateTransformOperation> m_rotate; |
| + RefPtr<ScaleTransformOperation> m_scale; |
| private: |
| StyleTransformData(); |