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

Unified Diff: public/web/WebRemoteFrame.h

Issue 1331213002: Expose the V8 script context from WebRemoteFrame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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/WebRemoteFrameImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebRemoteFrame.h
diff --git a/public/web/WebRemoteFrame.h b/public/web/WebRemoteFrame.h
index c72c1972e0df0b2eabeb16dc3b5962916e0f51b3..891289c0dd7692a2d99e45371305f2846b746396 100644
--- a/public/web/WebRemoteFrame.h
+++ b/public/web/WebRemoteFrame.h
@@ -44,6 +44,10 @@ public:
virtual void didStartLoading() = 0;
virtual void didStopLoading() = 0;
+ // This method is only temporary, until <webview> is migrated over to
dcheng 2015/09/11 18:10:53 Suggested comment: Temporary method to allow embed
nasko 2015/09/11 18:24:31 Done.
+ // out-of-process iframes. DO NOT USE for anything else.
+ virtual v8::Local<v8::Context> doNotUseMainWorldScriptContext() const = 0;
dcheng 2015/09/11 18:10:53 I suggest naming this deprecatedMainWorldScriptCon
nasko 2015/09/11 18:24:31 Done.
+
protected:
explicit WebRemoteFrame(WebTreeScopeType scope) : WebFrame(scope) { }
};
« no previous file with comments | « Source/web/WebRemoteFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698