OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_ |
6 #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_ | 6 #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 25 matching lines...) Expand all Loading... |
36 virtual void DidCreatePepperPlugin(RendererPpapiHost* host) {} | 36 virtual void DidCreatePepperPlugin(RendererPpapiHost* host) {} |
37 | 37 |
38 // Called when a load is explicitly stopped by the user or browser. | 38 // Called when a load is explicitly stopped by the user or browser. |
39 virtual void OnStop() {} | 39 virtual void OnStop() {} |
40 | 40 |
41 // These match the Blink API notifications | 41 // These match the Blink API notifications |
42 virtual void DidCommitProvisionalLoad(bool is_new_navigation) {} | 42 virtual void DidCommitProvisionalLoad(bool is_new_navigation) {} |
43 virtual void DidStartProvisionalLoad() {} | 43 virtual void DidStartProvisionalLoad() {} |
44 virtual void DidFailProvisionalLoad(const blink::WebURLError& error) {} | 44 virtual void DidFailProvisionalLoad(const blink::WebURLError& error) {} |
45 virtual void DidFinishLoad() {} | 45 virtual void DidFinishLoad() {} |
| 46 virtual void DidFinishDocumentLoad() {} |
46 virtual void WillReleaseScriptContext(v8::Handle<v8::Context> context, | 47 virtual void WillReleaseScriptContext(v8::Handle<v8::Context> context, |
47 int world_id) {} | 48 int world_id) {} |
48 virtual void DidClearWindowObject(int world_id) {} | 49 virtual void DidClearWindowObject(int world_id) {} |
49 | 50 |
50 // IPC::Listener implementation. | 51 // IPC::Listener implementation. |
51 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 52 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
52 | 53 |
53 // IPC::Sender implementation. | 54 // IPC::Sender implementation. |
54 virtual bool Send(IPC::Message* message) OVERRIDE; | 55 virtual bool Send(IPC::Message* message) OVERRIDE; |
55 | 56 |
(...skipping 14 matching lines...) Expand all Loading... |
70 RenderFrame* render_frame_; | 71 RenderFrame* render_frame_; |
71 // The routing ID of the associated RenderFrame. | 72 // The routing ID of the associated RenderFrame. |
72 int routing_id_; | 73 int routing_id_; |
73 | 74 |
74 DISALLOW_COPY_AND_ASSIGN(RenderFrameObserver); | 75 DISALLOW_COPY_AND_ASSIGN(RenderFrameObserver); |
75 }; | 76 }; |
76 | 77 |
77 } // namespace content | 78 } // namespace content |
78 | 79 |
79 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_ | 80 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_ |
OLD | NEW |