Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2497)

Unified Diff: chrome/browser/tab_contents/web_contents_view.h

Issue 19721: Random bits of de-Winification for WebContents. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/tab_contents/web_contents.cc ('k') | chrome/browser/tab_contents/web_contents_view_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/browser/tab_contents/web_contents.cc ('k') | chrome/browser/tab_contents/web_contents_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698