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

Unified Diff: content/renderer/render_frame_impl.h

Issue 1642283002: Deal with frame removal by content scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add more runScriptsAtDocumentElementAvailable + comments Created 4 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 09e743ab5f4d7231dc98894827a028e8b54fa31c..3dd0f3ed36ec6743d477442a505545e83f9f9af5 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -486,6 +486,8 @@ class CONTENT_EXPORT RenderFrameImpl
void didCreateNewDocument(blink::WebLocalFrame* frame) override;
void didClearWindowObject(blink::WebLocalFrame* frame) override;
void didCreateDocumentElement(blink::WebLocalFrame* frame) override;
+ void runScriptsAtDocumentElementAvailable(
+ blink::WebLocalFrame* frame) override;
void didReceiveTitle(blink::WebLocalFrame* frame,
const blink::WebString& title,
blink::WebTextDirection direction) override;
@@ -493,6 +495,7 @@ class CONTENT_EXPORT RenderFrameImpl
blink::WebIconURL::Type icon_type) override;
void didFinishDocumentLoad(blink::WebLocalFrame* frame,
bool document_is_empty) override;
+ void runScriptsAtDocumentReady(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