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

Unified Diff: content/public/renderer/render_frame_observer.h

Issue 137463002: RenderFrame: flesh out Observer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Bridge OnStop Created 6 years, 11 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/public/renderer/render_frame_observer.h
diff --git a/content/public/renderer/render_frame_observer.h b/content/public/renderer/render_frame_observer.h
index ceed692a51b89e20f7f63fe9285e013580a10aaf..cd4c15ddf89f39ca0cd20fe5501e322189df997f 100644
--- a/content/public/renderer/render_frame_observer.h
+++ b/content/public/renderer/render_frame_observer.h
@@ -13,6 +13,7 @@
namespace blink {
class WebFrame;
+struct WebURLError;
}
namespace content {
@@ -33,8 +34,15 @@ class CONTENT_EXPORT RenderFrameObserver : public IPC::Listener,
// Called when a Pepper plugin is created.
virtual void DidCreatePepperPlugin(RendererPpapiHost* host) {}
+ // Called when a load is stopped.
nasko 2014/01/28 20:41:39 nit: This is explicitly stopped by the user/browse
Elly Fong-Jones 2014/01/28 21:34:20 Done.
+ virtual void OnStop() {}
+
// These match the Blink API notifications
virtual void DidCommitProvisionalLoad(bool is_new_navigation) {}
+ virtual void DidStartProvisionalLoad() {}
+ virtual void DidFailProvisionalLoad(const blink::WebURLError& error) {}
+ virtual void DidFinishLoad() {}
+ virtual void DidAbortLoad() {}
nasko 2014/01/28 20:41:39 Let's get rid of DidAbortLoad, as it was never in
Elly Fong-Jones 2014/01/28 21:34:20 Done.
// IPC::Listener implementation.
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698