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

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

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 #ifndef ASH_SCREENSAVER_TEST_WEBVIEW_H_
6 #define ASH_SCREENSAVER_TEST_WEBVIEW_H_
7 #pragma once
8
9 #include "ui/views/controls/webview/webview.h"
10
11 namespace ash {
12 namespace test {
13
14 class VIEWS_EXPORT TestWebView : public views::WebView {
15 public:
16 explicit TestWebView(content::BrowserContext* browser_context);
17 virtual ~TestWebView();
18
19 // Creates a TestWebContents.
20 virtual content::WebContents* CreateWebContents(
21 content::BrowserContext* browser_context,
22 content::SiteInstance* site_instance) OVERRIDE;
23
24 private:
25 DISALLOW_COPY_AND_ASSIGN(TestWebView);
26 };
27
28 } // namespace test
29 } // namespace ash
30
31 #endif // ASH_SCREENSAVER_TEST_WEBVIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698