summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/web_contents_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tab_contents/web_contents_view.h')
-rw-r--r--chrome/browser/tab_contents/web_contents_view.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/web_contents_view.h b/chrome/browser/tab_contents/web_contents_view.h
index 309a33d..32246e7 100644
--- a/chrome/browser/tab_contents/web_contents_view.h
+++ b/chrome/browser/tab_contents/web_contents_view.h
@@ -37,6 +37,11 @@ class WebContentsView : public RenderViewHostDelegate::View {
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;