Index: content/public/browser/render_view_host.h |
=================================================================== |
--- content/public/browser/render_view_host.h (revision 244941) |
+++ content/public/browser/render_view_host.h (working copy) |
@@ -42,6 +42,7 @@ |
namespace content { |
class ChildProcessSecurityPolicy; |
+class RenderFrameHost; |
class RenderViewHostDelegate; |
class SessionStorageNamespace; |
class SiteInstance; |
@@ -71,6 +72,9 @@ |
virtual ~RenderViewHost() {} |
+ // Returns the main frame for this render view. |
+ virtual RenderFrameHost* GetMainFrame() = 0; |
+ |
// Tell the render view to enable a set of javascript bindings. The argument |
// should be a combination of values from BindingsPolicy. |
virtual void AllowBindings(int binding_flags) = 0; |