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 JSClientRect_h
22
#define JSClientRect_h
24
#include "DOMObjectWithSVGContext.h"
25
#include "JSDOMBinding.h"
26
#include <runtime/JSGlobalObject.h>
27
#include <runtime/ObjectPrototype.h>
33
class JSClientRect : public DOMObjectWithGlobalPointer {
34
typedef DOMObjectWithGlobalPointer Base;
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;
44
static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
46
return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType));
49
static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
50
ClientRect* impl() const { return m_impl.get(); }
53
RefPtr<ClientRect> m_impl;
56
JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, ClientRect*);
57
ClientRect* toClientRect(JSC::JSValue);
59
class JSClientRectPrototype : public JSC::JSObject {
60
typedef JSC::JSObject Base;
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) { }
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&);
78
} // namespace WebCore