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

Unified Diff: content/public/renderer/render_frame.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: sync 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
« no previous file with comments | « content/public/renderer/content_renderer_client.cc ('k') | content/public/renderer/render_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/render_frame.h
===================================================================
--- content/public/renderer/render_frame.h (revision 239848)
+++ content/public/renderer/render_frame.h (working copy)
@@ -16,6 +16,7 @@
}
namespace content {
+class RenderView;
struct WebPluginInfo;
// This interface wraps functionality, which is specific to frames, such as
@@ -24,6 +25,9 @@
class CONTENT_EXPORT RenderFrame : public IPC::Listener,
public IPC::Sender {
public:
+ // Returns the RenderView associated with this frame.
+ virtual RenderView* GetRenderView() = 0;
+
// Get the routing ID of the frame.
virtual int GetRoutingID() = 0;
« no previous file with comments | « content/public/renderer/content_renderer_client.cc ('k') | content/public/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698