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

« back to all changes in this revision

Viewing changes to src/3rdparty/webkit/WebCore/generated/JSCDATASection.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 JSCDATASection : public JSText {
31
31
    typedef JSText Base;
32
32
public:
33
 
    JSCDATASection(PassRefPtr<JSC::Structure>, PassRefPtr<CDATASection>);
 
33
    JSCDATASection(NonNullPassRefPtr<JSC::Structure>, JSDOMGlobalObject*, PassRefPtr<CDATASection>);
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
 
 
48
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, CDATASection*);
47
49
 
48
50
class JSCDATASectionPrototype : public JSC::JSObject {
 
51
    typedef JSC::JSObject Base;
49
52
public:
50
53
    static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
51
54
    virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
52
55
    static const JSC::ClassInfo s_info;
53
 
    JSCDATASectionPrototype(PassRefPtr<JSC::Structure> structure) : JSC::JSObject(structure) { }
 
56
    JSCDATASectionPrototype(NonNullPassRefPtr<JSC::Structure> structure) : JSC::JSObject(structure) { }
54
57
};
55
58
 
56
59
// Attributes
57
60
 
58
 
JSC::JSValuePtr jsCDATASectionConstructor(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
 
61
JSC::JSValue jsCDATASectionConstructor(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
59
62
 
60
63
} // namespace WebCore
61
64