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

Side by Side Diff: ui/views/test/webview_test_helper.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: ut fix. 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
« no previous file with comments | « ui/views/test/test_views_delegate.cc ('k') | ui/views/test/webview_test_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 UI_VIEWS_TEST_WEB_VIEW_TEST_HELPER_H_
6 #define UI_VIEWS_TEST_WEB_VIEW_TEST_HELPER_H_
7 #pragma once
8
9 #include "base/memory/scoped_ptr.h"
10
11 class MessageLoopForUI;
12
13 namespace content {
14 class TestContentClientInitializer;
15 class TestBrowserThread;
16 class MockRenderProcessHostFactory;
17 class TestRenderViewHostFactory;
18 } // namespace content
19
20 namespace views {
21
22 class WebViewTestHelper {
23 public:
24 explicit WebViewTestHelper(MessageLoopForUI* ui_loop);
25 virtual ~WebViewTestHelper();
26
27 private:
28 scoped_ptr<content::TestContentClientInitializer>
29 test_content_client_initializer_;
30
31 scoped_ptr<content::TestBrowserThread> ui_thread_;
32
33 scoped_ptr<content::MockRenderProcessHostFactory> rph_factory_;
34 scoped_ptr<content::TestRenderViewHostFactory> rvh_factory_;
35
36 DISALLOW_COPY_AND_ASSIGN(WebViewTestHelper);
37 };
38
39 } // namespace views
40
41 #endif // UI_VIEWS_TEST_WEB_VIEW_TEST_HELPER_H_
OLDNEW
« no previous file with comments | « ui/views/test/test_views_delegate.cc ('k') | ui/views/test/webview_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698