Chromium Code Reviews| Index: third_party/WebKit/public/web/WebRemoteFrame.h |
| diff --git a/third_party/WebKit/public/web/WebRemoteFrame.h b/third_party/WebKit/public/web/WebRemoteFrame.h |
| index 9f3b4e5254cd958aa857a2edd06f25c46aa0907a..c051d482ecfd6da4988775995a28f57b3443f911 100644 |
| --- a/third_party/WebKit/public/web/WebRemoteFrame.h |
| +++ b/third_party/WebKit/public/web/WebRemoteFrame.h |
| @@ -11,6 +11,10 @@ |
| #include "public/web/WebFrame.h" |
| #include "public/web/WebSandboxFlags.h" |
| +namespace v8 { |
| +class Object; |
|
Yuki
2017/02/14 11:24:38
Did our policy change? We always include v8.h wit
dcheng
2017/02/15 11:08:41
Done (I've seen this written in different ways in
|
| +}; |
| + |
| namespace blink { |
| enum class WebTreeScopeType; |
| @@ -104,7 +108,7 @@ class WebRemoteFrame : public WebFrame { |
| // 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; |
| + virtual v8::Local<v8::Object> globalProxy() const = 0; |
| protected: |
| explicit WebRemoteFrame(WebTreeScopeType scope) : WebFrame(scope) {} |