JSValue jsClipboardItems(ExecState* exec, JSValue slotBase, const Identifier&) { JSClipboard* castedThis = static_cast<JSClipboard*>(asObject(slotBase)); UNUSED_PARAM(exec); Clipboard* imp = static_cast<Clipboard*>(castedThis->impl()); JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->items())); return result; }
JSValue jsClipboardConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSClipboard* domObject = static_cast<JSClipboard*>(asObject(slotBase)); return JSClipboard::getConstructor(exec, domObject->globalObject()); }