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 28 matching lines...) Expand all Loading... |
39 class SVGNumberListTearOff final | 39 class SVGNumberListTearOff final |
40 : public SVGListPropertyTearOffHelper<SVGNumberListTearOff, SVGNumberList>, | 40 : public SVGListPropertyTearOffHelper<SVGNumberListTearOff, SVGNumberList>, |
41 public ScriptWrappable { | 41 public ScriptWrappable { |
42 DEFINE_WRAPPERTYPEINFO(); | 42 DEFINE_WRAPPERTYPEINFO(); |
43 | 43 |
44 public: | 44 public: |
45 static SVGNumberListTearOff* Create( | 45 static SVGNumberListTearOff* Create( |
46 SVGNumberList* target, | 46 SVGNumberList* target, |
47 SVGElement* context_element, | 47 SVGElement* context_element, |
48 PropertyIsAnimValType property_is_anim_val, | 48 PropertyIsAnimValType property_is_anim_val, |
49 const QualifiedName& attribute_name = QualifiedName::Null()) { | 49 const QualifiedName& attribute_name) { |
50 return new SVGNumberListTearOff(target, context_element, | 50 return new SVGNumberListTearOff(target, context_element, |
51 property_is_anim_val, attribute_name); | 51 property_is_anim_val, attribute_name); |
52 } | 52 } |
53 | 53 |
54 DEFINE_INLINE_VIRTUAL_TRACE_WRAPPERS() { | 54 DEFINE_INLINE_VIRTUAL_TRACE_WRAPPERS() { |
55 visitor->TraceWrappers(contextElement()); | 55 visitor->TraceWrappers(contextElement()); |
56 } | 56 } |
57 | 57 |
58 private: | 58 private: |
59 SVGNumberListTearOff( | 59 SVGNumberListTearOff(SVGNumberList* target, |
60 SVGNumberList* target, | 60 SVGElement* context_element, |
61 SVGElement* context_element, | 61 PropertyIsAnimValType property_is_anim_val, |
62 PropertyIsAnimValType property_is_anim_val, | 62 const QualifiedName& attribute_name) |
63 const QualifiedName& attribute_name = QualifiedName::Null()) | |
64 : SVGListPropertyTearOffHelper<SVGNumberListTearOff, SVGNumberList>( | 63 : SVGListPropertyTearOffHelper<SVGNumberListTearOff, SVGNumberList>( |
65 target, | 64 target, |
66 context_element, | 65 context_element, |
67 property_is_anim_val, | 66 property_is_anim_val, |
68 attribute_name) {} | 67 attribute_name) {} |
69 }; | 68 }; |
70 | 69 |
71 } // namespace blink | 70 } // namespace blink |
72 | 71 |
73 #endif // SVGNumberListTearOff_h | 72 #endif // SVGNumberListTearOff_h |
OLD | NEW |