Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(626)

Unified Diff: Source/core/dom/ExecutionContextClient.h

Issue 424163002: Enable the WebIDL [Exposed] annotation on an interface's members. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address comments Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698