| OLD | NEW |
| 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/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 #if defined(USE_ASH) | 30 #if defined(USE_ASH) |
| 31 namespace ash { | 31 namespace ash { |
| 32 namespace test { | 32 namespace test { |
| 33 class AshTestHelper; | 33 class AshTestHelper; |
| 34 } | 34 } |
| 35 } | 35 } |
| 36 #endif | 36 #endif |
| 37 | 37 |
| 38 #if defined(USE_AURA) | 38 #if defined(USE_AURA) |
| 39 namespace wm { | 39 namespace aura { |
| 40 class WMTestHelper; | 40 namespace test { |
| 41 class AuraTestHelper; |
| 42 } |
| 41 } | 43 } |
| 42 #endif | 44 #endif |
| 43 | 45 |
| 44 #if defined(TOOLKIT_VIEWS) | 46 #if defined(TOOLKIT_VIEWS) |
| 45 namespace views { | 47 namespace views { |
| 46 class ViewsDelegate; | 48 class ViewsDelegate; |
| 47 } | 49 } |
| 48 #endif | 50 #endif |
| 49 | 51 |
| 50 namespace content { | 52 namespace content { |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 scoped_ptr<Browser> browser_; | 182 scoped_ptr<Browser> browser_; |
| 181 | 183 |
| 182 // The existence of this object enables tests via | 184 // The existence of this object enables tests via |
| 183 // RenderViewHostTester. | 185 // RenderViewHostTester. |
| 184 content::RenderViewHostTestEnabler rvh_test_enabler_; | 186 content::RenderViewHostTestEnabler rvh_test_enabler_; |
| 185 | 187 |
| 186 #if defined(USE_ASH) | 188 #if defined(USE_ASH) |
| 187 scoped_ptr<ash::test::AshTestHelper> ash_test_helper_; | 189 scoped_ptr<ash::test::AshTestHelper> ash_test_helper_; |
| 188 #endif | 190 #endif |
| 189 #if defined(USE_AURA) | 191 #if defined(USE_AURA) |
| 190 scoped_ptr<wm::WMTestHelper> wm_test_helper_; | 192 scoped_ptr<aura::test::AuraTestHelper> aura_test_helper_; |
| 191 #endif | 193 #endif |
| 192 | 194 |
| 193 #if defined(TOOLKIT_VIEWS) | 195 #if defined(TOOLKIT_VIEWS) |
| 194 scoped_ptr<views::ViewsDelegate> views_delegate_; | 196 scoped_ptr<views::ViewsDelegate> views_delegate_; |
| 195 #endif | 197 #endif |
| 196 | 198 |
| 197 #if defined(OS_WIN) | 199 #if defined(OS_WIN) |
| 198 ui::ScopedOleInitializer ole_initializer_; | 200 ui::ScopedOleInitializer ole_initializer_; |
| 199 #endif | 201 #endif |
| 200 | 202 |
| 201 // The type of browser to create (tabbed or popup). | 203 // The type of browser to create (tabbed or popup). |
| 202 Browser::Type browser_type_; | 204 Browser::Type browser_type_; |
| 203 | 205 |
| 204 // The desktop to create the initial window on. | 206 // The desktop to create the initial window on. |
| 205 chrome::HostDesktopType host_desktop_type_; | 207 chrome::HostDesktopType host_desktop_type_; |
| 206 | 208 |
| 207 // Whether the browser is part of a hosted app. | 209 // Whether the browser is part of a hosted app. |
| 208 bool hosted_app_; | 210 bool hosted_app_; |
| 209 | 211 |
| 210 DISALLOW_COPY_AND_ASSIGN(BrowserWithTestWindowTest); | 212 DISALLOW_COPY_AND_ASSIGN(BrowserWithTestWindowTest); |
| 211 }; | 213 }; |
| 212 | 214 |
| 213 #endif // CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_ | 215 #endif // CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_ |
| OLD | NEW |