tizen beta release
[framework/web/webkit-efl.git] / DerivedSources / WebCore / JSSVGFEMergeElement.h
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 JSSVGFEMergeElement_h
22 #define JSSVGFEMergeElement_h
23
24 #if ENABLE(FILTERS) && ENABLE(SVG)
25
26 #include "JSDOMBinding.h"
27 #include "JSSVGElement.h"
28 #include "SVGElement.h"
29 #include "SVGFEMergeElement.h"
30 #include <runtime/JSObject.h>
31
32 namespace WebCore {
33
34 class JSSVGFEMergeElement : public JSSVGElement {
35 public:
36     typedef JSSVGElement Base;
37     static JSSVGFEMergeElement* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<SVGFEMergeElement> impl)
38     {
39         JSSVGFEMergeElement* ptr = new (JSC::allocateCell<JSSVGFEMergeElement>(globalObject->globalData().heap)) JSSVGFEMergeElement(structure, globalObject, impl);
40         ptr->finishCreation(globalObject->globalData());
41         return ptr;
42     }
43
44     static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
45     static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertySlot&);
46     static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&);
47     static const JSC::ClassInfo s_info;
48
49     static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
50     {
51         return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
52     }
53
54     static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
55 protected:
56     JSSVGFEMergeElement(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<SVGFEMergeElement>);
57     void finishCreation(JSC::JSGlobalData&);
58     static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
59 };
60
61
62 class JSSVGFEMergeElementPrototype : public JSC::JSNonFinalObject {
63 public:
64     typedef JSC::JSNonFinalObject Base;
65     static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
66     static JSSVGFEMergeElementPrototype* create(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::Structure* structure)
67     {
68         JSSVGFEMergeElementPrototype* ptr = new (JSC::allocateCell<JSSVGFEMergeElementPrototype>(globalData.heap)) JSSVGFEMergeElementPrototype(globalData, globalObject, structure);
69         ptr->finishCreation(globalData);
70         return ptr;
71     }
72
73     static const JSC::ClassInfo s_info;
74     static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, const JSC::Identifier&, JSC::PropertySlot&);
75     static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, const JSC::Identifier&, JSC::PropertyDescriptor&);
76     static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
77     {
78         return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
79     }
80
81 private:
82     JSSVGFEMergeElementPrototype(JSC::JSGlobalData& globalData, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(globalData, structure) { }
83 protected:
84     static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
85 };
86
87 class JSSVGFEMergeElementConstructor : public DOMConstructorObject {
88 private:
89     JSSVGFEMergeElementConstructor(JSC::Structure*, JSDOMGlobalObject*);
90     void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);
91
92 public:
93     typedef DOMConstructorObject Base;
94     static JSSVGFEMergeElementConstructor* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
95     {
96         JSSVGFEMergeElementConstructor* ptr = new (JSC::allocateCell<JSSVGFEMergeElementConstructor>(*exec->heap())) JSSVGFEMergeElementConstructor(structure, globalObject);
97         ptr->finishCreation(exec, globalObject);
98         return ptr;
99     }
100
101     static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, const JSC::Identifier&, JSC::PropertySlot&);
102     static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, const JSC::Identifier&, JSC::PropertyDescriptor&);
103     static const JSC::ClassInfo s_info;
104     static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
105     {
106         return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
107     }
108 protected:
109     static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
110 };
111
112 // Functions
113
114 JSC::EncodedJSValue JSC_HOST_CALL jsSVGFEMergeElementPrototypeFunctionGetPresentationAttribute(JSC::ExecState*);
115 // Attributes
116
117 JSC::JSValue jsSVGFEMergeElementX(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
118 JSC::JSValue jsSVGFEMergeElementY(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
119 JSC::JSValue jsSVGFEMergeElementWidth(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
120 JSC::JSValue jsSVGFEMergeElementHeight(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
121 JSC::JSValue jsSVGFEMergeElementResult(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
122 JSC::JSValue jsSVGFEMergeElementClassName(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
123 JSC::JSValue jsSVGFEMergeElementStyle(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
124 JSC::JSValue jsSVGFEMergeElementConstructor(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
125
126 } // namespace WebCore
127
128 #endif // ENABLE(FILTERS) && ENABLE(SVG)
129
130 #endif