33
34
class SVGRenderingIntent;
35
class JSSVGRenderingIntent : public DOMObject {
36
typedef DOMObject Base;
36
class JSSVGRenderingIntent : public DOMObjectWithSVGContext {
37
typedef DOMObjectWithSVGContext Base;
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;
45
static PassRefPtr<JSC::Structure> createStructure(JSC::JSValuePtr prototype)
47
static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
47
49
return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType));
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(); }
55
RefPtr<SVGElement> m_context;
56
RefPtr<SVGRenderingIntent > m_impl;
56
RefPtr<SVGRenderingIntent> m_impl;
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);
62
62
class JSSVGRenderingIntentPrototype : public JSC::JSObject {
63
typedef JSC::JSObject Base;
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)
70
return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType));
72
return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::HasDefaultMark));
72
JSSVGRenderingIntentPrototype(PassRefPtr<JSC::Structure> structure) : JSC::JSObject(structure) { }
74
JSSVGRenderingIntentPrototype(NonNullPassRefPtr<JSC::Structure> structure) : JSC::JSObject(structure) { }
77
JSC::JSValuePtr jsSVGRenderingIntentConstructor(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
79
JSC::JSValue jsSVGRenderingIntentConstructor(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
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&);
87
89
} // namespace WebCore