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

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

Issue 2633253002: Split content script injections into multiple tasks (Closed)
Patch Set: rebase Created 3 years, 9 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/WebScriptExecutionCallback.h
diff --git a/third_party/WebKit/public/web/WebScriptExecutionCallback.h b/third_party/WebKit/public/web/WebScriptExecutionCallback.h
index 77dc14b0d29457770940cd08b835f0d9ecdb2989..7055d6c9bb06c0c45c49235d95e7abfe776430eb 100644
--- a/third_party/WebKit/public/web/WebScriptExecutionCallback.h
+++ b/third_party/WebKit/public/web/WebScriptExecutionCallback.h
@@ -20,6 +20,9 @@ class WebScriptExecutionCallback {
public:
virtual ~WebScriptExecutionCallback() {}
+ // Method to be invoked when the asynchronous script is about to execute.
+ virtual void willExecute() {}
+
// Method to be invoked when the asynchronous script execution is complete.
// After function call all objects in vector will be collected
virtual void completed(const WebVector<v8::Local<v8::Value>>&) {}

Powered by Google App Engine
This is Rietveld 408576698