WebCore/generated/JSHTMLMeterElement.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 JSHTMLMeterElement_h
       
    22 #define JSHTMLMeterElement_h
       
    23 
       
    24 #if ENABLE(METER_TAG)
       
    25 
       
    26 #include "JSHTMLElement.h"
       
    27 #include <runtime/JSObjectWithGlobalObject.h>
       
    28 
       
    29 namespace WebCore {
       
    30 
       
    31 class HTMLMeterElement;
       
    32 
       
    33 class JSHTMLMeterElement : public JSHTMLElement {
       
    34     typedef JSHTMLElement Base;
       
    35 public:
       
    36     JSHTMLMeterElement(NonNullPassRefPtr<JSC::Structure>, JSDOMGlobalObject*, PassRefPtr<HTMLMeterElement>);
       
    37     static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
       
    38     virtual bool getOwnPropertySlot(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertySlot&);
       
    39     virtual bool getOwnPropertyDescriptor(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&);
       
    40     virtual void put(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSValue, JSC::PutPropertySlot&);
       
    41     virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
       
    42     static const JSC::ClassInfo s_info;
       
    43 
       
    44     static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
       
    45     {
       
    46         return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), AnonymousSlotCount);
       
    47     }
       
    48 
       
    49     static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
       
    50 protected:
       
    51     static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
       
    52 };
       
    53 
       
    54 
       
    55 class JSHTMLMeterElementPrototype : public JSC::JSObjectWithGlobalObject {
       
    56     typedef JSC::JSObjectWithGlobalObject Base;
       
    57 public:
       
    58     static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
       
    59     virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
       
    60     static const JSC::ClassInfo s_info;
       
    61     static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
       
    62     {
       
    63         return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), AnonymousSlotCount);
       
    64     }
       
    65     JSHTMLMeterElementPrototype(JSC::JSGlobalObject* globalObject, NonNullPassRefPtr<JSC::Structure> structure) : JSC::JSObjectWithGlobalObject(globalObject, structure) { }
       
    66 protected:
       
    67     static const unsigned StructureFlags = Base::StructureFlags;
       
    68 };
       
    69 
       
    70 // Attributes
       
    71 
       
    72 JSC::JSValue jsHTMLMeterElementValue(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
    73 void setJSHTMLMeterElementValue(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
    74 JSC::JSValue jsHTMLMeterElementMin(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
    75 void setJSHTMLMeterElementMin(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
    76 JSC::JSValue jsHTMLMeterElementMax(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
    77 void setJSHTMLMeterElementMax(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
    78 JSC::JSValue jsHTMLMeterElementLow(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
    79 void setJSHTMLMeterElementLow(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
    80 JSC::JSValue jsHTMLMeterElementHigh(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
    81 void setJSHTMLMeterElementHigh(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
    82 JSC::JSValue jsHTMLMeterElementOptimum(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
    83 void setJSHTMLMeterElementOptimum(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
       
    84 JSC::JSValue jsHTMLMeterElementForm(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
    85 JSC::JSValue jsHTMLMeterElementLabels(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
    86 JSC::JSValue jsHTMLMeterElementConstructor(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
       
    87 
       
    88 } // namespace WebCore
       
    89 
       
    90 #endif // ENABLE(METER_TAG)
       
    91 
       
    92 #endif