diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-30 21:17:02 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-30 21:17:02 +0000 |
commit | 5ea7794d237835197543c63aafe299a77a766fe2 (patch) | |
tree | c7241dc29447f8278f5bab3e87f196add0756b07 /chrome/browser/tab_contents/web_contents_view.h | |
parent | 272fe599bb86943b64b3b83d99e5bfd6b2531c28 (diff) | |
download | chromium_src-5ea7794d237835197543c63aafe299a77a766fe2.zip chromium_src-5ea7794d237835197543c63aafe299a77a766fe2.tar.gz chromium_src-5ea7794d237835197543c63aafe299a77a766fe2.tar.bz2 |
Random bits of de-Winification for WebContents.
Review URL: http://codereview.chromium.org/19721
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8987 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/web_contents_view.h')
-rw-r--r-- | chrome/browser/tab_contents/web_contents_view.h | 5 |
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; |