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

Unified Diff: third_party/WebKit/public/web/WebLocalFrame.h

Issue 2339683006: [Blink] Modify SuspendableScriptExecutor to take a v8::Function (Closed)
Patch Set: polish Created 4 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
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 dc4815df7ac7cc9a4db735fe1dfab17958392b25..ba2db8fde5600b68e726e0ab602b7b348c1a1729 100644
--- a/third_party/WebKit/public/web/WebLocalFrame.h
+++ b/third_party/WebKit/public/web/WebLocalFrame.h
@@ -182,6 +182,11 @@ public:
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(

Powered by Google App Engine
This is Rietveld 408576698