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

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 5bf558bdb55eb59a54a0fdb1fa37d2ecc475dc43..0e8cebf2052256133a6a74d44225178e3f78fd80 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -397,6 +397,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