Index: Source/core/dom/ExecutionContext.h |
diff --git a/Source/core/dom/ExecutionContext.h b/Source/core/dom/ExecutionContext.h |
index 854df0c9f5936aa1a52e9bb41c7a47511f8f3bc8..5027b3d6c347783c694007a466390442f14a0e00 100644 |
--- a/Source/core/dom/ExecutionContext.h |
+++ b/Source/core/dom/ExecutionContext.h |
@@ -37,6 +37,7 @@ |
#include "platform/Supplementable.h" |
#include "platform/heap/Handle.h" |
#include "platform/weborigin/KURL.h" |
+#include "platform/weborigin/SecurityOrigin.h" |
#include "wtf/Deque.h" |
#include "wtf/Noncopyable.h" |
#include "wtf/OwnPtr.h" |
@@ -143,6 +144,10 @@ public: |
void enforceStrictMixedContentChecking() { m_strictMixedContentCheckingEnforced = true; } |
bool shouldEnforceStrictMixedContentChecking() const { return m_strictMixedContentCheckingEnforced; } |
+ void enforceSuborigin(const String& name); |
+ bool hasSuborigin() { return securityContext().securityOrigin()->hasSuborigin(); } |
jochen (gone - plz use gerrit)
2015/04/27 19:35:10
if you moved the bodies to the .cc you wouldn't ne
jww
2015/05/30 01:11:07
Done.
|
+ String suboriginName() { return securityContext().securityOrigin()->suboriginName(); } |
+ |
// Methods related to window interaction. It should be used to manage window |
// focusing and window creation permission for an ExecutionContext. |
void allowWindowInteraction(); |