Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1273)

Unified Diff: content/public/browser/render_view_host.h

Issue 138583003: Add back the code to PrerenderManager::PendingSwap to handle RenderViewCreated being called for a... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix clang Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698