HRESULT STDMETHODCALLTYPE DOMHTMLTextAreaElement::select( void) { ASSERT(m_element && m_element->hasTagName(textareaTag)); HTMLTextAreaElement* textareaElement = static_cast<HTMLTextAreaElement*>(m_element); textareaElement->select(); return S_OK; }
static v8::Handle<v8::Value> selectCallback(const v8::Arguments& args) { INC_STATS("DOM.HTMLTextAreaElement.select"); HTMLTextAreaElement* imp = V8HTMLTextAreaElement::toNative(args.Holder()); imp->select(); return v8::Handle<v8::Value>(); }
HRESULT STDMETHODCALLTYPE DOMHTMLTextAreaElement::select( void) { ASSERT(m_element && isHTMLTextAreaElement(m_element)); HTMLTextAreaElement* textareaElement = toHTMLTextAreaElement(m_element); textareaElement->select(); return S_OK; }
JSValue* jsHTMLTextAreaElementPrototypeFunctionSelect(ExecState* exec, JSObject*, JSValue* thisValue, const ArgList& args) { if (!thisValue->isObject(&JSHTMLTextAreaElement::s_info)) return throwError(exec, TypeError); JSHTMLTextAreaElement* castedThisObj = static_cast<JSHTMLTextAreaElement*>(thisValue); HTMLTextAreaElement* imp = static_cast<HTMLTextAreaElement*>(castedThisObj->impl()); imp->select(); return jsUndefined(); }
JSValue JSC_HOST_CALL jsHTMLTextAreaElementPrototypeFunctionSelect(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); if (!thisValue.isObject(&JSHTMLTextAreaElement::s_info)) return throwError(exec, TypeError); JSHTMLTextAreaElement* castedThisObj = static_cast<JSHTMLTextAreaElement*>(asObject(thisValue)); HTMLTextAreaElement* imp = static_cast<HTMLTextAreaElement*>(castedThisObj->impl()); imp->select(); return jsUndefined(); }
void DOMHTMLTextAreaElement::select() { ASSERT(m_element && m_element->hasTagName(textareaTag)); HTMLTextAreaElement* textareaElement = static_cast<HTMLTextAreaElement*>(m_element); textareaElement->select(); }