| 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 16 matching lines...) Expand all Loading... |
| 27 * SUCH DAMAGE. | 27 * SUCH DAMAGE. |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 #ifndef CSSBasicShapeValues_h | 30 #ifndef CSSBasicShapeValues_h |
| 31 #define CSSBasicShapeValues_h | 31 #define CSSBasicShapeValues_h |
| 32 | 32 |
| 33 #include "core/css/CSSPrimitiveValue.h" | 33 #include "core/css/CSSPrimitiveValue.h" |
| 34 #include "core/css/CSSValue.h" | 34 #include "core/css/CSSValue.h" |
| 35 #include "core/css/CSSValuePair.h" | 35 #include "core/css/CSSValuePair.h" |
| 36 #include "platform/graphics/GraphicsTypes.h" | 36 #include "platform/graphics/GraphicsTypes.h" |
| 37 #include "wtf/RefPtr.h" | 37 #include "platform/wtf/RefPtr.h" |
| 38 #include "wtf/Vector.h" | 38 #include "platform/wtf/Vector.h" |
| 39 #include "wtf/text/WTFString.h" | 39 #include "platform/wtf/text/WTFString.h" |
| 40 | 40 |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 class CSSBasicShapeCircleValue final : public CSSValue { | 43 class CSSBasicShapeCircleValue final : public CSSValue { |
| 44 public: | 44 public: |
| 45 static CSSBasicShapeCircleValue* Create() { | 45 static CSSBasicShapeCircleValue* Create() { |
| 46 return new CSSBasicShapeCircleValue; | 46 return new CSSBasicShapeCircleValue; |
| 47 } | 47 } |
| 48 | 48 |
| 49 String CustomCSSText() const; | 49 String CustomCSSText() const; |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 IsBasicShapeCircleValue()); | 212 IsBasicShapeCircleValue()); |
| 213 DEFINE_CSS_VALUE_TYPE_CASTS(CSSBasicShapeEllipseValue, | 213 DEFINE_CSS_VALUE_TYPE_CASTS(CSSBasicShapeEllipseValue, |
| 214 IsBasicShapeEllipseValue()); | 214 IsBasicShapeEllipseValue()); |
| 215 DEFINE_CSS_VALUE_TYPE_CASTS(CSSBasicShapePolygonValue, | 215 DEFINE_CSS_VALUE_TYPE_CASTS(CSSBasicShapePolygonValue, |
| 216 IsBasicShapePolygonValue()); | 216 IsBasicShapePolygonValue()); |
| 217 DEFINE_CSS_VALUE_TYPE_CASTS(CSSBasicShapeInsetValue, IsBasicShapeInsetValue()); | 217 DEFINE_CSS_VALUE_TYPE_CASTS(CSSBasicShapeInsetValue, IsBasicShapeInsetValue()); |
| 218 | 218 |
| 219 } // namespace blink | 219 } // namespace blink |
| 220 | 220 |
| 221 #endif // CSSBasicShapeValues_h | 221 #endif // CSSBasicShapeValues_h |
| OLD | NEW |