| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef TransformComponent_h | 5 #ifndef TransformComponent_h |
| 6 #define TransformComponent_h | 6 #define TransformComponent_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "core/CoreExport.h" | 9 #include "core/CoreExport.h" |
| 10 #include "core/css/CSSFunctionValue.h" | 10 #include "core/css/CSSFunctionValue.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 && transformType != Rotation3DType | 35 && transformType != Rotation3DType |
| 36 && transformType != Scale3DType | 36 && transformType != Scale3DType |
| 37 && transformType != Translation3DType; | 37 && transformType != Translation3DType; |
| 38 } | 38 } |
| 39 | 39 |
| 40 String cssString() const | 40 String cssString() const |
| 41 { | 41 { |
| 42 return toCSSValue()->cssText(); | 42 return toCSSValue()->cssText(); |
| 43 } | 43 } |
| 44 | 44 |
| 45 virtual RawPtr<CSSFunctionValue> toCSSValue() const = 0; | 45 virtual CSSFunctionValue* toCSSValue() const = 0; |
| 46 virtual MatrixTransformComponent* asMatrix() const = 0; | 46 virtual MatrixTransformComponent* asMatrix() const = 0; |
| 47 | 47 |
| 48 DEFINE_INLINE_VIRTUAL_TRACE() { } | 48 DEFINE_INLINE_VIRTUAL_TRACE() { } |
| 49 | 49 |
| 50 protected: | 50 protected: |
| 51 TransformComponent() { } | 51 TransformComponent() { } |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 } // namespace blink | 54 } // namespace blink |
| 55 | 55 |
| 56 #endif | 56 #endif |
| OLD | NEW |