OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 Google Inc. 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 22 matching lines...) Expand all Loading... |
33 | 33 |
34 #include "core/svg/SVGStringListTearOff.h" | 34 #include "core/svg/SVGStringListTearOff.h" |
35 #include "core/svg/properties/SVGAnimatedProperty.h" | 35 #include "core/svg/properties/SVGAnimatedProperty.h" |
36 #include "platform/heap/Handle.h" | 36 #include "platform/heap/Handle.h" |
37 | 37 |
38 namespace blink { | 38 namespace blink { |
39 | 39 |
40 class SVGElement; | 40 class SVGElement; |
41 | 41 |
42 // SVGStringList property implementations for SVGTests properties. | 42 // SVGStringList property implementations for SVGTests properties. |
43 // Inherits SVGAnimatedPropertyBase to enable XML attribute synchronization, but
this is never animated. | 43 // Inherits SVGAnimatedPropertyBase to enable XML attribute synchronization, but |
| 44 // this is never animated. |
44 class SVGStaticStringList final : public SVGAnimatedPropertyBase { | 45 class SVGStaticStringList final : public SVGAnimatedPropertyBase { |
45 public: | 46 public: |
46 static SVGStaticStringList* create(SVGElement* contextElement, | 47 static SVGStaticStringList* create(SVGElement* contextElement, |
47 const QualifiedName& attributeName) { | 48 const QualifiedName& attributeName) { |
48 return new SVGStaticStringList(contextElement, attributeName); | 49 return new SVGStaticStringList(contextElement, attributeName); |
49 } | 50 } |
50 | 51 |
51 ~SVGStaticStringList() override; | 52 ~SVGStaticStringList() override; |
52 | 53 |
53 // SVGAnimatedPropertyBase: | 54 // SVGAnimatedPropertyBase: |
(...skipping 15 matching lines...) Expand all Loading... |
69 private: | 70 private: |
70 SVGStaticStringList(SVGElement*, const QualifiedName&); | 71 SVGStaticStringList(SVGElement*, const QualifiedName&); |
71 | 72 |
72 Member<SVGStringList> m_value; | 73 Member<SVGStringList> m_value; |
73 Member<SVGStringListTearOff> m_tearOff; | 74 Member<SVGStringListTearOff> m_tearOff; |
74 }; | 75 }; |
75 | 76 |
76 } // namespace blink | 77 } // namespace blink |
77 | 78 |
78 #endif | 79 #endif |
OLD | NEW |