WebCore/generated/JSXMLHttpRequestProgressEvent.h
changeset 0 4f2f89ce4247
equal deleted inserted replaced
-1:000000000000 0:4f2f89ce4247
       
     1 /*
       
     2     This file is part of the WebKit open source project.
       
     3     This file has been generated by generate-bindings.pl. DO NOT MODIFY!
       
     4 
       
     5     This library is free software; you can redistribute it and/or
       
     6     modify it under the terms of the GNU Library General Public
       
     7     License as published by the Free Software Foundation; either
       
     8     version 2 of the License, or (at your option) any later version.
       
     9 
       
    10     This library is distributed in the hope that it will be useful,
       
    11     but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       
    13     Library General Public License for more details.
       
    14 
       
    15     You should have received a copy of the GNU Library General Public License
       
    16     along with this library; see the file COPYING.LIB.  If not, write to
       
    17     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
       
    18     Boston, MA 02110-1301, USA.
       
    19 */
       
    20 
       
    21 #ifndef JSXMLHttpRequestProgressEvent_h
       
    22 #define JSXMLHttpRequestProgressEvent_h
       
    23 
       
    24 #include "JSProgressEvent.h"
       
    25 #include <runtime/JSObjectWithGlobalObject.h>
       
    26 
       
    27 namespace WebCore {
       
    28 
       
    29 class XMLHttpRequestProgressEvent;
       
    30 
       
    31 class JSXMLHttpRequestProgressEvent : public JSProgressEvent {
       
    32     typedef JSProgressEvent Base;
       
    33 public:
       
    34     JSXMLHttpRequestProgressEvent(NonNullPassRefPtr<JSC::Structure>, JSDOMGlobalObject*, PassRefPtr<XMLHttpRequestProgressEvent>);
       
    35     static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
       
    36     virtual bool getOwnPropertySlot(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertySlot&);
       
    37     virtual bool getOwnPropertyDescriptor(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&);
       
    38     virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
       
    39     static const JSC::ClassInfo s_info;
       
    40 
       
    41     static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
       
    42     {
       
    43         return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), AnonymousSlotCount);
       
    44     }
       
    45 
       
    46     static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
       
    47 protected:
       
    48     static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
       
    49 };
       
    50 
       
    51 
       
    52 class JSXMLHttpRequestProgressEventPrototype : public JSC::JSObjectWithGlobalObject {
       
    53     typedef JSC::JSObjectWithGlobalObject Base;
       
    54 public:
       
    55     static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
       
    56     virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
       
    57     static const JSC::ClassInfo s_info;
       
    58     static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
       
    59     {
       
    60         return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), AnonymousSlotCount);
       
    61     }
       
    62     JSXMLHttpRequestProgressEventPrototype(JSC::JSGlobalObject* globalObject, NonNullPassRefPtr<JSC::Structure> structure) : JSC::JSObjectWithGlobalObject(globalObject, structure) { }
       
    63 protected:
       
    64     static const unsigned StructureFlags = Base::StructureFlags;
       
    65 };
       
    66 
       
    67 // Attributes
       
    68 
       
    69 JSC::JSValue jsXMLHttpRequestProgressEventPosition(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
    70 JSC::JSValue jsXMLHttpRequestProgressEventTotalSize(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
    71 JSC::JSValue jsXMLHttpRequestProgressEventConstructor(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
    72 
       
    73 } // namespace WebCore
       
    74 
       
    75 #endif