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 22 matching lines...) Expand all Loading... |
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 "wtf/RefPtr.h" |
38 #include "wtf/Vector.h" | 38 #include "wtf/Vector.h" |
39 #include "wtf/text/WTFString.h" | 39 #include "wtf/text/WTFString.h" |
40 | 40 |
41 namespace blink { | 41 namespace blink { |
42 | 42 |
43 class CORE_EXPORT CSSBasicShapeValue : public CSSValue { | 43 // TODO(Oilpan): the GC plugin is not capable of understanding that |
| 44 // the traceAfterDispatch() method covers subtypes of CSSBasicShapeValue. |
| 45 // Temporarily exempt it from being checked |
| 46 class CORE_EXPORT GC_PLUGIN_IGNORE("535448") CSSBasicShapeValue : public CSSValu
e { |
44 public: | 47 public: |
45 enum Type { | 48 enum Type { |
46 CSSBasicShapeEllipseType, | 49 CSSBasicShapeEllipseType, |
47 CSSBasicShapePolygonType, | 50 CSSBasicShapePolygonType, |
48 CSSBasicShapeCircleType, | 51 CSSBasicShapeCircleType, |
49 CSSBasicShapeInsetType | 52 CSSBasicShapeInsetType |
50 }; | 53 }; |
51 | 54 |
52 String customCSSText() const; | 55 String customCSSText() const; |
53 | 56 |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 DEFINE_CSS_VALUE_TYPE_CASTS(CSSBasicShapeValue, isBasicShapeValue()); | 239 DEFINE_CSS_VALUE_TYPE_CASTS(CSSBasicShapeValue, isBasicShapeValue()); |
237 | 240 |
238 DEFINE_TYPE_CASTS(CSSBasicShapeCircleValue, CSSBasicShapeValue, shape, shape->is
Circle(), shape.isCircle()); | 241 DEFINE_TYPE_CASTS(CSSBasicShapeCircleValue, CSSBasicShapeValue, shape, shape->is
Circle(), shape.isCircle()); |
239 DEFINE_TYPE_CASTS(CSSBasicShapeEllipseValue, CSSBasicShapeValue, shape, shape->i
sEllipse(), shape.isEllipse()); | 242 DEFINE_TYPE_CASTS(CSSBasicShapeEllipseValue, CSSBasicShapeValue, shape, shape->i
sEllipse(), shape.isEllipse()); |
240 DEFINE_TYPE_CASTS(CSSBasicShapePolygonValue, CSSBasicShapeValue, shape, shape->i
sPolygon(), shape.isPolygon()); | 243 DEFINE_TYPE_CASTS(CSSBasicShapePolygonValue, CSSBasicShapeValue, shape, shape->i
sPolygon(), shape.isPolygon()); |
241 DEFINE_TYPE_CASTS(CSSBasicShapeInsetValue, CSSBasicShapeValue, shape, shape->isI
nset(), shape.isInset()); | 244 DEFINE_TYPE_CASTS(CSSBasicShapeInsetValue, CSSBasicShapeValue, shape, shape->isI
nset(), shape.isInset()); |
242 | 245 |
243 } // namespace blink | 246 } // namespace blink |
244 | 247 |
245 #endif // CSSBasicShapeValue_h | 248 #endif // CSSBasicShapeValue_h |
OLD | NEW |