Index: Source/core/dom/ExecutionContextClient.h |
diff --git a/Source/core/dom/ExecutionContextClient.h b/Source/core/dom/ExecutionContextClient.h |
index 2adc833f4be47df9bcd928d72b8d50ff71e0c2d0..87de1ee966ced3bbdb01e28f7f28cecdb932c2af 100644 |
--- a/Source/core/dom/ExecutionContextClient.h |
+++ b/Source/core/dom/ExecutionContextClient.h |
@@ -49,6 +49,9 @@ public: |
virtual bool isDocument() const { return false; } |
virtual bool isWorkerGlobalScope() const { return false; } |
+ virtual bool isDedicatedWorkerGlobalScope() const { return false; } |
+ virtual bool isSharedWorkerGlobalScope() const { return false; } |
+ virtual bool isServiceWorkerGlobalScope() const { return false; } |
virtual bool isJSExecutionForbidden() const = 0; |
virtual LocalDOMWindow* executingWindow() { return 0; } |
virtual String userAgent(const KURL&) const = 0; |