summaryrefslogtreecommitdiffstats
path: root/content/public/browser/render_view_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/public/browser/render_view_host.h')
-rw-r--r--content/public/browser/render_view_host.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/public/browser/render_view_host.h b/content/public/browser/render_view_host.h
index a304a67..fb6e852 100644
--- a/content/public/browser/render_view_host.h
+++ b/content/public/browser/render_view_host.h
@@ -42,6 +42,7 @@ struct WebPluginAction;
namespace content {
class ChildProcessSecurityPolicy;
+class RenderFrameHost;
class RenderViewHostDelegate;
class SessionStorageNamespace;
class SiteInstance;
@@ -71,6 +72,9 @@ class CONTENT_EXPORT RenderViewHost : virtual public RenderWidgetHost {
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;