~ubuntu-branches/ubuntu/karmic/webkit/karmic-proposed

« back to all changes in this revision

Viewing changes to WebCore/bindings/js/JSQuarantinedObjectWrapper.h

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2009-05-15 18:30:58 UTC
  • mto: (4.4.1 sid) (1.2.2 upstream) (16.1.1 lucid)
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20090515183058-35m5or0ufm5tutud
Tags: upstream-1.1.7
ImportĀ upstreamĀ versionĀ 1.1.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
    class JSQuarantinedObjectWrapper : public JSC::JSObject {
34
34
    public:
35
 
        static JSQuarantinedObjectWrapper* asWrapper(JSC::JSValuePtr);
 
35
        static JSQuarantinedObjectWrapper* asWrapper(JSC::JSValue);
36
36
 
37
37
        virtual ~JSQuarantinedObjectWrapper();
38
38
 
45
45
 
46
46
        static const JSC::ClassInfo s_info;
47
47
 
48
 
        static PassRefPtr<JSC::Structure> createStructure(JSC::JSValuePtr proto) 
 
48
        static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue proto) 
49
49
        { 
50
50
            return JSC::Structure::create(proto, JSC::TypeInfo(JSC::ObjectType, JSC::ImplementsHasInstance | JSC::OverridesHasInstance)); 
51
51
        }
59
59
        virtual bool getOwnPropertySlot(JSC::ExecState*, const JSC::Identifier&, JSC::PropertySlot&);
60
60
        virtual bool getOwnPropertySlot(JSC::ExecState*, unsigned, JSC::PropertySlot&);
61
61
 
62
 
        virtual void put(JSC::ExecState*, const JSC::Identifier&, JSC::JSValuePtr, JSC::PutPropertySlot&);
63
 
        virtual void put(JSC::ExecState*, unsigned, JSC::JSValuePtr);
 
62
        virtual void put(JSC::ExecState*, const JSC::Identifier&, JSC::JSValue, JSC::PutPropertySlot&);
 
63
        virtual void put(JSC::ExecState*, unsigned, JSC::JSValue);
64
64
 
65
65
        virtual bool deleteProperty(JSC::ExecState*, const JSC::Identifier&);
66
66
        virtual bool deleteProperty(JSC::ExecState*, unsigned);
68
68
        virtual JSC::CallType getCallData(JSC::CallData&);
69
69
        virtual JSC::ConstructType getConstructData(JSC::ConstructData&);
70
70
 
71
 
        virtual bool hasInstance(JSC::ExecState*, JSC::JSValuePtr, JSC::JSValuePtr proto);
 
71
        virtual bool hasInstance(JSC::ExecState*, JSC::JSValue, JSC::JSValue proto);
72
72
 
73
73
        virtual void getPropertyNames(JSC::ExecState*, JSC::PropertyNameArray&);
74
74
 
82
82
        virtual bool allowsCallAsFunction() const { return false; }
83
83
        virtual bool allowsGetPropertyNames() const { return false; }
84
84
 
85
 
        virtual JSC::JSValuePtr prepareIncomingValue(JSC::ExecState* unwrappedExec, JSC::JSValuePtr unwrappedValue) const = 0;
86
 
        virtual JSC::JSValuePtr wrapOutgoingValue(JSC::ExecState* unwrappedExec, JSC::JSValuePtr unwrappedValue) const = 0;
 
85
        virtual JSC::JSValue prepareIncomingValue(JSC::ExecState* unwrappedExec, JSC::JSValue unwrappedValue) const = 0;
 
86
        virtual JSC::JSValue wrapOutgoingValue(JSC::ExecState* unwrappedExec, JSC::JSValue unwrappedValue) const = 0;
87
87
 
88
 
        static JSC::JSValuePtr cachedValueGetter(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
 
88
        static JSC::JSValue cachedValueGetter(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
89
89
 
90
90
        void transferExceptionToExecState(JSC::ExecState*) const;
91
91
 
92
 
        static JSC::JSValuePtr call(JSC::ExecState*, JSC::JSObject* function, JSC::JSValuePtr thisValue, const JSC::ArgList&);
 
92
        static JSC::JSValue JSC_HOST_CALL call(JSC::ExecState*, JSC::JSObject* function, JSC::JSValue thisValue, const JSC::ArgList&);
93
93
        static JSC::JSObject* construct(JSC::ExecState*, JSC::JSObject*, const JSC::ArgList&);
94
94
 
95
95
        JSC::JSGlobalObject* m_unwrappedGlobalObject;