WebDOMEventTarget.h [plain text]
#ifndef WebDOMEventTarget_h
#define WebDOMEventTarget_h
#include <WebDOMObject.h>
namespace WebCore {
class EventTarget;
};
class WebDOMDedicatedWorkerContext;
class WebDOMDOMApplicationCache;
class WebDOMDOMWindow;
class WebDOMEventSource;
class WebDOMMessagePort;
class WebDOMNode;
class WebDOMNotification;
class WebDOMSharedWorker;
class WebDOMSharedWorkerContext;
class WebDOMWebSocket;
class WebDOMWorker;
class WebDOMXMLHttpRequest;
class WebDOMXMLHttpRequestUpload;
class WebDOMEventTarget : public WebDOMObject {
public:
WebDOMEventTarget();
explicit WebDOMEventTarget(WebCore::EventTarget*);
WebDOMEventTarget(const WebDOMEventTarget&);
~WebDOMEventTarget();
WebCore::EventTarget* impl() const;
WebDOMNode toNode();
WebDOMDOMWindow toDOMWindow();
WebDOMXMLHttpRequest toXMLHttpRequest();
WebDOMXMLHttpRequestUpload toXMLHttpRequestUpload();
WebDOMMessagePort toMessagePort();
WebDOMEventSource toEventSource();
WebDOMDOMApplicationCache toDOMApplicationCache();
WebDOMWorker toWorker();
WebDOMDedicatedWorkerContext toDedicatedWorkerContext();
WebDOMSharedWorker toSharedWorker();
WebDOMSharedWorkerContext toSharedWorkerContext();
WebDOMNotification toNotification();
WebDOMWebSocket toWebSocket();
WebDOMEventTarget& operator=(const WebDOMEventTarget&);
protected:
struct WebDOMEventTargetPrivate;
WebDOMEventTargetPrivate* m_impl;
};
WebCore::EventTarget* toWebCore(const WebDOMEventTarget&);
WebDOMEventTarget toWebKit(WebCore::EventTarget*);
#endif