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

Unified Diff: content/browser/web_contents/web_contents_view_win.cc

Issue 10409029: Add a factory function to create WebContentsView implementations. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix android Created 8 years, 7 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 | « content/browser/web_contents/web_contents_view_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_view_win.cc
===================================================================
--- content/browser/web_contents/web_contents_view_win.cc (revision 137865)
+++ content/browser/web_contents/web_contents_view_win.cc (working copy)
@@ -21,6 +21,13 @@
using content::WebContents;
using content::WebContentsViewDelegate;
+namespace content {
+WebContentsView* CreateWebContentsView(WebContentsImpl* web_contents,
+ WebContentsViewDelegate* delegate) {
+ return new WebContentsViewWin(web_contents, delegate);
+}
+}
+
namespace {
// We need to have a parent window for the compositing code to work correctly.
« no previous file with comments | « content/browser/web_contents/web_contents_view_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698