Index: content/browser/renderer_host/render_view_host_delegate.h |
=================================================================== |
--- content/browser/renderer_host/render_view_host_delegate.h (revision 115777) |
+++ content/browser/renderer_host/render_view_host_delegate.h (working copy) |
@@ -42,6 +42,7 @@ |
namespace content { |
class BrowserContext; |
+class WebContents; |
struct FileChooserParams; |
struct Referrer; |
struct RendererPreferences; |
@@ -193,9 +194,10 @@ |
virtual const GURL& GetURL() const; |
// Return this object cast to a TabContents, if it is one. If the object is |
- // not a TabContents, returns NULL. DEPRECATED: Be sure to include brettw and |
+ // not a TabContents, returns NULL. DEPRECATED: Be sure to include brettw or |
// jam as reviewers before you use this method. http://crbug.com/82582 |
virtual TabContents* GetAsTabContents(); |
+ virtual content::WebContents* GetAsWebContents(); |
// Return type of RenderView which is attached with this object. |
virtual content::ViewType GetRenderViewType() const = 0; |