JSTouchListConstructor.h [plain text]
#ifndef JSTouchListConstructor_h
#define JSTouchListConstructor_h
#if ENABLE(TOUCH_EVENTS)
#include "kjs_binding.h"
#include <wtf/RefPtr.h>
namespace WebCore {
class JSTouchListConstructor : public KJS::DOMObject {
public:
JSTouchListConstructor(KJS::ExecState*, Document*);
virtual bool implementsConstruct() const;
virtual KJS::JSObject *construct(KJS::ExecState*, const KJS::List& args);
private:
RefPtr<Document> m_doc;
};
}
#endif // ENABLE(TOUCH_EVENTS)
#endif // JSTouchListConstructor_h