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

« back to all changes in this revision

Viewing changes to src/3rdparty/webkit/WebCore/generated/JSSVGRenderingIntent.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:
21
21
#ifndef JSSVGRenderingIntent_h
22
22
#define JSSVGRenderingIntent_h
23
23
 
24
 
 
25
24
#if ENABLE(SVG)
26
25
 
 
26
#include "DOMObjectWithSVGContext.h"
27
27
#include "JSDOMBinding.h"
 
28
#include "SVGElement.h"
28
29
#include <runtime/JSGlobalObject.h>
29
30
#include <runtime/ObjectPrototype.h>
30
31
 
32
33
 
33
34
class SVGRenderingIntent;
34
35
 
35
 
class JSSVGRenderingIntent : public DOMObject {
36
 
    typedef DOMObject Base;
 
36
class JSSVGRenderingIntent : public DOMObjectWithSVGContext {
 
37
    typedef DOMObjectWithSVGContext Base;
37
38
public:
38
 
    JSSVGRenderingIntent(PassRefPtr<JSC::Structure>, PassRefPtr<SVGRenderingIntent>, SVGElement* context);
 
39
    JSSVGRenderingIntent(NonNullPassRefPtr<JSC::Structure>, JSDOMGlobalObject*, PassRefPtr<SVGRenderingIntent>, SVGElement* context);
39
40
    virtual ~JSSVGRenderingIntent();
40
41
    static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
41
42
    virtual bool getOwnPropertySlot(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertySlot&);
 
43
    virtual bool getOwnPropertyDescriptor(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&);
42
44
    virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
43
45
    static const JSC::ClassInfo s_info;
44
46
 
45
 
    static PassRefPtr<JSC::Structure> createStructure(JSC::JSValuePtr prototype)
 
47
    static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
46
48
    {
47
49
        return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType));
48
50
    }
49
51
 
50
 
    static JSC::JSValuePtr getConstructor(JSC::ExecState*);
 
52
    static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
51
53
    SVGRenderingIntent* impl() const { return m_impl.get(); }
52
 
    SVGElement* context() const { return m_context.get(); }
53
54
 
54
55
private:
55
 
    RefPtr<SVGElement> m_context;
56
 
    RefPtr<SVGRenderingIntent > m_impl;
 
56
    RefPtr<SVGRenderingIntent> m_impl;
57
57
};
58
58
 
59
 
JSC::JSValuePtr toJS(JSC::ExecState*, SVGRenderingIntent*, SVGElement* context);
60
 
SVGRenderingIntent* toSVGRenderingIntent(JSC::JSValuePtr);
 
59
JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, SVGRenderingIntent*, SVGElement* context);
 
60
SVGRenderingIntent* toSVGRenderingIntent(JSC::JSValue);
61
61
 
62
62
class JSSVGRenderingIntentPrototype : public JSC::JSObject {
 
63
    typedef JSC::JSObject Base;
63
64
public:
64
65
    static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
65
66
    virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
66
67
    static const JSC::ClassInfo s_info;
67
68
    virtual bool getOwnPropertySlot(JSC::ExecState*, const JSC::Identifier&, JSC::PropertySlot&);
68
 
    static PassRefPtr<JSC::Structure> createStructure(JSC::JSValuePtr prototype)
 
69
    virtual bool getOwnPropertyDescriptor(JSC::ExecState*, const JSC::Identifier&, JSC::PropertyDescriptor&);
 
70
    static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
69
71
    {
70
 
        return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType));
 
72
        return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::HasDefaultMark));
71
73
    }
72
 
    JSSVGRenderingIntentPrototype(PassRefPtr<JSC::Structure> structure) : JSC::JSObject(structure) { }
 
74
    JSSVGRenderingIntentPrototype(NonNullPassRefPtr<JSC::Structure> structure) : JSC::JSObject(structure) { }
73
75
};
74
76
 
75
77
// Attributes
76
78
 
77
 
JSC::JSValuePtr jsSVGRenderingIntentConstructor(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
 
79
JSC::JSValue jsSVGRenderingIntentConstructor(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
78
80
// Constants
79
81
 
80
 
JSC::JSValuePtr jsSVGRenderingIntentRENDERING_INTENT_UNKNOWN(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
81
 
JSC::JSValuePtr jsSVGRenderingIntentRENDERING_INTENT_AUTO(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
82
 
JSC::JSValuePtr jsSVGRenderingIntentRENDERING_INTENT_PERCEPTUAL(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
83
 
JSC::JSValuePtr jsSVGRenderingIntentRENDERING_INTENT_RELATIVE_COLORIMETRIC(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
84
 
JSC::JSValuePtr jsSVGRenderingIntentRENDERING_INTENT_SATURATION(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
85
 
JSC::JSValuePtr jsSVGRenderingIntentRENDERING_INTENT_ABSOLUTE_COLORIMETRIC(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
 
82
JSC::JSValue jsSVGRenderingIntentRENDERING_INTENT_UNKNOWN(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
 
83
JSC::JSValue jsSVGRenderingIntentRENDERING_INTENT_AUTO(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
 
84
JSC::JSValue jsSVGRenderingIntentRENDERING_INTENT_PERCEPTUAL(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
 
85
JSC::JSValue jsSVGRenderingIntentRENDERING_INTENT_RELATIVE_COLORIMETRIC(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
 
86
JSC::JSValue jsSVGRenderingIntentRENDERING_INTENT_SATURATION(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
 
87
JSC::JSValue jsSVGRenderingIntentRENDERING_INTENT_ABSOLUTE_COLORIMETRIC(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
86
88
 
87
89
} // namespace WebCore
88
90