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

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

Issue 2303453003: Revert of Moves ash content specific tests into ash_content_unittests (Closed)
Patch Set: Created 4 years, 3 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
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_BROWSER_WITH_TEST_WINDOW_TEST_H_ 5 #ifndef CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_
6 #define CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_ 6 #define CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_
7 7
8 #include "base/at_exit.h" 8 #include "base/at_exit.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
(...skipping 13 matching lines...) Expand all
24 24
25 #if defined(OS_WIN) 25 #if defined(OS_WIN)
26 #include "ui/base/win/scoped_ole_initializer.h" 26 #include "ui/base/win/scoped_ole_initializer.h"
27 #endif 27 #endif
28 28
29 class GURL; 29 class GURL;
30 30
31 #if defined(OS_CHROMEOS) 31 #if defined(OS_CHROMEOS)
32 namespace ash { 32 namespace ash {
33 namespace test { 33 namespace test {
34 class AshTestEnvironment;
35 class AshTestHelper; 34 class AshTestHelper;
36 } 35 }
37 } 36 }
38 #elif defined(TOOLKIT_VIEWS) 37 #elif defined(TOOLKIT_VIEWS)
39 namespace views { 38 namespace views {
40 class ScopedViewsTestHelper; 39 class ScopedViewsTestHelper;
41 } 40 }
42 #endif 41 #endif
43 42
44 namespace content { 43 namespace content {
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 // frameworks. 164 // frameworks.
166 TestingProfile* profile_; 165 TestingProfile* profile_;
167 std::unique_ptr<BrowserWindow> window_; // Usually a TestBrowserWindow. 166 std::unique_ptr<BrowserWindow> window_; // Usually a TestBrowserWindow.
168 std::unique_ptr<Browser> browser_; 167 std::unique_ptr<Browser> browser_;
169 168
170 // The existence of this object enables tests via 169 // The existence of this object enables tests via
171 // RenderViewHostTester. 170 // RenderViewHostTester.
172 content::RenderViewHostTestEnabler rvh_test_enabler_; 171 content::RenderViewHostTestEnabler rvh_test_enabler_;
173 172
174 #if defined(OS_CHROMEOS) 173 #if defined(OS_CHROMEOS)
175 std::unique_ptr<ash::test::AshTestEnvironment> ash_test_environment_;
176 std::unique_ptr<ash::test::AshTestHelper> ash_test_helper_; 174 std::unique_ptr<ash::test::AshTestHelper> ash_test_helper_;
177 #elif defined(TOOLKIT_VIEWS) 175 #elif defined(TOOLKIT_VIEWS)
178 std::unique_ptr<views::ScopedViewsTestHelper> views_test_helper_; 176 std::unique_ptr<views::ScopedViewsTestHelper> views_test_helper_;
179 #endif 177 #endif
180 178
181 #if defined(OS_WIN) 179 #if defined(OS_WIN)
182 ui::ScopedOleInitializer ole_initializer_; 180 ui::ScopedOleInitializer ole_initializer_;
183 #endif 181 #endif
184 182
185 // The type of browser to create (tabbed or popup). 183 // The type of browser to create (tabbed or popup).
186 Browser::Type browser_type_; 184 Browser::Type browser_type_;
187 185
188 // Whether the browser is part of a hosted app. 186 // Whether the browser is part of a hosted app.
189 bool hosted_app_; 187 bool hosted_app_;
190 188
191 DISALLOW_COPY_AND_ASSIGN(BrowserWithTestWindowTest); 189 DISALLOW_COPY_AND_ASSIGN(BrowserWithTestWindowTest);
192 }; 190 };
193 191
194 #endif // CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_ 192 #endif // CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_
OLDNEW
« no previous file with comments | « chrome/test/base/ash_test_environment_chrome.cc ('k') | chrome/test/base/browser_with_test_window_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698