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