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

Unified Diff: public/web/WebFrame.h

Issue 1235463006: Export BindingSecurity checks via WebFrame (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrame.h
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h
index c99fabbe7fb58ce236a96784720648e20cde3a24..6322079a58b617c91dd89ca5f0f638c92e1cd359 100644
--- a/public/web/WebFrame.h
+++ b/public/web/WebFrame.h
@@ -347,6 +347,12 @@ public:
// be calling this API.
virtual v8::Local<v8::Context> mainWorldScriptContext() const = 0;
+
+ // Returns true if the WebFrame currently executing JavaScript has access
+ // to the given WebFrame, or false otherwise.
+ BLINK_EXPORT static bool scriptCanAccess(WebFrame*);
+
+
// Navigation ----------------------------------------------------------
// Reload the current document.
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698