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

Unified Diff: content/public/renderer/render_view.h

Issue 107893003: Make the renderer-side prerendering code use RenderFrames instead of RenderViews. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: creis review comments Created 7 years 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/renderer/render_view.h
===================================================================
--- content/public/renderer/render_view.h (revision 239602)
+++ content/public/renderer/render_view.h (working copy)
@@ -34,6 +34,7 @@
namespace content {
class ContextMenuClient;
+class RenderFrame;
class RenderViewVisitor;
struct ContextMenuParams;
struct SSLStatus;
@@ -50,6 +51,9 @@
// been closed but not yet destroyed are excluded).
static void ForEach(RenderViewVisitor* visitor);
+ // Returns the main RenderFrame.
+ virtual RenderFrame* GetMainRenderFrame() = 0;
+
// Get the routing ID of the view.
virtual int GetRoutingID() const = 0;

Powered by Google App Engine
This is Rietveld 408576698