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

« back to all changes in this revision

Viewing changes to src/3rdparty/webkit/WebCore/generated/JSComment.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:
30
30
class JSComment : public JSCharacterData {
31
31
    typedef JSCharacterData Base;
32
32
public:
33
 
    JSComment(PassRefPtr<JSC::Structure>, PassRefPtr<Comment>);
 
33
    JSComment(NonNullPassRefPtr<JSC::Structure>, JSDOMGlobalObject*, PassRefPtr<Comment>);
34
34
    static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
35
35
    virtual bool getOwnPropertySlot(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertySlot&);
 
36
    virtual bool getOwnPropertyDescriptor(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&);
36
37
    virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
37
38
    static const JSC::ClassInfo s_info;
38
39
 
39
 
    static PassRefPtr<JSC::Structure> createStructure(JSC::JSValuePtr prototype)
 
40
    static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
40
41
    {
41
42
        return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType));
42
43
    }
43
44
 
44
 
    static JSC::JSValuePtr getConstructor(JSC::ExecState*);
 
45
    static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
45
46
};
46
47
 
47
48
 
48
49
class JSCommentPrototype : public JSC::JSObject {
 
50
    typedef JSC::JSObject Base;
49
51
public:
50
52
    static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
51
53
    virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
52
54
    static const JSC::ClassInfo s_info;
53
 
    JSCommentPrototype(PassRefPtr<JSC::Structure> structure) : JSC::JSObject(structure) { }
 
55
    JSCommentPrototype(NonNullPassRefPtr<JSC::Structure> structure) : JSC::JSObject(structure) { }
54
56
};
55
57
 
56
58
// Attributes
57
59
 
58
 
JSC::JSValuePtr jsCommentConstructor(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
 
60
JSC::JSValue jsCommentConstructor(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
59
61
 
60
62
} // namespace WebCore
61
63