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

Unified Diff: content/browser/web_contents/web_contents_view_android.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
Index: content/browser/web_contents/web_contents_view_android.cc
===================================================================
--- content/browser/web_contents/web_contents_view_android.cc (revision 137865)
+++ content/browser/web_contents/web_contents_view_android.cc (working copy)
@@ -6,7 +6,15 @@
#include "base/logging.h"
#include "content/browser/renderer_host/render_view_host_impl.h"
+#include "content/browser/web_contents/web_contents_impl.h"
+namespace content {
+WebContentsView* CreateWebContentsView(WebContentsImpl* web_contents,
+ WebContentsViewDelegate* delegate) {
+ return new WebContentsViewAndroid(web_contents);
+}
+}
+
WebContentsViewAndroid::WebContentsViewAndroid(
content::WebContents* web_contents)
: web_contents_(web_contents) {
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/browser/web_contents/web_contents_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698