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 JSCanvasIntArray_h
22
#define JSCanvasIntArray_h
26
#include "CanvasIntArray.h"
27
#include "JSCanvasArray.h"
33
class JSCanvasIntArray : public JSCanvasArray {
34
typedef JSCanvasArray Base;
36
JSCanvasIntArray(NonNullPassRefPtr<JSC::Structure>, JSDOMGlobalObject*, PassRefPtr<CanvasIntArray>);
37
static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
38
virtual bool getOwnPropertySlot(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertySlot&);
39
virtual bool getOwnPropertyDescriptor(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&);
40
virtual bool getOwnPropertySlot(JSC::ExecState*, unsigned propertyName, JSC::PropertySlot&);
41
virtual void put(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSValue, JSC::PutPropertySlot&);
42
virtual void put(JSC::ExecState*, unsigned propertyName, JSC::JSValue);
43
virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
44
static const JSC::ClassInfo s_info;
46
static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
48
return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType));
51
virtual void getOwnPropertyNames(JSC::ExecState*, JSC::PropertyNameArray&);
52
CanvasIntArray* impl() const
54
return static_cast<CanvasIntArray*>(Base::impl());
56
JSC::JSValue getByIndex(JSC::ExecState*, unsigned index);
57
void indexSetter(JSC::ExecState*, unsigned index, JSC::JSValue);
60
JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, CanvasIntArray*);
61
CanvasIntArray* toCanvasIntArray(JSC::JSValue);
63
class JSCanvasIntArrayPrototype : public JSC::JSObject {
64
typedef JSC::JSObject Base;
66
static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
67
virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
68
static const JSC::ClassInfo s_info;
69
JSCanvasIntArrayPrototype(NonNullPassRefPtr<JSC::Structure> structure) : JSC::JSObject(structure) { }
73
} // namespace WebCore
75
#endif // ENABLE(3D_CANVAS)