OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 17 matching lines...) Expand all Loading... |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef SVGPropertyTearOff_h | 31 #ifndef SVGPropertyTearOff_h |
32 #define SVGPropertyTearOff_h | 32 #define SVGPropertyTearOff_h |
33 | 33 |
34 #include "core/dom/QualifiedName.h" | 34 #include "core/dom/QualifiedName.h" |
35 #include "core/svg/SVGElement.h" | 35 #include "core/svg/SVGElement.h" |
36 #include "core/svg/properties/SVGProperty.h" | 36 #include "core/svg/properties/SVGProperty.h" |
37 #include "platform/heap/Handle.h" | 37 #include "platform/heap/Handle.h" |
38 #include "wtf/RefCounted.h" | |
39 | 38 |
40 namespace blink { | 39 namespace blink { |
41 | 40 |
42 enum PropertyIsAnimValType { | 41 enum PropertyIsAnimValType { |
43 PropertyIsNotAnimVal, | 42 PropertyIsNotAnimVal, |
44 PropertyIsAnimVal | 43 PropertyIsAnimVal |
45 }; | 44 }; |
46 | 45 |
47 class SVGPropertyTearOffBase : public GarbageCollectedFinalized<SVGPropertyTearO
ffBase> { | 46 class SVGPropertyTearOffBase : public GarbageCollectedFinalized<SVGPropertyTearO
ffBase> { |
48 public: | 47 public: |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 ASSERT(m_target); | 154 ASSERT(m_target); |
156 } | 155 } |
157 | 156 |
158 private: | 157 private: |
159 Member<Property> m_target; | 158 Member<Property> m_target; |
160 }; | 159 }; |
161 | 160 |
162 } // namespace blink | 161 } // namespace blink |
163 | 162 |
164 #endif // SVGPropertyTearOff_h | 163 #endif // SVGPropertyTearOff_h |
OLD | NEW |