projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git]
/
src
/
content
/
public
/
renderer
/
render_frame_observer.h
diff --git
a/src/content/public/renderer/render_frame_observer.h
b/src/content/public/renderer/render_frame_observer.h
index
ceed692
..
a627479
100644
(file)
--- a/
src/content/public/renderer/render_frame_observer.h
+++ b/
src/content/public/renderer/render_frame_observer.h
@@
-13,6
+13,7
@@
namespace blink {
class WebFrame;
namespace blink {
class WebFrame;
+struct WebURLError;
}
namespace content {
}
namespace content {
@@
-33,8
+34,14
@@
class CONTENT_EXPORT RenderFrameObserver : public IPC::Listener,
// Called when a Pepper plugin is created.
virtual void DidCreatePepperPlugin(RendererPpapiHost* host) {}
// Called when a Pepper plugin is created.
virtual void DidCreatePepperPlugin(RendererPpapiHost* host) {}
+ // Called when a load is explicitly stopped by the user or browser.
+ virtual void OnStop() {}
+
// These match the Blink API notifications
virtual void DidCommitProvisionalLoad(bool is_new_navigation) {}
// 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() {}
// IPC::Listener implementation.
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
// IPC::Listener implementation.
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;