Index: ui/views/controls/webview/webview.h |
diff --git a/ui/views/controls/webview/webview.h b/ui/views/controls/webview/webview.h |
index 5a73dc967f1677fb904ec300f24f9d8604c3a3f6..de6fa7c418ef69cd730bb04911117dc1c70f5315 100644 |
--- a/ui/views/controls/webview/webview.h |
+++ b/ui/views/controls/webview/webview.h |
@@ -102,6 +102,13 @@ class VIEWS_EXPORT WebView : public View, |
content::RenderViewHost* new_host); |
void WebContentsDestroyed(content::WebContents* web_contents); |
+ // Create a regular or test web contents (based on whether we're running |
+ // in a unit test or not). |
+ content::WebContents* CreateWebContents( |
+ content::BrowserContext* browser_context, |
+ content::SiteInstance* site_instance); |
+ |
+ |
NativeViewHost* wcv_holder_; |
scoped_ptr<content::WebContents> wc_owner_; |
content::WebContents* web_contents_; |
@@ -114,4 +121,4 @@ class VIEWS_EXPORT WebView : public View, |
} // namespace views |
-#endif // UI_VIEWS_CONTROLS_WEBVIEW_WEBVIEW_H_ |
+#endif // UI_VIEWS_CONTROLS_WEBVIEW_WEBVIEW_H_ |