|
1 /* |
|
2 This file is part of the WebKit open source project. |
|
3 This file has been generated by generate-bindings.pl. DO NOT MODIFY! |
|
4 |
|
5 This library is free software; you can redistribute it and/or |
|
6 modify it under the terms of the GNU Library General Public |
|
7 License as published by the Free Software Foundation; either |
|
8 version 2 of the License, or (at your option) any later version. |
|
9 |
|
10 This library is distributed in the hope that it will be useful, |
|
11 but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
13 Library General Public License for more details. |
|
14 |
|
15 You should have received a copy of the GNU Library General Public License |
|
16 along with this library; see the file COPYING.LIB. If not, write to |
|
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
|
18 Boston, MA 02110-1301, USA. |
|
19 */ |
|
20 |
|
21 #ifndef JSSVGFEGaussianBlurElement_H |
|
22 #define JSSVGFEGaussianBlurElement_H |
|
23 |
|
24 |
|
25 #if ENABLE(SVG) && ENABLE(SVG_EXPERIMENTAL_FEATURES) |
|
26 |
|
27 #include "JSSVGElement.h" |
|
28 |
|
29 namespace WebCore { |
|
30 |
|
31 class SVGFEGaussianBlurElement; |
|
32 |
|
33 class JSSVGFEGaussianBlurElement : public JSSVGElement { |
|
34 public: |
|
35 JSSVGFEGaussianBlurElement(KJS::ExecState*, SVGFEGaussianBlurElement*); |
|
36 virtual bool getOwnPropertySlot(KJS::ExecState*, const KJS::Identifier&, KJS::PropertySlot&); |
|
37 KJS::JSValue* getValueProperty(KJS::ExecState*, int token) const; |
|
38 virtual const KJS::ClassInfo* classInfo() const { return &info; } |
|
39 static const KJS::ClassInfo info; |
|
40 |
|
41 enum { |
|
42 // Attributes |
|
43 In1AttrNum, StdDeviationXAttrNum, StdDeviationYAttrNum, XAttrNum, |
|
44 YAttrNum, WidthAttrNum, HeightAttrNum, ResultAttrNum, |
|
45 ClassNameAttrNum, StyleAttrNum, |
|
46 |
|
47 // Functions |
|
48 SetStdDeviationFuncNum |
|
49 }; |
|
50 }; |
|
51 |
|
52 |
|
53 class JSSVGFEGaussianBlurElementPrototype : public KJS::JSObject { |
|
54 public: |
|
55 static KJS::JSObject* self(KJS::ExecState* exec); |
|
56 virtual const KJS::ClassInfo* classInfo() const { return &info; } |
|
57 static const KJS::ClassInfo info; |
|
58 bool getOwnPropertySlot(KJS::ExecState*, const KJS::Identifier&, KJS::PropertySlot&); |
|
59 JSSVGFEGaussianBlurElementPrototype(KJS::ExecState* exec) |
|
60 : KJS::JSObject(JSSVGElementPrototype::self(exec)) { } |
|
61 }; |
|
62 |
|
63 class JSSVGFEGaussianBlurElementPrototypeFunction : public KJS::InternalFunctionImp { |
|
64 public: |
|
65 JSSVGFEGaussianBlurElementPrototypeFunction(KJS::ExecState* exec, int i, int len, const KJS::Identifier& name) |
|
66 : KJS::InternalFunctionImp(static_cast<KJS::FunctionPrototype*>(exec->lexicalInterpreter()->builtinFunctionPrototype()), name) |
|
67 , id(i) |
|
68 { |
|
69 put(exec, exec->propertyNames().length, KJS::jsNumber(len), KJS::DontDelete|KJS::ReadOnly|KJS::DontEnum); |
|
70 } |
|
71 virtual KJS::JSValue* callAsFunction(KJS::ExecState*, KJS::JSObject*, const KJS::List&); |
|
72 |
|
73 private: |
|
74 int id; |
|
75 }; |
|
76 |
|
77 } // namespace WebCore |
|
78 |
|
79 #endif // ENABLE(SVG) && ENABLE(SVG_EXPERIMENTAL_FEATURES) |
|
80 |
|
81 #endif |