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

Side by Side Diff: ash/screensaver/test_webview.cc

Issue 10191010: Re-implement the screensaver to use WebView instead of ExtensionDialogHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698