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

« back to all changes in this revision

Viewing changes to src/3rdparty/webkit/WebCore/generated/JSClientRect.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 JSClientRect_h
 
22
#define JSClientRect_h
 
23
 
 
24
#include "DOMObjectWithSVGContext.h"
 
25
#include "JSDOMBinding.h"
 
26
#include <runtime/JSGlobalObject.h>
 
27
#include <runtime/ObjectPrototype.h>
 
28
 
 
29
namespace WebCore {
 
30
 
 
31
class ClientRect;
 
32
 
 
33
class JSClientRect : public DOMObjectWithGlobalPointer {
 
34
    typedef DOMObjectWithGlobalPointer Base;
 
35
public:
 
36
    JSClientRect(NonNullPassRefPtr<JSC::Structure>, JSDOMGlobalObject*, PassRefPtr<ClientRect>);
 
37
    virtual ~JSClientRect();
 
38
    static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
 
39
    virtual bool getOwnPropertySlot(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertySlot&);
 
40
    virtual bool getOwnPropertyDescriptor(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&);
 
41
    virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
 
42
    static const JSC::ClassInfo s_info;
 
43
 
 
44
    static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
 
45
    {
 
46
        return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType));
 
47
    }
 
48
 
 
49
    static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
 
50
    ClientRect* impl() const { return m_impl.get(); }
 
51
 
 
52
private:
 
53
    RefPtr<ClientRect> m_impl;
 
54
};
 
55
 
 
56
JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, ClientRect*);
 
57
ClientRect* toClientRect(JSC::JSValue);
 
58
 
 
59
class JSClientRectPrototype : public JSC::JSObject {
 
60
    typedef JSC::JSObject 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
    JSClientRectPrototype(NonNullPassRefPtr<JSC::Structure> structure) : JSC::JSObject(structure) { }
 
66
};
 
67
 
 
68
// Attributes
 
69
 
 
70
JSC::JSValue jsClientRectTop(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
 
71
JSC::JSValue jsClientRectRight(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
 
72
JSC::JSValue jsClientRectBottom(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
 
73
JSC::JSValue jsClientRectLeft(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
 
74
JSC::JSValue jsClientRectWidth(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
 
75
JSC::JSValue jsClientRectHeight(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
 
76
JSC::JSValue jsClientRectConstructor(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
 
77
 
 
78
} // namespace WebCore
 
79
 
 
80
#endif