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) { } |
}; |