| 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;
|
|
|
|
|