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

Side by Side Diff: Source/core/svg/SVGFEDisplacementMapElement.h

Issue 24527003: [oilpan] Implement accept methods to trace the class hierarchy of SVGElement and all sub-classes. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Oliver Hunt <oliver@nerget.com> 2 * Copyright (C) 2006 Oliver Hunt <oliver@nerget.com>
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 return CHANNEL_A; 63 return CHANNEL_A;
64 return CHANNEL_UNKNOWN; 64 return CHANNEL_UNKNOWN;
65 } 65 }
66 }; 66 };
67 67
68 class SVGFEDisplacementMapElement : public SVGFilterPrimitiveStandardAttributes { 68 class SVGFEDisplacementMapElement : public SVGFilterPrimitiveStandardAttributes {
69 public: 69 public:
70 static PassRefPtr<SVGFEDisplacementMapElement> create(const QualifiedName&, const Handle<Document>&); 70 static PassRefPtr<SVGFEDisplacementMapElement> create(const QualifiedName&, const Handle<Document>&);
71 71
72 static ChannelSelectorType stringToChannel(const String&); 72 static ChannelSelectorType stringToChannel(const String&);
73 73
74 virtual void accept(Visitor* visitor) const OVERRIDE { SVGFilterPrimitiveSta ndardAttributes::accept(visitor); }
75
74 private: 76 private:
75 SVGFEDisplacementMapElement(const QualifiedName& tagName, const Handle<Docum ent>&); 77 SVGFEDisplacementMapElement(const QualifiedName& tagName, const Handle<Docum ent>&);
76 78
77 bool isSupportedAttribute(const QualifiedName&); 79 bool isSupportedAttribute(const QualifiedName&);
78 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 80 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
79 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName& at trName); 81 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName& at trName);
80 virtual void svgAttributeChanged(const QualifiedName&); 82 virtual void svgAttributeChanged(const QualifiedName&);
81 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*); 83 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*);
82 84
83 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFEDisplacementMapElement) 85 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFEDisplacementMapElement)
84 DECLARE_ANIMATED_STRING(In1, in1) 86 DECLARE_ANIMATED_STRING(In1, in1)
85 DECLARE_ANIMATED_STRING(In2, in2) 87 DECLARE_ANIMATED_STRING(In2, in2)
86 DECLARE_ANIMATED_ENUMERATION(XChannelSelector, xChannelSelector, Channel SelectorType) 88 DECLARE_ANIMATED_ENUMERATION(XChannelSelector, xChannelSelector, Channel SelectorType)
87 DECLARE_ANIMATED_ENUMERATION(YChannelSelector, yChannelSelector, Channel SelectorType) 89 DECLARE_ANIMATED_ENUMERATION(YChannelSelector, yChannelSelector, Channel SelectorType)
88 DECLARE_ANIMATED_NUMBER(Scale, scale) 90 DECLARE_ANIMATED_NUMBER(Scale, scale)
89 END_DECLARE_ANIMATED_PROPERTIES 91 END_DECLARE_ANIMATED_PROPERTIES
90 }; 92 };
91 93
92 } // namespace WebCore 94 } // namespace WebCore
93 95
94 #endif // ENABLE(SVG) 96 #endif // ENABLE(SVG)
95 #endif // SVGFEDisplacementMapElement_h 97 #endif // SVGFEDisplacementMapElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698