JSValue JSC_HOST_CALL jsInspectorFrontendHostPrototypeFunctionBringToFront(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args) { UNUSED_PARAM(args); if (!thisValue.inherits(&JSInspectorFrontendHost::s_info)) return throwError(exec, TypeError); JSInspectorFrontendHost* castedThisObj = static_cast<JSInspectorFrontendHost*>(asObject(thisValue)); InspectorFrontendHost* imp = static_cast<InspectorFrontendHost*>(castedThisObj->impl()); imp->bringToFront(); return jsUndefined(); }
static v8::Handle<v8::Value> bringToFrontCallback(const v8::Arguments& args) { InspectorFrontendHost* imp = V8InspectorFrontendHost::toNative(args.Holder()); imp->bringToFront(); return v8Undefined(); }