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

Unified Diff: Source/bindings/v8/BindingSecurity.h

Issue 219903002: Revert 170347 "Convert HTMLFrameOwnerElement and FocusController..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1917/
Patch Set: Created 6 years, 9 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 | « no previous file | Source/bindings/v8/BindingSecurity.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/BindingSecurity.h
===================================================================
--- Source/bindings/v8/BindingSecurity.h (revision 170478)
+++ Source/bindings/v8/BindingSecurity.h (working copy)
@@ -31,8 +31,6 @@
#ifndef BindingSecurity_h
#define BindingSecurity_h
-// FIXME: The LocalFrame include should not be necessary, clients should be including it where they use it.
-#include "core/frame/LocalFrame.h"
#include "wtf/text/WTFString.h"
#include <v8.h>
@@ -40,6 +38,7 @@
class DOMWindow;
class ExceptionState;
+class LocalFrame;
class Node;
enum SecurityReportingOption {
@@ -50,8 +49,8 @@
class BindingSecurity {
public:
static bool shouldAllowAccessToNode(v8::Isolate*, Node*, ExceptionState&);
- static bool shouldAllowAccessToFrame(v8::Isolate*, Frame*, SecurityReportingOption = ReportSecurityError);
- static bool shouldAllowAccessToFrame(v8::Isolate*, Frame*, ExceptionState&);
+ static bool shouldAllowAccessToFrame(v8::Isolate*, LocalFrame*, SecurityReportingOption = ReportSecurityError);
+ static bool shouldAllowAccessToFrame(v8::Isolate*, LocalFrame*, ExceptionState&);
};
}
« no previous file with comments | « no previous file | Source/bindings/v8/BindingSecurity.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698