summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/bindings/generic/BindingSecurity.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/bindings/generic/BindingSecurity.h')
-rw-r--r--Source/WebCore/bindings/generic/BindingSecurity.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebCore/bindings/generic/BindingSecurity.h b/Source/WebCore/bindings/generic/BindingSecurity.h
index 99d7f0097..eea1668d1 100644
--- a/Source/WebCore/bindings/generic/BindingSecurity.h
+++ b/Source/WebCore/bindings/generic/BindingSecurity.h
@@ -47,6 +47,7 @@ enum SecurityReportingOption {
class BindingSecurity {
public:
static bool shouldAllowAccessToNode(BindingState*, Node*);
+ static bool shouldAllowAccessToDOMWindow(BindingState*, DOMWindow*, SecurityReportingOption = ReportSecurityError);
static bool shouldAllowAccessToFrame(BindingState*, Frame*, SecurityReportingOption = ReportSecurityError);
static bool allowSettingFrameSrcToJavascriptUrl(BindingState*, HTMLFrameElementBase*, const String& value);
};