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

Unified Diff: content/renderer/mojo_bindings_controller.h

Issue 1642283002: Deal with frame removal by content scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Last nits Created 4 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
« no previous file with comments | « content/public/renderer/content_renderer_client.h ('k') | content/renderer/mojo_bindings_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/mojo_bindings_controller.h
diff --git a/content/renderer/mojo_bindings_controller.h b/content/renderer/mojo_bindings_controller.h
index 9d4ac9b9630ade7f4a7ecbc6b1af97ee05d8568d..d26f17a85cf13dcaf546a142696a0c1cfb2fe007 100644
--- a/content/renderer/mojo_bindings_controller.h
+++ b/content/renderer/mojo_bindings_controller.h
@@ -29,6 +29,8 @@ class MojoBindingsController
public RenderFrameObserverTracker<MojoBindingsController> {
public:
MojoBindingsController(RenderFrame* render_frame, bool for_layout_tests);
+ void RunScriptsAtDocumentStart();
+ void RunScriptsAtDocumentReady();
private:
~MojoBindingsController() override;
@@ -40,8 +42,6 @@ class MojoBindingsController
// RenderFrameObserver overrides:
void WillReleaseScriptContext(v8::Local<v8::Context> context,
int world_id) override;
- void DidFinishDocumentLoad() override;
- void DidCreateDocumentElement() override;
void DidClearWindowObject() override;
const bool for_layout_tests_;
« no previous file with comments | « content/public/renderer/content_renderer_client.h ('k') | content/renderer/mojo_bindings_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698