JSValue jsSVGCursorElementSystemLanguage(ExecState* exec, JSValue slotBase, const Identifier&) { JSSVGCursorElement* castedThis = static_cast<JSSVGCursorElement*>(asObject(slotBase)); UNUSED_PARAM(exec); SVGCursorElement* imp = static_cast<SVGCursorElement*>(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->systemLanguage()), imp); return result; }
JSValue jsSVGCursorElementExternalResourcesRequired(ExecState* exec, JSValue slotBase, const Identifier&) { JSSVGCursorElement* castedThis = static_cast<JSSVGCursorElement*>(asObject(slotBase)); UNUSED_PARAM(exec); SVGCursorElement* imp = static_cast<SVGCursorElement*>(castedThis->impl()); RefPtr<SVGAnimatedBoolean> obj = imp->externalResourcesRequiredAnimated(); JSValue result = toJS(exec, castedThis->globalObject(), obj.get(), imp); return result; }
JSValue* jsSVGCursorElementPrototypeFunctionHasExtension(ExecState* exec, JSObject*, JSValue* thisValue, const ArgList& args) { if (!thisValue->isObject(&JSSVGCursorElement::s_info)) return throwError(exec, TypeError); JSSVGCursorElement* castedThisObj = static_cast<JSSVGCursorElement*>(thisValue); SVGCursorElement* imp = static_cast<SVGCursorElement*>(castedThisObj->impl()); const UString& extension = args.at(exec, 0)->toString(exec); JSC::JSValue* result = jsBoolean(imp->hasExtension(extension)); return result; }
JSValue JSC_HOST_CALL jsSVGCursorElementPrototypeFunctionHasExtension(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); if (!thisValue.inherits(&JSSVGCursorElement::s_info)) return throwError(exec, TypeError); JSSVGCursorElement* castedThisObj = static_cast<JSSVGCursorElement*>(asObject(thisValue)); SVGCursorElement* imp = static_cast<SVGCursorElement*>(castedThisObj->impl()); const UString& extension = args.at(0).toString(exec); JSC::JSValue result = jsBoolean(imp->hasExtension(extension)); return result; }
JSValue jsSVGCursorElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSSVGCursorElement* domObject = static_cast<JSSVGCursorElement*>(asObject(slotBase)); return JSSVGCursorElement::getConstructor(exec, domObject->globalObject()); }