| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
| 9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
| 10 * disclaimer. | 10 * disclaimer. |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR | 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
| 25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF | 25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF |
| 26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 27 * SUCH DAMAGE. | 27 * SUCH DAMAGE. |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 #ifndef CSSBasicShapes_h | 30 #ifndef CSSBasicShapes_h |
| 31 #define CSSBasicShapes_h | 31 #define CSSBasicShapes_h |
| 32 | 32 |
| 33 #include "core/css/CSSPrimitiveValue.h" | 33 #include "sky/engine/core/css/CSSPrimitiveValue.h" |
| 34 #include "platform/graphics/GraphicsTypes.h" | 34 #include "sky/engine/platform/graphics/GraphicsTypes.h" |
| 35 #include "wtf/RefPtr.h" | 35 #include "sky/engine/wtf/RefPtr.h" |
| 36 #include "wtf/Vector.h" | 36 #include "sky/engine/wtf/Vector.h" |
| 37 #include "wtf/text/WTFString.h" | 37 #include "sky/engine/wtf/text/WTFString.h" |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 | 40 |
| 41 class CSSBasicShape : public RefCounted<CSSBasicShape> { | 41 class CSSBasicShape : public RefCounted<CSSBasicShape> { |
| 42 DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(CSSBasicShape); | 42 DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(CSSBasicShape); |
| 43 public: | 43 public: |
| 44 enum Type { | 44 enum Type { |
| 45 CSSBasicShapeEllipseType, | 45 CSSBasicShapeEllipseType, |
| 46 CSSBasicShapePolygonType, | 46 CSSBasicShapePolygonType, |
| 47 CSSBasicShapeCircleType, | 47 CSSBasicShapeCircleType, |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 | 204 |
| 205 RefPtr<CSSPrimitiveValue> m_topLeftRadius; | 205 RefPtr<CSSPrimitiveValue> m_topLeftRadius; |
| 206 RefPtr<CSSPrimitiveValue> m_topRightRadius; | 206 RefPtr<CSSPrimitiveValue> m_topRightRadius; |
| 207 RefPtr<CSSPrimitiveValue> m_bottomRightRadius; | 207 RefPtr<CSSPrimitiveValue> m_bottomRightRadius; |
| 208 RefPtr<CSSPrimitiveValue> m_bottomLeftRadius; | 208 RefPtr<CSSPrimitiveValue> m_bottomLeftRadius; |
| 209 }; | 209 }; |
| 210 | 210 |
| 211 } // namespace blink | 211 } // namespace blink |
| 212 | 212 |
| 213 #endif // CSSBasicShapes_h | 213 #endif // CSSBasicShapes_h |
| OLD | NEW |