~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/webkit/WebCore/generated/JSCanvasIntArray.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 JSCanvasIntArray_h
 
22
#define JSCanvasIntArray_h
 
23
 
 
24
#if ENABLE(3D_CANVAS)
 
25
 
 
26
#include "CanvasIntArray.h"
 
27
#include "JSCanvasArray.h"
 
28
 
 
29
namespace WebCore {
 
30
 
 
31
class CanvasIntArray;
 
32
 
 
33
class JSCanvasIntArray : public JSCanvasArray {
 
34
    typedef JSCanvasArray Base;
 
35
public:
 
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;
 
45
 
 
46
    static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
 
47
    {
 
48
        return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType));
 
49
    }
 
50
 
 
51
    virtual void getOwnPropertyNames(JSC::ExecState*, JSC::PropertyNameArray&);
 
52
    CanvasIntArray* impl() const
 
53
    {
 
54
        return static_cast<CanvasIntArray*>(Base::impl());
 
55
    }
 
56
    JSC::JSValue getByIndex(JSC::ExecState*, unsigned index);
 
57
    void indexSetter(JSC::ExecState*, unsigned index, JSC::JSValue);
 
58
};
 
59
 
 
60
JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, CanvasIntArray*);
 
61
CanvasIntArray* toCanvasIntArray(JSC::JSValue);
 
62
 
 
63
class JSCanvasIntArrayPrototype : public JSC::JSObject {
 
64
    typedef JSC::JSObject Base;
 
65
public:
 
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) { }
 
70
};
 
71
 
 
72
 
 
73
} // namespace WebCore
 
74
 
 
75
#endif // ENABLE(3D_CANVAS)
 
76
 
 
77
#endif