Index: ash/screensaver/test_webview.cc |
diff --git a/ash/screensaver/test_webview.cc b/ash/screensaver/test_webview.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5c4cc4a88a9eea89cb8f029d37a51c8169403d28 |
--- /dev/null |
+++ b/ash/screensaver/test_webview.cc |
@@ -0,0 +1,31 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "ash/screensaver/test_webview.h" |
+ |
+#include "content/test/web_contents_tester.h" |
+ |
+namespace ash { |
+namespace test { |
+ |
+//////////////////////////////////////////////////////////////////////////////// |
+// TestWebView, public: |
+ |
+TestWebView::TestWebView(content::BrowserContext* browser_context) |
+ : views::WebView(browser_context) { |
+} |
+ |
+TestWebView::~TestWebView() { |
+} |
+ |
+content::WebContents* TestWebView::CreateWebContents( |
+ content::BrowserContext* browser_context, |
+ content::SiteInstance* site_instance) { |
+ |
+ return content::WebContentsTester::CreateTestWebContents(browser_context, |
+ site_instance); |
+} |
+ |
+} // namespace test |
+} // namespace ash |