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

Unified Diff: content/browser/web_contents/web_contents_impl.h

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 | « no previous file | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_impl.h
===================================================================
--- content/browser/web_contents/web_contents_impl.h (revision 137865)
+++ content/browser/web_contents/web_contents_impl.h (working copy)
@@ -35,6 +35,7 @@
class InterstitialPageImpl;
class SavePackage;
class SessionStorageNamespaceImpl;
+class WebContentsImpl;
struct ViewMsg_PostMessage_Params;
namespace content {
@@ -48,7 +49,13 @@
class WebContentsDelegate;
class WebContentsObserver;
class WebContentsView;
+class WebContentsViewDelegate;
struct LoadNotificationDetails;
+
+// Factory function for the implementations that content knows about. Takes
+// ownership of |delegate|.
+WebContentsView* CreateWebContentsView(WebContentsImpl* web_contents,
+ WebContentsViewDelegate* delegate);
}
namespace webkit_glue {
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698