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

Unified Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.h

Issue 2633253002: Split content script injections into multiple tasks (Closed)
Patch Set: Inject document_idle scripts before window.onload Created 3 years, 10 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/Source/web/FrameLoaderClientImpl.h
diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.h b/third_party/WebKit/Source/web/FrameLoaderClientImpl.h
index 7e242e984ca3dc4e32572cd7266b6501e16e523e..8d5675e66a3aeafe0215a13d71ca3d0cf0caab73 100644
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.h
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.h
@@ -64,6 +64,7 @@ class FrameLoaderClientImpl final : public FrameLoaderClient {
void documentElementAvailable() override;
void runScriptsAtDocumentElementAvailable() override;
void runScriptsAtDocumentReady(bool documentIsEmpty) override;
+ void runScriptsAtDocumentIdle() override;
void didCreateScriptContext(v8::Local<v8::Context>,
int worldId) override;

Powered by Google App Engine
This is Rietveld 408576698