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

Unified Diff: third_party/WebKit/public/web/WebFrameClient.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/WebFrameClient.h
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
index 5ba3b93a2b85ddd5f22fa2353442e56a32c44043..009ba7f7ea06813b52eafd164babd3e317d28b9e 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -400,6 +400,10 @@ class BLINK_EXPORT WebFrameClient {
virtual void runScriptsAtDocumentReady(WebLocalFrame*, bool documentIsEmpty) {
}
+ // The frame's window.onload event is ready to fire. This method may delay
+ // window.onload by incrementing LoadEventDelayCount.
+ virtual void runScriptsAtDocumentIdle(WebLocalFrame*) {}
+
// The 'load' event was dispatched.
virtual void didHandleOnloadEvents(WebLocalFrame*) {}

Powered by Google App Engine
This is Rietveld 408576698