Chromium Code Reviews| Index: third_party/WebKit/public/web/WebLocalFrame.h |
| diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h |
| index 553d916965df0d038f37410c4fe84fb34e9a112a..69940c6f0432a1a77dcfec87fd7dd47e04b2459d 100644 |
| --- a/third_party/WebKit/public/web/WebLocalFrame.h |
| +++ b/third_party/WebKit/public/web/WebLocalFrame.h |
| @@ -184,11 +184,20 @@ class WebLocalFrame : public WebFrame { |
| // Executes script in the context of the current page and returns the value |
| // that the script evaluated to with callback. Script execution can be |
| // suspend. |
| + // DEPRECATED: Prefer requestExecuteScriptInIsolatedWorld(). |
|
dcheng
2016/10/04 23:55:15
Sorry, I was unclear: I meant WebFrame::callFuncti
|
| virtual void requestExecuteScriptAndReturnValue( |
| const WebScriptSource&, |
| bool userGesture, |
| WebScriptExecutionCallback*) = 0; |
| + // Requests execution of the given function, but allowing for script |
| + // suspension and asynchronous execution. |
| + virtual void requestExecuteV8Function(v8::Local<v8::Function>, |
| + v8::Local<v8::Value> receiver, |
| + int argc, |
| + v8::Local<v8::Value> argv[], |
| + WebScriptExecutionCallback*) = 0; |
| + |
| // worldID must be > 0 (as 0 represents the main world). |
| // worldID must be < EmbedderWorldIdLimit, high number used internally. |
| virtual void requestExecuteScriptInIsolatedWorld( |