2 This file is part of the WebKit open source project.
3 This file has been generated by generate-bindings.pl. DO NOT MODIFY!
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.
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.
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.
21 #ifndef JSSVGAltGlyphDefElement_h
22 #define JSSVGAltGlyphDefElement_h
24 #if ENABLE(SVG) && ENABLE(SVG_FONTS)
26 #include "JSDOMBinding.h"
27 #include "JSSVGElement.h"
28 #include "SVGAltGlyphDefElement.h"
29 #include "SVGElement.h"
30 #include <runtime/JSObject.h>
34 class JSSVGAltGlyphDefElement : public JSSVGElement {
36 typedef JSSVGElement Base;
37 static JSSVGAltGlyphDefElement* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<SVGAltGlyphDefElement> impl)
39 JSSVGAltGlyphDefElement* ptr = new (JSC::allocateCell<JSSVGAltGlyphDefElement>(globalObject->globalData().heap)) JSSVGAltGlyphDefElement(structure, globalObject, impl);
40 ptr->finishCreation(globalObject->globalData());
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;
49 static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
51 return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
54 static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
56 JSSVGAltGlyphDefElement(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<SVGAltGlyphDefElement>);
57 void finishCreation(JSC::JSGlobalData&);
58 static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
62 class JSSVGAltGlyphDefElementPrototype : public JSC::JSNonFinalObject {
64 typedef JSC::JSNonFinalObject Base;
65 static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
66 static JSSVGAltGlyphDefElementPrototype* create(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::Structure* structure)
68 JSSVGAltGlyphDefElementPrototype* ptr = new (JSC::allocateCell<JSSVGAltGlyphDefElementPrototype>(globalData.heap)) JSSVGAltGlyphDefElementPrototype(globalData, globalObject, structure);
69 ptr->finishCreation(globalData);
73 static const JSC::ClassInfo s_info;
74 static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
76 return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
80 JSSVGAltGlyphDefElementPrototype(JSC::JSGlobalData& globalData, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(globalData, structure) { }
82 static const unsigned StructureFlags = Base::StructureFlags;
85 class JSSVGAltGlyphDefElementConstructor : public DOMConstructorObject {
87 JSSVGAltGlyphDefElementConstructor(JSC::Structure*, JSDOMGlobalObject*);
88 void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);
91 typedef DOMConstructorObject Base;
92 static JSSVGAltGlyphDefElementConstructor* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
94 JSSVGAltGlyphDefElementConstructor* ptr = new (JSC::allocateCell<JSSVGAltGlyphDefElementConstructor>(*exec->heap())) JSSVGAltGlyphDefElementConstructor(structure, globalObject);
95 ptr->finishCreation(exec, globalObject);
99 static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, const JSC::Identifier&, JSC::PropertySlot&);
100 static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, const JSC::Identifier&, JSC::PropertyDescriptor&);
101 static const JSC::ClassInfo s_info;
102 static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
104 return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
107 static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
112 JSC::JSValue jsSVGAltGlyphDefElementConstructor(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
114 } // namespace WebCore
116 #endif // ENABLE(SVG) && ENABLE(SVG_FONTS)