OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "ash/screensaver/test_webview.h" |
| 6 |
| 7 #include "content/test/web_contents_tester.h" |
| 8 |
| 9 namespace ash { |
| 10 namespace test { |
| 11 |
| 12 //////////////////////////////////////////////////////////////////////////////// |
| 13 // TestWebView, public: |
| 14 |
| 15 TestWebView::TestWebView(content::BrowserContext* browser_context) |
| 16 : views::WebView(browser_context) { |
| 17 } |
| 18 |
| 19 TestWebView::~TestWebView() { |
| 20 } |
| 21 |
| 22 content::WebContents* TestWebView::CreateWebContents( |
| 23 content::BrowserContext* browser_context, |
| 24 content::SiteInstance* site_instance) { |
| 25 |
| 26 return content::WebContentsTester::CreateTestWebContents(browser_context, |
| 27 site_instance); |
| 28 } |
| 29 |
| 30 } // namespace test |
| 31 } // namespace ash |
OLD | NEW |