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

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

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 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 12 matching lines...) Expand all
23 #include "core/svg/SVGAnimatedEnumeration.h" 23 #include "core/svg/SVGAnimatedEnumeration.h"
24 #include "core/svg/SVGAnimatedNumber.h" 24 #include "core/svg/SVGAnimatedNumber.h"
25 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" 25 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h"
26 #include "platform/graphics/filters/FEDisplacementMap.h" 26 #include "platform/graphics/filters/FEDisplacementMap.h"
27 27
28 namespace blink { 28 namespace blink {
29 29
30 template<> const SVGEnumerationStringEntries& getStaticStringEntries<ChannelSele ctorType>(); 30 template<> const SVGEnumerationStringEntries& getStaticStringEntries<ChannelSele ctorType>();
31 31
32 class SVGFEDisplacementMapElement FINAL : public SVGFilterPrimitiveStandardAttri butes { 32 class SVGFEDisplacementMapElement FINAL : public SVGFilterPrimitiveStandardAttri butes {
33 DEFINE_WRAPPERTYPEINFO();
33 public: 34 public:
34 DECLARE_NODE_FACTORY(SVGFEDisplacementMapElement); 35 DECLARE_NODE_FACTORY(SVGFEDisplacementMapElement);
35 36
36 static ChannelSelectorType stringToChannel(const String&); 37 static ChannelSelectorType stringToChannel(const String&);
37 38
38 SVGAnimatedNumber* scale() { return m_scale.get(); } 39 SVGAnimatedNumber* scale() { return m_scale.get(); }
39 SVGAnimatedString* in1() { return m_in1.get(); } 40 SVGAnimatedString* in1() { return m_in1.get(); }
40 SVGAnimatedString* in2() { return m_in2.get(); } 41 SVGAnimatedString* in2() { return m_in2.get(); }
41 SVGAnimatedEnumeration<ChannelSelectorType>* xChannelSelector() { return m_x ChannelSelector.get(); } 42 SVGAnimatedEnumeration<ChannelSelectorType>* xChannelSelector() { return m_x ChannelSelector.get(); }
42 SVGAnimatedEnumeration<ChannelSelectorType>* yChannelSelector() { return m_y ChannelSelector.get(); } 43 SVGAnimatedEnumeration<ChannelSelectorType>* yChannelSelector() { return m_y ChannelSelector.get(); }
(...skipping 10 matching lines...) Expand all
53 RefPtr<SVGAnimatedNumber> m_scale; 54 RefPtr<SVGAnimatedNumber> m_scale;
54 RefPtr<SVGAnimatedString> m_in1; 55 RefPtr<SVGAnimatedString> m_in1;
55 RefPtr<SVGAnimatedString> m_in2; 56 RefPtr<SVGAnimatedString> m_in2;
56 RefPtr<SVGAnimatedEnumeration<ChannelSelectorType> > m_xChannelSelector; 57 RefPtr<SVGAnimatedEnumeration<ChannelSelectorType> > m_xChannelSelector;
57 RefPtr<SVGAnimatedEnumeration<ChannelSelectorType> > m_yChannelSelector; 58 RefPtr<SVGAnimatedEnumeration<ChannelSelectorType> > m_yChannelSelector;
58 }; 59 };
59 60
60 } // namespace blink 61 } // namespace blink
61 62
62 #endif // SVGFEDisplacementMapElement_h 63 #endif // SVGFEDisplacementMapElement_h
OLDNEW
« no previous file with comments | « Source/core/svg/SVGFEDiffuseLightingElement.h ('k') | Source/core/svg/SVGFEDistantLightElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698