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

Side by Side Diff: chrome/test/base/chrome_render_view_test.h

Issue 254473011: Introduce chrome.shell.createWindow stub API for app_shell (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix deps (shell-api) Created 6 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_ 5 #ifndef CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_
6 #define CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_ 6 #define CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/renderer/chrome_mock_render_thread.h" 10 #include "chrome/renderer/chrome_mock_render_thread.h"
11 #include "content/public/test/render_view_test.h" 11 #include "content/public/test/render_view_test.h"
12 12
13 namespace autofill { 13 namespace autofill {
14 class AutofillAgent; 14 class AutofillAgent;
15 class TestPasswordAutofillAgent; 15 class TestPasswordAutofillAgent;
16 class TestPasswordGenerationAgent; 16 class TestPasswordGenerationAgent;
17 } 17 }
18 18
19 namespace extensions {
20 class Dispatcher;
21 }
22
23 class ChromeRenderViewTest : public content::RenderViewTest { 19 class ChromeRenderViewTest : public content::RenderViewTest {
24 public: 20 public:
25 ChromeRenderViewTest(); 21 ChromeRenderViewTest();
26 virtual ~ChromeRenderViewTest(); 22 virtual ~ChromeRenderViewTest();
27 23
28 protected: 24 protected:
29 // testing::Test 25 // testing::Test
30 virtual void SetUp() OVERRIDE; 26 virtual void SetUp() OVERRIDE;
31 virtual void TearDown() OVERRIDE; 27 virtual void TearDown() OVERRIDE;
32 virtual content::ContentClient* CreateContentClient() OVERRIDE; 28 virtual content::ContentClient* CreateContentClient() OVERRIDE;
33 virtual content::ContentBrowserClient* CreateContentBrowserClient() OVERRIDE; 29 virtual content::ContentBrowserClient* CreateContentBrowserClient() OVERRIDE;
34 virtual content::ContentRendererClient* 30 virtual content::ContentRendererClient*
35 CreateContentRendererClient() OVERRIDE; 31 CreateContentRendererClient() OVERRIDE;
36 32
37 extensions::Dispatcher* extension_dispatcher_;
38
39 autofill::TestPasswordAutofillAgent* password_autofill_; 33 autofill::TestPasswordAutofillAgent* password_autofill_;
40 autofill::TestPasswordGenerationAgent* password_generation_; 34 autofill::TestPasswordGenerationAgent* password_generation_;
41 autofill::AutofillAgent* autofill_agent_; 35 autofill::AutofillAgent* autofill_agent_;
42 36
43 // Naked pointer as ownership is with content::RenderViewTest::render_thread_. 37 // Naked pointer as ownership is with content::RenderViewTest::render_thread_.
44 ChromeMockRenderThread* chrome_render_thread_; 38 ChromeMockRenderThread* chrome_render_thread_;
45 }; 39 };
46 40
47 #endif // CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_ 41 #endif // CHROME_TEST_BASE_CHROME_RENDER_VIEW_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698