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

« back to all changes in this revision

Viewing changes to src/3rdparty/webkit/WebCore/bridge/runtime_array.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:
37
37
    
38
38
    virtual bool getOwnPropertySlot(ExecState *, const Identifier&, PropertySlot&);
39
39
    virtual bool getOwnPropertySlot(ExecState *, unsigned, PropertySlot&);
40
 
    virtual void put(ExecState*, const Identifier& propertyName, JSValuePtr, PutPropertySlot&);
41
 
    virtual void put(ExecState*, unsigned propertyName, JSValuePtr);
 
40
    virtual bool getOwnPropertyDescriptor(ExecState *, const Identifier&, PropertyDescriptor&);
 
41
    virtual void put(ExecState*, const Identifier& propertyName, JSValue, PutPropertySlot&);
 
42
    virtual void put(ExecState*, unsigned propertyName, JSValue);
42
43
    
43
44
    virtual bool deleteProperty(ExecState *exec, const Identifier &propertyName);
44
45
    virtual bool deleteProperty(ExecState *exec, unsigned propertyName);
56
57
        return globalObject->arrayPrototype();
57
58
    }
58
59
 
59
 
    static PassRefPtr<Structure> createStructure(JSValuePtr prototype)
 
60
    static PassRefPtr<Structure> createStructure(JSValue prototype)
60
61
    {
61
62
        return Structure::create(prototype, TypeInfo(ObjectType));
62
63
    }
63
64
 
64
65
private:
65
 
    static JSValuePtr lengthGetter(ExecState*, const Identifier&, const PropertySlot&);
66
 
    static JSValuePtr indexGetter(ExecState*, const Identifier&, const PropertySlot&);
 
66
    static JSValue lengthGetter(ExecState*, const Identifier&, const PropertySlot&);
 
67
    static JSValue indexGetter(ExecState*, const Identifier&, const PropertySlot&);
67
68
 
68
69
    OwnPtr<Bindings::Array> _array;
69
70
};