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

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

Issue 107183002: Move more of the plugin code in the renderer to use RenderFrame instead of RenderView. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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
« no previous file with comments | « content/public/browser/resource_request_info.h ('k') | content/public/renderer/render_frame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents.h
===================================================================
--- content/public/browser/web_contents.h (revision 238847)
+++ content/public/browser/web_contents.h (working copy)
@@ -42,6 +42,7 @@
class BrowserContext;
class InterstitialPage;
class PageState;
+class RenderFrameHost;
class RenderProcessHost;
class RenderViewHost;
class RenderWidgetHostView;
@@ -159,6 +160,9 @@
// these may change over time.
virtual RenderProcessHost* GetRenderProcessHost() const = 0;
+ // Returns the main frame for the currently active view.
+ virtual RenderFrameHost* GetMainFrame() = 0;
+
// Gets the current RenderViewHost for this tab.
virtual RenderViewHost* GetRenderViewHost() const = 0;
« no previous file with comments | « content/public/browser/resource_request_info.h ('k') | content/public/renderer/render_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698