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

Unified Diff: ash/test/ash_test_views_delegate.cc

Issue 2303453003: Revert of Moves ash content specific tests into ash_content_unittests (Closed)
Patch Set: Created 4 years, 4 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 | « ash/test/ash_test_views_delegate.h ('k') | ash/test/content/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/ash_test_views_delegate.cc
diff --git a/ash/test/ash_test_views_delegate.cc b/ash/test/ash_test_views_delegate.cc
index 5f3f72b97075b02ae9e8634d48f36debcbd8accb..b11da928ecc423fb1bc104543b5986d93ab7bcee 100644
--- a/ash/test/ash_test_views_delegate.cc
+++ b/ash/test/ash_test_views_delegate.cc
@@ -5,6 +5,7 @@
#include "ash/test/ash_test_views_delegate.h"
#include "ash/shell.h"
+#include "content/public/test/web_contents_tester.h"
namespace ash {
namespace test {
@@ -12,6 +13,13 @@
AshTestViewsDelegate::AshTestViewsDelegate() {}
AshTestViewsDelegate::~AshTestViewsDelegate() {}
+
+content::WebContents* AshTestViewsDelegate::CreateWebContents(
+ content::BrowserContext* browser_context,
+ content::SiteInstance* site_instance) {
+ return content::WebContentsTester::CreateTestWebContents(browser_context,
+ site_instance);
+}
void AshTestViewsDelegate::OnBeforeWidgetInit(
views::Widget::InitParams* params,
« no previous file with comments | « ash/test/ash_test_views_delegate.h ('k') | ash/test/content/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698