Index: Source/core/dom/ExecutionContextClient.h |
diff --git a/Source/core/dom/ExecutionContextClient.h b/Source/core/dom/ExecutionContextClient.h |
index 64aaef5250b0d8584ed9181e92737cfff79e3fe5..f1362c1efda3c9f0bedbd30f7c77598fdf80b9a7 100644 |
--- a/Source/core/dom/ExecutionContextClient.h |
+++ b/Source/core/dom/ExecutionContextClient.h |
@@ -50,6 +50,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; |