diff options
Diffstat (limited to 'WebCore/dom/EventTarget.h')
-rw-r--r-- | WebCore/dom/EventTarget.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/dom/EventTarget.h b/WebCore/dom/EventTarget.h index 2ededda..6d3cb7c 100644 --- a/WebCore/dom/EventTarget.h +++ b/WebCore/dom/EventTarget.h @@ -43,8 +43,10 @@ namespace WebCore { class DOMWindow; class Event; class EventListener; + class EventSource; class MessagePort; class Node; + class Notification; class SVGElementInstance; class ScriptExecutionContext; class SharedWorker; @@ -57,6 +59,7 @@ namespace WebCore { class EventTarget { public: + virtual EventSource* toEventSource(); virtual MessagePort* toMessagePort(); virtual Node* toNode(); virtual DOMWindow* toDOMWindow(); @@ -78,6 +81,10 @@ namespace WebCore { virtual SharedWorkerContext* toSharedWorkerContext(); #endif +#if ENABLE(NOTIFICATIONS) + virtual Notification* toNotification(); +#endif + virtual ScriptExecutionContext* scriptExecutionContext() const = 0; virtual void addEventListener(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture) = 0; |