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

Unified Diff: third_party/WebKit/public/web/WebFrame.h

Issue 2923053002: Move MainWorldScriptContext accessor/method from WebFrame to WebLocalFrame. (Closed)
Patch Set: . Created 3 years, 6 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: third_party/WebKit/public/web/WebFrame.h
diff --git a/third_party/WebKit/public/web/WebFrame.h b/third_party/WebKit/public/web/WebFrame.h
index 47e76e1e694a666370e76a7be8cec9e3021199c0..a5446a9dd401f45fa08d6b47a229b4e169660131 100644
--- a/third_party/WebKit/public/web/WebFrame.h
+++ b/third_party/WebKit/public/web/WebFrame.h
@@ -41,7 +41,6 @@
#include "public/web/WebTreeScopeType.h"
namespace v8 {
-class Context;
class Function;
class Value;
template <class T>
@@ -277,13 +276,6 @@ class WebFrame {
int argc,
v8::Local<v8::Value> argv[]) = 0;
- // Returns the V8 context for associated with the main world and this
- // frame. There can be many V8 contexts associated with this frame, one for
- // each isolated world and one for the main world. If you don't know what
- // the "main world" or an "isolated world" is, then you probably shouldn't
- // 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*);

Powered by Google App Engine
This is Rietveld 408576698