blob: c1d8c33caa5abbc9737477488abdfe9129f86f4d [file] [log] [blame]
/*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#pragma once
#include "HTMLAppletElement.h"
#include "JSHTMLElement.h"
#include <runtime/CallData.h>
namespace WebCore {
class JSHTMLAppletElement : public JSHTMLElement {
public:
typedef JSHTMLElement Base;
typedef HTMLAppletElement DOMWrapped;
static JSHTMLAppletElement* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, Ref<HTMLAppletElement>&& impl)
{
JSHTMLAppletElement* ptr = new (NotNull, JSC::allocateCell<JSHTMLAppletElement>(globalObject->vm().heap)) JSHTMLAppletElement(structure, *globalObject, WTFMove(impl));
ptr->finishCreation(globalObject->vm());
return ptr;
}
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
bool getOwnPropertySlotDelegate(JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
static bool getOwnPropertySlotByIndex(JSC::JSObject*, JSC::ExecState*, unsigned propertyName, JSC::PropertySlot&);
static bool put(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);
static bool putByIndex(JSC::JSCell*, JSC::ExecState*, unsigned propertyName, JSC::JSValue, bool shouldThrow);
bool putDelegate(JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&, bool& putResult);
DECLARE_INFO;
static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
{
return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::JSType(JSElementType), StructureFlags), info());
}
static JSC::CallType getCallData(JSC::JSCell*, JSC::CallData&);
static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*);
static void visitChildren(JSCell*, JSC::SlotVisitor&);
HTMLAppletElement& wrapped() const
{
return static_cast<HTMLAppletElement&>(Base::wrapped());
}
public:
static const unsigned StructureFlags = JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::TypeOfShouldCallGetCallData | Base::StructureFlags;
protected:
JSHTMLAppletElement(JSC::Structure*, JSDOMGlobalObject&, Ref<HTMLAppletElement>&&);
void finishCreation(JSC::VM& vm)
{
Base::finishCreation(vm);
ASSERT(inherits(info()));
}
};
template<> struct JSDOMWrapperConverterTraits<HTMLAppletElement> {
using WrapperClass = JSHTMLAppletElement;
};
} // namespace WebCore