Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGAnimatedNumberList.h

Issue 2390773004: reflow comments in core/svg/ (Closed)
Patch Set: comments (heh!) Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 19 matching lines...) Expand all
30 30
31 #ifndef SVGAnimatedNumberList_h 31 #ifndef SVGAnimatedNumberList_h
32 #define SVGAnimatedNumberList_h 32 #define SVGAnimatedNumberList_h
33 33
34 #include "bindings/core/v8/ScriptWrappable.h" 34 #include "bindings/core/v8/ScriptWrappable.h"
35 #include "core/svg/SVGNumberListTearOff.h" 35 #include "core/svg/SVGNumberListTearOff.h"
36 #include "core/svg/properties/SVGAnimatedProperty.h" 36 #include "core/svg/properties/SVGAnimatedProperty.h"
37 37
38 namespace blink { 38 namespace blink {
39 39
40 // SVG Spec: http://www.w3.org/TR/SVG11/types.html#InterfaceSVGAnimatedNumberLis t 40 // SVG Spec:
41 // http://www.w3.org/TR/SVG11/types.html#InterfaceSVGAnimatedNumberList
41 class SVGAnimatedNumberList final : public SVGAnimatedProperty<SVGNumberList>, 42 class SVGAnimatedNumberList final : public SVGAnimatedProperty<SVGNumberList>,
42 public ScriptWrappable { 43 public ScriptWrappable {
43 DEFINE_WRAPPERTYPEINFO(); 44 DEFINE_WRAPPERTYPEINFO();
44 45
45 public: 46 public:
46 static SVGAnimatedNumberList* create(SVGElement* contextElement, 47 static SVGAnimatedNumberList* create(SVGElement* contextElement,
47 const QualifiedName& attributeName, 48 const QualifiedName& attributeName,
48 SVGNumberList* initialValue) { 49 SVGNumberList* initialValue) {
49 return new SVGAnimatedNumberList(contextElement, attributeName, 50 return new SVGAnimatedNumberList(contextElement, attributeName,
50 initialValue); 51 initialValue);
51 } 52 }
52 53
53 DEFINE_INLINE_VIRTUAL_TRACE_WRAPPERS() { 54 DEFINE_INLINE_VIRTUAL_TRACE_WRAPPERS() {
54 visitor->traceWrappers(contextElement()); 55 visitor->traceWrappers(contextElement());
55 } 56 }
56 57
57 protected: 58 protected:
58 SVGAnimatedNumberList(SVGElement* contextElement, 59 SVGAnimatedNumberList(SVGElement* contextElement,
59 const QualifiedName& attributeName, 60 const QualifiedName& attributeName,
60 SVGNumberList* initialValue) 61 SVGNumberList* initialValue)
61 : SVGAnimatedProperty<SVGNumberList>(contextElement, 62 : SVGAnimatedProperty<SVGNumberList>(contextElement,
62 attributeName, 63 attributeName,
63 initialValue) {} 64 initialValue) {}
64 }; 65 };
65 66
66 } // namespace blink 67 } // namespace blink
67 68
68 #endif 69 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698