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

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: Changes based on Daniel's review. 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..c8515073d741ef8af5d9a6d7222910f534f55044 100644
--- a/public/web/WebRemoteFrame.h
+++ b/public/web/WebRemoteFrame.h
@@ -44,6 +44,11 @@ public:
virtual void didStartLoading() = 0;
virtual void didStopLoading() = 0;
+ // Temporary method to allow embedders to get the script context of a
+ // remote frame. This should only be used by legacy code that has not yet
+ // migrated over to the new OOPI infrastructure.
+ virtual v8::Local<v8::Context> deprecatedMainWorldScriptContext() const = 0;
+
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