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

Unified Diff: extensions/renderer/script_injection_manager.h

Issue 1642283002: Deal with frame removal by content scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Push down WeakPtr 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: extensions/renderer/script_injection_manager.h
diff --git a/extensions/renderer/script_injection_manager.h b/extensions/renderer/script_injection_manager.h
index c0f5da82cce9c5fc6ae14f0f30ce72b02a70cd5b..79d9a13db6330f8744d947aa930ba3a50484d151 100644
--- a/extensions/renderer/script_injection_manager.h
+++ b/extensions/renderer/script_injection_manager.h
@@ -38,6 +38,12 @@ class ScriptInjectionManager : public UserScriptSetManager::Observer {
UserScriptSetManager* user_script_set_manager);
virtual ~ScriptInjectionManager();
+ // Called by Dispatcher when the document element has been inserted.
+ void AfterDidCreateDocumentElement(content::RenderFrame* render_frame);
+
+ // Called by Dispatcher when the document DOM is ready.
+ void AfterDidFinishDocumentLoad(content::RenderFrame* render_frame);
+
// Notifies that a new render view has been created.
void OnRenderFrameCreated(content::RenderFrame* render_frame);

Powered by Google App Engine
This is Rietveld 408576698