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

Unified Diff: content/browser/mock_content_browser_client.cc

Issue 9700023: Move creation of content TabContentsViews to content so that we can hide these headers through DEPS… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 9 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/mock_content_browser_client.cc
===================================================================
--- content/browser/mock_content_browser_client.cc (revision 126521)
+++ content/browser/mock_content_browser_client.cc (working copy)
@@ -26,11 +26,16 @@
return NULL;
}
-WebContentsView* MockContentBrowserClient::CreateWebContentsView(
+WebContentsView* MockContentBrowserClient::OverrideCreateWebContentsView(
WebContents* web_contents) {
return new TestWebContentsView;
}
+WebContentsViewDelegate* MockContentBrowserClient::GetWebContentsViewDelegate(
+ content::WebContents* web_contents) {
+ return NULL;
+}
+
void MockContentBrowserClient::RenderViewHostCreated(
RenderViewHost* render_view_host) {
}

Powered by Google App Engine
This is Rietveld 408576698