Index: chrome/browser/tab_contents/web_contents_view.h |
=================================================================== |
--- chrome/browser/tab_contents/web_contents_view.h (revision 8984) |
+++ chrome/browser/tab_contents/web_contents_view.h (working copy) |
@@ -37,6 +37,11 @@ |
public: |
virtual ~WebContentsView() {} |
+ // Creates the appropriate type of WebContentsView for the current system. |
+ // The return value is a new heap allocated view with ownership passing to |
+ // the caller. |
+ static WebContentsView* Create(WebContents* web_contents); |
+ |
virtual WebContents* GetWebContents() = 0; |
virtual void CreateView() = 0; |