|
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 JSHTMLObjectElement_h |
|
22 #define JSHTMLObjectElement_h |
|
23 |
|
24 #include "JSHTMLElement.h" |
|
25 #include <runtime/CallData.h> |
|
26 #include <runtime/JSObjectWithGlobalObject.h> |
|
27 |
|
28 namespace WebCore { |
|
29 |
|
30 class HTMLObjectElement; |
|
31 |
|
32 class JSHTMLObjectElement : public JSHTMLElement { |
|
33 typedef JSHTMLElement Base; |
|
34 public: |
|
35 JSHTMLObjectElement(NonNullPassRefPtr<JSC::Structure>, JSDOMGlobalObject*, PassRefPtr<HTMLObjectElement>); |
|
36 static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*); |
|
37 virtual bool getOwnPropertySlot(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertySlot&); |
|
38 virtual bool getOwnPropertyDescriptor(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&); |
|
39 bool getOwnPropertySlotDelegate(JSC::ExecState*, const JSC::Identifier&, JSC::PropertySlot&); |
|
40 bool getOwnPropertyDescriptorDelegate(JSC::ExecState*, const JSC::Identifier&, JSC::PropertyDescriptor&); |
|
41 virtual void put(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSValue, JSC::PutPropertySlot&); |
|
42 bool putDelegate(JSC::ExecState*, const JSC::Identifier&, JSC::JSValue, JSC::PutPropertySlot&); |
|
43 virtual const JSC::ClassInfo* classInfo() const { return &s_info; } |
|
44 static const JSC::ClassInfo s_info; |
|
45 |
|
46 static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype) |
|
47 { |
|
48 return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), AnonymousSlotCount); |
|
49 } |
|
50 |
|
51 virtual JSC::CallType getCallData(JSC::CallData&); |
|
52 |
|
53 static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*); |
|
54 protected: |
|
55 static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags; |
|
56 }; |
|
57 |
|
58 |
|
59 class JSHTMLObjectElementPrototype : public JSC::JSObjectWithGlobalObject { |
|
60 typedef JSC::JSObjectWithGlobalObject Base; |
|
61 public: |
|
62 static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*); |
|
63 virtual const JSC::ClassInfo* classInfo() const { return &s_info; } |
|
64 static const JSC::ClassInfo s_info; |
|
65 virtual bool getOwnPropertySlot(JSC::ExecState*, const JSC::Identifier&, JSC::PropertySlot&); |
|
66 virtual bool getOwnPropertyDescriptor(JSC::ExecState*, const JSC::Identifier&, JSC::PropertyDescriptor&); |
|
67 static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype) |
|
68 { |
|
69 return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), AnonymousSlotCount); |
|
70 } |
|
71 JSHTMLObjectElementPrototype(JSC::JSGlobalObject* globalObject, NonNullPassRefPtr<JSC::Structure> structure) : JSC::JSObjectWithGlobalObject(globalObject, structure) { } |
|
72 protected: |
|
73 static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags; |
|
74 }; |
|
75 |
|
76 // Functions |
|
77 |
|
78 JSC::EncodedJSValue JSC_HOST_CALL jsHTMLObjectElementPrototypeFunctionGetSVGDocument(JSC::ExecState*); |
|
79 // Attributes |
|
80 |
|
81 JSC::JSValue jsHTMLObjectElementForm(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
82 JSC::JSValue jsHTMLObjectElementCode(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
83 void setJSHTMLObjectElementCode(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); |
|
84 JSC::JSValue jsHTMLObjectElementAlign(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
85 void setJSHTMLObjectElementAlign(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); |
|
86 JSC::JSValue jsHTMLObjectElementArchive(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
87 void setJSHTMLObjectElementArchive(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); |
|
88 JSC::JSValue jsHTMLObjectElementBorder(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
89 void setJSHTMLObjectElementBorder(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); |
|
90 JSC::JSValue jsHTMLObjectElementCodeBase(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
91 void setJSHTMLObjectElementCodeBase(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); |
|
92 JSC::JSValue jsHTMLObjectElementCodeType(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
93 void setJSHTMLObjectElementCodeType(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); |
|
94 JSC::JSValue jsHTMLObjectElementData(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
95 void setJSHTMLObjectElementData(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); |
|
96 JSC::JSValue jsHTMLObjectElementDeclare(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
97 void setJSHTMLObjectElementDeclare(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); |
|
98 JSC::JSValue jsHTMLObjectElementHeight(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
99 void setJSHTMLObjectElementHeight(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); |
|
100 JSC::JSValue jsHTMLObjectElementHspace(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
101 void setJSHTMLObjectElementHspace(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); |
|
102 JSC::JSValue jsHTMLObjectElementName(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
103 void setJSHTMLObjectElementName(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); |
|
104 JSC::JSValue jsHTMLObjectElementStandby(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
105 void setJSHTMLObjectElementStandby(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); |
|
106 JSC::JSValue jsHTMLObjectElementType(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
107 void setJSHTMLObjectElementType(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); |
|
108 JSC::JSValue jsHTMLObjectElementUseMap(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
109 void setJSHTMLObjectElementUseMap(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); |
|
110 JSC::JSValue jsHTMLObjectElementVspace(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
111 void setJSHTMLObjectElementVspace(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); |
|
112 JSC::JSValue jsHTMLObjectElementWidth(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
113 void setJSHTMLObjectElementWidth(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); |
|
114 JSC::JSValue jsHTMLObjectElementWillValidate(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
115 JSC::JSValue jsHTMLObjectElementContentDocument(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
116 JSC::JSValue jsHTMLObjectElementConstructor(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
117 |
|
118 } // namespace WebCore |
|
119 |
|
120 #endif |