summaryrefslogtreecommitdiff
path: root/chromium/third_party/WebKit/public/web/WebLocalFrame.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/public/web/WebLocalFrame.h')
-rw-r--r--chromium/third_party/WebKit/public/web/WebLocalFrame.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/third_party/WebKit/public/web/WebLocalFrame.h b/chromium/third_party/WebKit/public/web/WebLocalFrame.h
index 1300a8e3e1e..07e7717568d 100644
--- a/chromium/third_party/WebKit/public/web/WebLocalFrame.h
+++ b/chromium/third_party/WebKit/public/web/WebLocalFrame.h
@@ -445,6 +445,10 @@ class WebLocalFrame : public WebFrame {
virtual void SetIsolatedWorldHumanReadableName(int world_id,
const WebString&) = 0;
+ // Gets or creates the context of the isolated world
+ // As in requestExecuteScriptInIsolatedWorld: 0 < worldId < EmbedderWorldIdLimit
+ virtual v8::Local<v8::Context> IsolatedWorldScriptContext(int worldID) const = 0;
+
// Logs to the console associated with this frame.
virtual void AddMessageToConsole(const WebConsoleMessage&) = 0;