diff options
Diffstat (limited to 'src/3rdparty/webkit/WebCore/dom/EventTarget.h')
-rw-r--r-- | src/3rdparty/webkit/WebCore/dom/EventTarget.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/3rdparty/webkit/WebCore/dom/EventTarget.h b/src/3rdparty/webkit/WebCore/dom/EventTarget.h index 662902e45f..73a32e3f9f 100644 --- a/src/3rdparty/webkit/WebCore/dom/EventTarget.h +++ b/src/3rdparty/webkit/WebCore/dom/EventTarget.h @@ -36,6 +36,7 @@ namespace WebCore { + class AbstractWorker; class AtomicString; class DOMApplicationCache; class DOMWindow; @@ -45,6 +46,7 @@ namespace WebCore { class Node; class SVGElementInstance; class ScriptExecutionContext; + class SharedWorker; class Worker; class WorkerContext; class XMLHttpRequest; @@ -70,6 +72,10 @@ namespace WebCore { virtual WorkerContext* toWorkerContext(); #endif +#if ENABLE(SHARED_WORKERS) + virtual SharedWorker* toSharedWorker(); +#endif + virtual ScriptExecutionContext* scriptExecutionContext() const = 0; virtual void addEventListener(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture) = 0; |