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

Unified Diff: content/renderer/render_frame_impl.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: content/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index cc28f1f41ab015f8dbed479de9a5fb226d4e22dc..283c9e15782ac1e3e6cb7d7a45ac49d10a412d35 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -572,6 +572,7 @@ class CONTENT_EXPORT RenderFrameImpl
void didFinishDocumentLoad(blink::WebLocalFrame* frame) override;
void runScriptsAtDocumentReady(blink::WebLocalFrame* frame,
bool document_is_empty) override;
+ void runScriptsAtDocumentIdle(blink::WebLocalFrame* frame) override;
void didHandleOnloadEvents(blink::WebLocalFrame* frame) override;
void didFailLoad(blink::WebLocalFrame* frame,
const blink::WebURLError& error,

Powered by Google App Engine
This is Rietveld 408576698