| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
| 11 #include "chrome/test/base/test_browser_window.h" | 11 #include "chrome/test/base/test_browser_window.h" |
| 12 #include "chrome/test/base/testing_profile.h" | 12 #include "chrome/test/base/testing_profile.h" |
| 13 #include "content/browser/renderer_host/test_render_view_host.h" | 13 #include "content/browser/renderer_host/test_render_view_host.h" |
| 14 #include "content/test/test_browser_thread.h" | 14 #include "content/test/test_browser_thread.h" |
| 15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
| 16 | 16 |
| 17 class GURL; | 17 class GURL; |
| 18 | 18 |
| 19 #if defined(USE_AURA) | 19 #if defined(USE_AURA) |
| 20 namespace aura { | 20 namespace aura { |
| 21 class RootWindow; |
| 21 namespace test { | 22 namespace test { |
| 22 class TestActivationClient; | 23 class TestActivationClient; |
| 23 class TestStackingClient; | 24 class TestStackingClient; |
| 24 } | 25 } |
| 25 } | 26 } |
| 26 #endif | 27 #endif |
| 27 | 28 |
| 28 namespace content { | 29 namespace content { |
| 29 class NavigationController; | 30 class NavigationController; |
| 30 class WebContents; | 31 class WebContents; |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 content::TestBrowserThread file_user_blocking_thread_; | 118 content::TestBrowserThread file_user_blocking_thread_; |
| 118 | 119 |
| 119 scoped_ptr<TestingProfile> profile_; | 120 scoped_ptr<TestingProfile> profile_; |
| 120 scoped_ptr<TestBrowserWindow> window_; | 121 scoped_ptr<TestBrowserWindow> window_; |
| 121 scoped_ptr<Browser> browser_; | 122 scoped_ptr<Browser> browser_; |
| 122 | 123 |
| 123 MockRenderProcessHostFactory rph_factory_; | 124 MockRenderProcessHostFactory rph_factory_; |
| 124 TestRenderViewHostFactory rvh_factory_; | 125 TestRenderViewHostFactory rvh_factory_; |
| 125 | 126 |
| 126 #if defined(USE_AURA) | 127 #if defined(USE_AURA) |
| 128 scoped_ptr<aura::RootWindow> root_window_; |
| 127 scoped_ptr<aura::test::TestActivationClient> test_activation_client_; | 129 scoped_ptr<aura::test::TestActivationClient> test_activation_client_; |
| 128 scoped_ptr<aura::test::TestStackingClient> test_stacking_client_; | 130 scoped_ptr<aura::test::TestStackingClient> test_stacking_client_; |
| 129 #endif | 131 #endif |
| 130 | 132 |
| 131 DISALLOW_COPY_AND_ASSIGN(BrowserWithTestWindowTest); | 133 DISALLOW_COPY_AND_ASSIGN(BrowserWithTestWindowTest); |
| 132 }; | 134 }; |
| 133 | 135 |
| 134 #endif // CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_ | 136 #endif // CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_ |
| OLD | NEW |