|
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 JSHTMLFieldSetElement_h |
|
22 #define JSHTMLFieldSetElement_h |
|
23 |
|
24 #include "JSHTMLElement.h" |
|
25 #include <runtime/JSObjectWithGlobalObject.h> |
|
26 |
|
27 namespace WebCore { |
|
28 |
|
29 class HTMLFieldSetElement; |
|
30 |
|
31 class JSHTMLFieldSetElement : public JSHTMLElement { |
|
32 typedef JSHTMLElement Base; |
|
33 public: |
|
34 JSHTMLFieldSetElement(NonNullPassRefPtr<JSC::Structure>, JSDOMGlobalObject*, PassRefPtr<HTMLFieldSetElement>); |
|
35 static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*); |
|
36 virtual bool getOwnPropertySlot(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertySlot&); |
|
37 virtual bool getOwnPropertyDescriptor(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&); |
|
38 virtual const JSC::ClassInfo* classInfo() const { return &s_info; } |
|
39 static const JSC::ClassInfo s_info; |
|
40 |
|
41 static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype) |
|
42 { |
|
43 return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), AnonymousSlotCount); |
|
44 } |
|
45 |
|
46 static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*); |
|
47 protected: |
|
48 static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags; |
|
49 }; |
|
50 |
|
51 |
|
52 class JSHTMLFieldSetElementPrototype : public JSC::JSObjectWithGlobalObject { |
|
53 typedef JSC::JSObjectWithGlobalObject Base; |
|
54 public: |
|
55 static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*); |
|
56 virtual const JSC::ClassInfo* classInfo() const { return &s_info; } |
|
57 static const JSC::ClassInfo s_info; |
|
58 virtual bool getOwnPropertySlot(JSC::ExecState*, const JSC::Identifier&, JSC::PropertySlot&); |
|
59 virtual bool getOwnPropertyDescriptor(JSC::ExecState*, const JSC::Identifier&, JSC::PropertyDescriptor&); |
|
60 static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype) |
|
61 { |
|
62 return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), AnonymousSlotCount); |
|
63 } |
|
64 JSHTMLFieldSetElementPrototype(JSC::JSGlobalObject* globalObject, NonNullPassRefPtr<JSC::Structure> structure) : JSC::JSObjectWithGlobalObject(globalObject, structure) { } |
|
65 protected: |
|
66 static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags; |
|
67 }; |
|
68 |
|
69 // Functions |
|
70 |
|
71 JSC::EncodedJSValue JSC_HOST_CALL jsHTMLFieldSetElementPrototypeFunctionCheckValidity(JSC::ExecState*); |
|
72 JSC::EncodedJSValue JSC_HOST_CALL jsHTMLFieldSetElementPrototypeFunctionSetCustomValidity(JSC::ExecState*); |
|
73 // Attributes |
|
74 |
|
75 JSC::JSValue jsHTMLFieldSetElementForm(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
76 JSC::JSValue jsHTMLFieldSetElementValidity(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
77 JSC::JSValue jsHTMLFieldSetElementWillValidate(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
78 JSC::JSValue jsHTMLFieldSetElementValidationMessage(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
79 JSC::JSValue jsHTMLFieldSetElementConstructor(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&); |
|
80 |
|
81 } // namespace WebCore |
|
82 |
|
83 #endif |