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

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: move didFinishLoad 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
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3a4769c7123244f905ac29ee05c0dcc60d166ff0..dd93f649c9d8ddcb828d53b1dddfe4d4f3d2eecc 100644
--- a/content/public/renderer/render_frame_observer.h
+++ b/content/public/renderer/render_frame_observer.h
@@ -12,7 +12,9 @@
#include "ipc/ipc_sender.h"
namespace blink {
+class WebDataSource;
class WebFrame;
+class WebURLError;
}
namespace content {
@@ -41,8 +43,14 @@ class CONTENT_EXPORT RenderFrameObserver : public IPC::Listener,
virtual void WebFrameCreated(blink::WebFrame* frame) {}
// These match the Blink API notifications
+ virtual void DidCreateDataSource(blink::WebFrame* frame,
+ blink::WebDataSource* datasource) { }
nasko 2014/01/13 22:55:32 nit: data_source or ds
virtual void DidCommitProvisionalLoad(blink::WebFrame* frame,
bool is_new_navigation) {}
+ virtual void DidStartProvisionalLoad(blink::WebFrame* frame) { }
+ virtual void DidFailProvisionalLoad(blink::WebFrame* frame,
+ const blink::WebURLError& error) { }
+ virtual void DidFinishLoad(blink::WebFrame* frame) { }
// IPC::Listener implementation.
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698