| Index: content/browser/renderer_host/render_view_host_impl.h
|
| diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
|
| index 20caaf5ea73376ab1123eac26d41f84eb9b3c78b..8d629005608c774e401d94a9def22204143a1590 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.h
|
| +++ b/content/browser/renderer_host/render_view_host_impl.h
|
| @@ -354,6 +354,7 @@ class CONTENT_EXPORT RenderViewHostImpl
|
| }
|
|
|
| // RenderWidgetHost public overrides.
|
| + virtual void Init() OVERRIDE;
|
| virtual void Shutdown() OVERRIDE;
|
| virtual bool IsRenderView() const OVERRIDE;
|
| virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
|
| @@ -443,6 +444,12 @@ class CONTENT_EXPORT RenderViewHostImpl
|
| return is_waiting_for_unload_ack_;
|
| }
|
|
|
| + // TODO(nasko): Remove this accessor once RenderFrameHost moves into the frame
|
| + // tree.
|
| + RenderFrameHost* main_render_frame_host() const {
|
| + return main_render_frame_host_.get();
|
| + }
|
| +
|
| // Returns whether the given URL is allowed to commit in the current process.
|
| // This is a more conservative check than FilterURL, since it will be used to
|
| // kill processes that commit unauthorized URLs.
|
|
|