diff options
author | Jocelyn Turcotte <jocelyn.turcotte@nokia.com> | 2010-04-06 10:36:47 (GMT) |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@nokia.com> | 2010-04-06 10:36:47 (GMT) |
commit | bb35b65bbfba82e0dd0ac306d3dab54436cdaff6 (patch) | |
tree | 8174cb262a960ff7b2e4aa8f1aaf154db71d2636 /src/3rdparty/webkit/WebCore/generated/JSHTMLTableRowElement.cpp | |
parent | 4b27d0d887269583a0f76e922948f8c25e96ab88 (diff) | |
download | Qt-bb35b65bbfba82e0dd0ac306d3dab54436cdaff6.zip Qt-bb35b65bbfba82e0dd0ac306d3dab54436cdaff6.tar.gz Qt-bb35b65bbfba82e0dd0ac306d3dab54436cdaff6.tar.bz2 |
Update src/3rdparty/webkit from trunk.
Imported from 839d8709327f925aacb3b6362c06152594def97e
in branch qtwebkit-2.0 of repository
git://gitorious.org/+qtwebkit-developers/webkit/qtwebkit.git
Rubber-stamped-by: Simon Hausmann
Diffstat (limited to 'src/3rdparty/webkit/WebCore/generated/JSHTMLTableRowElement.cpp')
-rw-r--r-- | src/3rdparty/webkit/WebCore/generated/JSHTMLTableRowElement.cpp | 99 |
1 files changed, 56 insertions, 43 deletions
diff --git a/src/3rdparty/webkit/WebCore/generated/JSHTMLTableRowElement.cpp b/src/3rdparty/webkit/WebCore/generated/JSHTMLTableRowElement.cpp index 6dd1622..b9659ea 100644 --- a/src/3rdparty/webkit/WebCore/generated/JSHTMLTableRowElement.cpp +++ b/src/3rdparty/webkit/WebCore/generated/JSHTMLTableRowElement.cpp @@ -42,15 +42,15 @@ ASSERT_CLASS_FITS_IN_CELL(JSHTMLTableRowElement); static const HashTableValue JSHTMLTableRowElementTableValues[10] = { - { "rowIndex", DontDelete|ReadOnly, (intptr_t)jsHTMLTableRowElementRowIndex, (intptr_t)0 }, - { "sectionRowIndex", DontDelete|ReadOnly, (intptr_t)jsHTMLTableRowElementSectionRowIndex, (intptr_t)0 }, - { "cells", DontDelete|ReadOnly, (intptr_t)jsHTMLTableRowElementCells, (intptr_t)0 }, - { "align", DontDelete, (intptr_t)jsHTMLTableRowElementAlign, (intptr_t)setJSHTMLTableRowElementAlign }, - { "bgColor", DontDelete, (intptr_t)jsHTMLTableRowElementBgColor, (intptr_t)setJSHTMLTableRowElementBgColor }, - { "ch", DontDelete, (intptr_t)jsHTMLTableRowElementCh, (intptr_t)setJSHTMLTableRowElementCh }, - { "chOff", DontDelete, (intptr_t)jsHTMLTableRowElementChOff, (intptr_t)setJSHTMLTableRowElementChOff }, - { "vAlign", DontDelete, (intptr_t)jsHTMLTableRowElementVAlign, (intptr_t)setJSHTMLTableRowElementVAlign }, - { "constructor", DontEnum|ReadOnly, (intptr_t)jsHTMLTableRowElementConstructor, (intptr_t)0 }, + { "rowIndex", DontDelete|ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLTableRowElementRowIndex), (intptr_t)0 }, + { "sectionRowIndex", DontDelete|ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLTableRowElementSectionRowIndex), (intptr_t)0 }, + { "cells", DontDelete|ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLTableRowElementCells), (intptr_t)0 }, + { "align", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLTableRowElementAlign), (intptr_t)setJSHTMLTableRowElementAlign }, + { "bgColor", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLTableRowElementBgColor), (intptr_t)setJSHTMLTableRowElementBgColor }, + { "ch", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLTableRowElementCh), (intptr_t)setJSHTMLTableRowElementCh }, + { "chOff", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLTableRowElementChOff), (intptr_t)setJSHTMLTableRowElementChOff }, + { "vAlign", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLTableRowElementVAlign), (intptr_t)setJSHTMLTableRowElementVAlign }, + { "constructor", DontEnum|ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLTableRowElementConstructor), (intptr_t)0 }, { 0, 0, 0, 0 } }; @@ -89,7 +89,7 @@ public: static PassRefPtr<Structure> createStructure(JSValue proto) { - return Structure::create(proto, TypeInfo(ObjectType, StructureFlags)); + return Structure::create(proto, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount); } protected: @@ -112,8 +112,8 @@ bool JSHTMLTableRowElementConstructor::getOwnPropertyDescriptor(ExecState* exec, static const HashTableValue JSHTMLTableRowElementPrototypeTableValues[3] = { - { "insertCell", DontDelete|Function, (intptr_t)jsHTMLTableRowElementPrototypeFunctionInsertCell, (intptr_t)1 }, - { "deleteCell", DontDelete|Function, (intptr_t)jsHTMLTableRowElementPrototypeFunctionDeleteCell, (intptr_t)1 }, + { "insertCell", DontDelete|Function, (intptr_t)static_cast<NativeFunction>(jsHTMLTableRowElementPrototypeFunctionInsertCell), (intptr_t)1 }, + { "deleteCell", DontDelete|Function, (intptr_t)static_cast<NativeFunction>(jsHTMLTableRowElementPrototypeFunctionDeleteCell), (intptr_t)1 }, { 0, 0, 0, 0 } }; @@ -163,73 +163,81 @@ bool JSHTMLTableRowElement::getOwnPropertyDescriptor(ExecState* exec, const Iden return getStaticValueDescriptor<JSHTMLTableRowElement, Base>(exec, &JSHTMLTableRowElementTable, this, propertyName, descriptor); } -JSValue jsHTMLTableRowElementRowIndex(ExecState* exec, const Identifier&, const PropertySlot& slot) +JSValue jsHTMLTableRowElementRowIndex(ExecState* exec, JSValue slotBase, const Identifier&) { - JSHTMLTableRowElement* castedThis = static_cast<JSHTMLTableRowElement*>(asObject(slot.slotBase())); + JSHTMLTableRowElement* castedThis = static_cast<JSHTMLTableRowElement*>(asObject(slotBase)); UNUSED_PARAM(exec); HTMLTableRowElement* imp = static_cast<HTMLTableRowElement*>(castedThis->impl()); - return jsNumber(exec, imp->rowIndex()); + JSValue result = jsNumber(exec, imp->rowIndex()); + return result; } -JSValue jsHTMLTableRowElementSectionRowIndex(ExecState* exec, const Identifier&, const PropertySlot& slot) +JSValue jsHTMLTableRowElementSectionRowIndex(ExecState* exec, JSValue slotBase, const Identifier&) { - JSHTMLTableRowElement* castedThis = static_cast<JSHTMLTableRowElement*>(asObject(slot.slotBase())); + JSHTMLTableRowElement* castedThis = static_cast<JSHTMLTableRowElement*>(asObject(slotBase)); UNUSED_PARAM(exec); HTMLTableRowElement* imp = static_cast<HTMLTableRowElement*>(castedThis->impl()); - return jsNumber(exec, imp->sectionRowIndex()); + JSValue result = jsNumber(exec, imp->sectionRowIndex()); + return result; } -JSValue jsHTMLTableRowElementCells(ExecState* exec, const Identifier&, const PropertySlot& slot) +JSValue jsHTMLTableRowElementCells(ExecState* exec, JSValue slotBase, const Identifier&) { - JSHTMLTableRowElement* castedThis = static_cast<JSHTMLTableRowElement*>(asObject(slot.slotBase())); + JSHTMLTableRowElement* castedThis = static_cast<JSHTMLTableRowElement*>(asObject(slotBase)); UNUSED_PARAM(exec); HTMLTableRowElement* imp = static_cast<HTMLTableRowElement*>(castedThis->impl()); - return toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->cells())); + JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->cells())); + return result; } -JSValue jsHTMLTableRowElementAlign(ExecState* exec, const Identifier&, const PropertySlot& slot) +JSValue jsHTMLTableRowElementAlign(ExecState* exec, JSValue slotBase, const Identifier&) { - JSHTMLTableRowElement* castedThis = static_cast<JSHTMLTableRowElement*>(asObject(slot.slotBase())); + JSHTMLTableRowElement* castedThis = static_cast<JSHTMLTableRowElement*>(asObject(slotBase)); UNUSED_PARAM(exec); HTMLTableRowElement* imp = static_cast<HTMLTableRowElement*>(castedThis->impl()); - return jsString(exec, imp->align()); + JSValue result = jsString(exec, imp->align()); + return result; } -JSValue jsHTMLTableRowElementBgColor(ExecState* exec, const Identifier&, const PropertySlot& slot) +JSValue jsHTMLTableRowElementBgColor(ExecState* exec, JSValue slotBase, const Identifier&) { - JSHTMLTableRowElement* castedThis = static_cast<JSHTMLTableRowElement*>(asObject(slot.slotBase())); + JSHTMLTableRowElement* castedThis = static_cast<JSHTMLTableRowElement*>(asObject(slotBase)); UNUSED_PARAM(exec); HTMLTableRowElement* imp = static_cast<HTMLTableRowElement*>(castedThis->impl()); - return jsString(exec, imp->bgColor()); + JSValue result = jsString(exec, imp->bgColor()); + return result; } -JSValue jsHTMLTableRowElementCh(ExecState* exec, const Identifier&, const PropertySlot& slot) +JSValue jsHTMLTableRowElementCh(ExecState* exec, JSValue slotBase, const Identifier&) { - JSHTMLTableRowElement* castedThis = static_cast<JSHTMLTableRowElement*>(asObject(slot.slotBase())); + JSHTMLTableRowElement* castedThis = static_cast<JSHTMLTableRowElement*>(asObject(slotBase)); UNUSED_PARAM(exec); HTMLTableRowElement* imp = static_cast<HTMLTableRowElement*>(castedThis->impl()); - return jsString(exec, imp->ch()); + JSValue result = jsString(exec, imp->ch()); + return result; } -JSValue jsHTMLTableRowElementChOff(ExecState* exec, const Identifier&, const PropertySlot& slot) +JSValue jsHTMLTableRowElementChOff(ExecState* exec, JSValue slotBase, const Identifier&) { - JSHTMLTableRowElement* castedThis = static_cast<JSHTMLTableRowElement*>(asObject(slot.slotBase())); + JSHTMLTableRowElement* castedThis = static_cast<JSHTMLTableRowElement*>(asObject(slotBase)); UNUSED_PARAM(exec); HTMLTableRowElement* imp = static_cast<HTMLTableRowElement*>(castedThis->impl()); - return jsString(exec, imp->chOff()); + JSValue result = jsString(exec, imp->chOff()); + return result; } -JSValue jsHTMLTableRowElementVAlign(ExecState* exec, const Identifier&, const PropertySlot& slot) +JSValue jsHTMLTableRowElementVAlign(ExecState* exec, JSValue slotBase, const Identifier&) { - JSHTMLTableRowElement* castedThis = static_cast<JSHTMLTableRowElement*>(asObject(slot.slotBase())); + JSHTMLTableRowElement* castedThis = static_cast<JSHTMLTableRowElement*>(asObject(slotBase)); UNUSED_PARAM(exec); HTMLTableRowElement* imp = static_cast<HTMLTableRowElement*>(castedThis->impl()); - return jsString(exec, imp->vAlign()); + JSValue result = jsString(exec, imp->vAlign()); + return result; } -JSValue jsHTMLTableRowElementConstructor(ExecState* exec, const Identifier&, const PropertySlot& slot) +JSValue jsHTMLTableRowElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { - JSHTMLTableRowElement* domObject = static_cast<JSHTMLTableRowElement*>(asObject(slot.slotBase())); + JSHTMLTableRowElement* domObject = static_cast<JSHTMLTableRowElement*>(asObject(slotBase)); return JSHTMLTableRowElement::getConstructor(exec, domObject->globalObject()); } void JSHTMLTableRowElement::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot) @@ -239,31 +247,36 @@ void JSHTMLTableRowElement::put(ExecState* exec, const Identifier& propertyName, void setJSHTMLTableRowElementAlign(ExecState* exec, JSObject* thisObject, JSValue value) { - HTMLTableRowElement* imp = static_cast<HTMLTableRowElement*>(static_cast<JSHTMLTableRowElement*>(thisObject)->impl()); + JSHTMLTableRowElement* castedThisObj = static_cast<JSHTMLTableRowElement*>(thisObject); + HTMLTableRowElement* imp = static_cast<HTMLTableRowElement*>(castedThisObj->impl()); imp->setAlign(valueToStringWithNullCheck(exec, value)); } void setJSHTMLTableRowElementBgColor(ExecState* exec, JSObject* thisObject, JSValue value) { - HTMLTableRowElement* imp = static_cast<HTMLTableRowElement*>(static_cast<JSHTMLTableRowElement*>(thisObject)->impl()); + JSHTMLTableRowElement* castedThisObj = static_cast<JSHTMLTableRowElement*>(thisObject); + HTMLTableRowElement* imp = static_cast<HTMLTableRowElement*>(castedThisObj->impl()); imp->setBgColor(valueToStringWithNullCheck(exec, value)); } void setJSHTMLTableRowElementCh(ExecState* exec, JSObject* thisObject, JSValue value) { - HTMLTableRowElement* imp = static_cast<HTMLTableRowElement*>(static_cast<JSHTMLTableRowElement*>(thisObject)->impl()); + JSHTMLTableRowElement* castedThisObj = static_cast<JSHTMLTableRowElement*>(thisObject); + HTMLTableRowElement* imp = static_cast<HTMLTableRowElement*>(castedThisObj->impl()); imp->setCh(valueToStringWithNullCheck(exec, value)); } void setJSHTMLTableRowElementChOff(ExecState* exec, JSObject* thisObject, JSValue value) { - HTMLTableRowElement* imp = static_cast<HTMLTableRowElement*>(static_cast<JSHTMLTableRowElement*>(thisObject)->impl()); + JSHTMLTableRowElement* castedThisObj = static_cast<JSHTMLTableRowElement*>(thisObject); + HTMLTableRowElement* imp = static_cast<HTMLTableRowElement*>(castedThisObj->impl()); imp->setChOff(valueToStringWithNullCheck(exec, value)); } void setJSHTMLTableRowElementVAlign(ExecState* exec, JSObject* thisObject, JSValue value) { - HTMLTableRowElement* imp = static_cast<HTMLTableRowElement*>(static_cast<JSHTMLTableRowElement*>(thisObject)->impl()); + JSHTMLTableRowElement* castedThisObj = static_cast<JSHTMLTableRowElement*>(thisObject); + HTMLTableRowElement* imp = static_cast<HTMLTableRowElement*>(castedThisObj->impl()); imp->setVAlign(valueToStringWithNullCheck(exec, value)); } |